JiwaAPI

<back to all web services

InventoryOrderLevelPATCHRequest

Requires Authentication
The following routes are available for this service:
PATCH/Inventory/{InventoryID}/OrderLevels/{LogicalWarehouseID}/Periods/{PeriodNo}Updates an order level.
InventoryOrderLevelPATCHRequest Parameters:
NameParameterData TypeRequiredDescription
LogicalWarehouseIDpathstringNo
InventoryIDpathstringNo
PeriodNopathintNo
InventoryOrderLevel Parameters:
NameParameterData TypeRequiredDescription
MonthStartDateformDateTime?No
MonthEndDateformDateTime?No
MinSOHUnitsformdecimal?No
MinSafetySOHUnitsformdecimal?No
MaxSafetySOHUnitsformdecimal?No
LogicalWarehouseIDformstringNo
LogicalWarehouseDescriptionformstringNo
PhysicalWarehouseIDformstringNo
PhysicalWarehouseDescriptionformstringNo
PeriodNoformintNo
InventoryOrderLevel Parameters:
NameParameterData TypeRequiredDescription
MonthStartDateformDateTime?No
MonthEndDateformDateTime?No
MinSOHUnitsformdecimal?No
MinSafetySOHUnitsformdecimal?No
MaxSafetySOHUnitsformdecimal?No
LogicalWarehouseIDformstringNo
LogicalWarehouseDescriptionformstringNo
PhysicalWarehouseIDformstringNo
PhysicalWarehouseDescriptionformstringNo
PeriodNoformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH /Inventory/{InventoryID}/OrderLevels/{LogicalWarehouseID}/Periods/{PeriodNo} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"LogicalWarehouseID":"String","InventoryID":"String","MonthStartDate":"0001-01-01T00:00:00.0000000","MonthEndDate":"0001-01-01T00:00:00.0000000","MinSOHUnits":0,"MinSafetySOHUnits":0,"MaxSafetySOHUnits":0,"LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"MonthStartDate":"0001-01-01T00:00:00.0000000","MonthEndDate":"0001-01-01T00:00:00.0000000","MinSOHUnits":0,"MinSafetySOHUnits":0,"MaxSafetySOHUnits":0,"LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String"}