Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

HEADERGuid{GUID obtained from login call}
BODYDocumentTypecheck document type below
BODYcustomerId/supplierIddepends on what type of document select supplier id or client id should be given
BODYincidentTypeIdid of the incident type
BODYworkflowIdid of the workflow
BODYorderDateDate of the order
BODYattachedFilesarray of the attachments
BODYdetailLinesarray of the detail lines
BODYlineTypeline type of the line provided below
BODYglAccountId/inventoryItemIdAccountId if the line type is glAccount and inventoryItemId if line type is stk item
BODYdescriptiondescription of the line
BODYpriceprice of the line
BODYquantityquantity of the line
BODYtaxIdtax id of the line





Code Block
title Line type
GLAccount = 0
StkItem = 1

...