Inventory Documents

This endpoint supports:

  1. Getting inventory documents filtered by date - returns document without lines because of the potential big data size of document lines

  2. Getting inventory documents including lines - for specific Document ID

  3. Adding new documents - without lines

  4. Adding/Updating lines to specific Document ID (please note to perform first step 3)

  5. Deleting document by Document ID

  6. Deleting document line for specific Document ID

GET https://api.rnetpos.com/dev/inventory/documents

Query Parameters

Name
Type
Description

from_date*

DateTime

MM/dd/yyyy mm:ss:ms

to_date*

DateTime

MM/dd/yyyy mm:ss:ms

id

GUID

Document ID

GET https://api.rnetpos.com/dev/inventory/document_lines

Query Parameters

Name
Type
Description

id*

GUID

Document ID

item_id

GUID

if you want to get specific item

POST https://api.rnetpos.com/dev/inventory/documents

BODY :

{

"StoreID":"d6caa89f-9be0-43ab-b03c-b4536670e26a",

"ToStoreID":"8ddb297a-9dbb-4624-a754-f7b00ba612cb",

"Type":3,

"DocStatus":3,

"Note":"Description"

}

UPSERT by ItemID

POST https://api.rnetpos.com/dev/inventory/document_lines

BODY :

[

{

"DocId":"2fd3153f-f0ff-44cd-8b38-ba54fa350d53",

"ItemID":"58469be7-061e-4bed-be0b-d01c4db5aff3",

"Qty":1.0,

"SentQty":1.0,

"UOMQty":1.0,

"OrderedQty":1.0,

"Type": 5 // 4 is transfered, 5 is recieved, 6 is ordered, 7 is order recomendation)

}

]

DELETE https://api.rnetpos.com/dev/inventory/documents

Query Parameters

Name
Type
Description

id*

GUID

Document ID

Delete single line from document

DELETE https://api.rnetpos.com/dev/inventory/documents_lines

Query Parameters

Name
Type
Description

ID*

GUID

Document ID

ItemID*

GUID

Item ID

Last updated

Was this helpful?