...
Based URL address depends on domain address on which the backend is deployed
Method | URL |
---|---|
POST | {base url}/api/Document/SaveDocument |
Query parameters
Type | Params | Values |
---|---|---|
HEADER | Guid | {GUID obtained from login call} |
BODY | DocumentType | check document type below |
BODY | customerId/supplierId | depends on what type of document select supplier id or client id should be given |
BODY | incidentTypeId | id of the incident type |
BODY | workflowId | id of the workflow |
BODY | orderDate | Date of the order |
BODY | attachedFiles | array of the attachments |
BODY | detailLines | array of the detail lines |
BODY | lineType | line type of the line provided below |
BODY | glAccountId/inventoryItemId | AccountId if the line type is glAccount and inventoryItemId if line type is stk item |
BODY | description | description of the line |
BODY | price | price of the line |
BODY | quantity | quantity of the line |
BODY | taxId | tax id of the line |
Code Block | ||
---|---|---|
| ||
GLAccount = 0 StkItem = 1 |
...