GET api/PendingCostings
Retrieve of pending Costing (COG) and Reverse Costing (CGR) items. Provide either the wanted item's code or a last sync date to retrieve any item whose availability was modified since the given date
Request Information
URI Parameters
None.
Body Parameters
PendingCostingsReqName | Description | Type | Additional information |
---|---|---|---|
ItemCode |
The item code. Optional: return all items if not given |
string |
None. |
LastSyncDate |
Retrieve items from documents that were modified since LastSyncDate |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ItemCode": "1250024303093", "LastSyncDate": "2023-01-01T13:30:05" }
Response Information
Resource Description
PendingCostingsResName | Description | Type | Additional information |
---|---|---|---|
msgControl |
Message control - Will contain information about the response |
MsgControl |
None. |
items |
List of items with their remaining costing quantities |
Collection of itemPendingCostings |
None. |
Response Formats
application/json, text/json
Sample:
{ "msgControl": { "result": 0, "Message": "Corresponding success and error message", "MethodName": "api/<Request Name>", "AppName": "EsoftWebApi", "EsoftUser": "Web API", "User": "Username", "Password": "Password", "SystemDate": "2019-12-25T00:00:00", "GenList": [], "GenMsg1": "", "GenMsg2": "", "GenMsg3": "" }, "items": [ { "ItemCode": "1010", "Quantity": 5 }, { "ItemCode": "121010", "Quantity": 50 } ] }