REST API's for document integration to OTM
Summary:
Has anyone successfully used REST APIs for document integration with OTM?
We need to bring shipment-related documents into OTM and want to use REST APIs to upload documents and content instead of the traditional <Document> XML method.
I tried creating a multipart request to create the document first, then upload the document content as described here, but the request fails.
Sample JSON request:
{
"documentGid":"MY_DOMAIN.TEST_DOC_001",
"documentDefGid":"MY_DOMAIN.BILL_OF_LADING",
"description": "Uploaded via Postman REST API",
"isTemplate": "N"
}
Thanks,
Arun
Tagged:
0