Add Document Content

 

This method adds a new document to the MoversSuite Document Library.

 

HTTP Verb/Method:

POST 

URL Format:

http://server/api/documents/{OrderID}/{DocName}?upload=true

Returns:

This method returns an integer that will need to be used in a request using the Add Document Metadata method within the InternalContentID property. 

 

The following table lists the parameters available for this method request.

 

Parameter

Description

OrderID

Enter the primary key of the requested MoversSuite order.

DocName

Enter the name of the document to be added or updated.

 

 

This method stores the content of the document only.  A subsequent request must be processed using the Add Document Metadata method referencing the value returned by this method as the InternalContentID property.

 

This method is not recommended for documents that will be stored outside of the MoversSuite Document Library, such as on a Microsoft SharePoint server or document library system located in the Cloud.