JiwaAPI

<back to all web services

WorkOrderOutputPATCHRequest

Requires Authentication
The following routes are available for this service:
PATCH/WorkOrders/{WorkOrderID}/Outputs/{OutputID}Updates a work order output.
WorkOrderOutputPATCHRequest Parameters:
NameParameterData TypeRequiredDescription
WorkOrderIDpathstringNo
OutputIDpathstringNo
WorkOrderOutput Parameters:
NameParameterData TypeRequiredDescription
OutputIDformstringNo
ItemNoformint?No
InventoryIDformstringNo
PartNoformstringNo
DescriptionformstringNo
IsRatioformbool?No
Quantityformdecimal?No
QuantityExpectedformdecimal?No
QuantityWrittenOffformdecimal?No
NoteformstringNo
IsPrimaryformbool?No
CostPercentageformdecimal?No
Costformdecimal?No
LastSavedDateTimeformDateTime?No
LineDetailsformList<InventorySOHLineDetail>No
WastageLineDetailsformList<InventorySOHLineDetail>No
CustomFieldValuesformList<CustomFieldValue>No
InventorySOHLineDetail Parameters:
NameParameterData TypeRequiredDescription
IN_SOH_LinkIDformstringNo
Costformdecimal?No
DateInformDateTime?No
ExpiryDateformDateTime?No
SpecialPriceformdecimal?No
Quantityformdecimal?No
QuantityInformdecimal?No
QuantityLeftformdecimal?No
QuantityAllocatedformdecimal?No
LineDetailIDformstringNo
SerialNoformstringNo
IN_LogicalIDformstringNo
RefformstringNo
HistoryTextformstringNo
SourceIDformstringNo
BinLocationformInventoryBinLocationNo
InventoryBinLocation Parameters:
NameParameterData TypeRequiredDescription
BinLocationIDformstringNo
LogicalWarehouseIDformstringNo
LogicalWarehouseDescriptionformstringNo
PhysicalWarehouseIDformstringNo
PhysicalWarehouseDescriptionformstringNo
DescriptionformstringNo
ShortNameformstringNo
ItemNoformint?No
IsDefaultformbool?No
CustomFieldValuesformList<CustomFieldValue>No
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
SettingIDformstringNo
SettingNameformstringNo
ContentsformstringNo
PluginIDformstringNo
PluginNameformstringNo
WorkOrderOutput Parameters:
NameParameterData TypeRequiredDescription
OutputIDformstringNo
ItemNoformint?No
InventoryIDformstringNo
PartNoformstringNo
DescriptionformstringNo
IsRatioformbool?No
Quantityformdecimal?No
QuantityExpectedformdecimal?No
QuantityWrittenOffformdecimal?No
NoteformstringNo
IsPrimaryformbool?No
CostPercentageformdecimal?No
Costformdecimal?No
LastSavedDateTimeformDateTime?No
LineDetailsformList<InventorySOHLineDetail>No
WastageLineDetailsformList<InventorySOHLineDetail>No
CustomFieldValuesformList<CustomFieldValue>No

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

PATCH /WorkOrders/{WorkOrderID}/Outputs/{OutputID} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"WorkOrderID":"String","OutputID":"String","ItemNo":0,"InventoryID":"String","PartNo":"String","Description":"String","IsRatio":false,"Quantity":0,"QuantityExpected":0,"QuantityWrittenOff":0,"Note":"String","IsPrimary":false,"CostPercentage":0,"Cost":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LineDetails":[{"IN_SOH_LinkID":"String","Cost":0,"DateIn":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","SpecialPrice":0,"Quantity":0,"QuantityIn":0,"QuantityLeft":0,"QuantityAllocated":0,"LineDetailID":"String","SerialNo":"String","IN_LogicalID":"String","Ref":"String","HistoryText":"String","SourceID":"String","BinLocation":{"BinLocationID":"String","LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String","Description":"String","ShortName":"String","ItemNo":0,"IsDefault":false,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}}],"WastageLineDetails":[{"IN_SOH_LinkID":"String","Cost":0,"DateIn":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","SpecialPrice":0,"Quantity":0,"QuantityIn":0,"QuantityLeft":0,"QuantityAllocated":0,"LineDetailID":"String","SerialNo":"String","IN_LogicalID":"String","Ref":"String","HistoryText":"String","SourceID":"String","BinLocation":{"BinLocationID":"String","LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String","Description":"String","ShortName":"String","ItemNo":0,"IsDefault":false,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"OutputID":"String","ItemNo":0,"InventoryID":"String","PartNo":"String","Description":"String","IsRatio":false,"Quantity":0,"QuantityExpected":0,"QuantityWrittenOff":0,"Note":"String","IsPrimary":false,"CostPercentage":0,"Cost":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LineDetails":[{"IN_SOH_LinkID":"String","Cost":0,"DateIn":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","SpecialPrice":0,"Quantity":0,"QuantityIn":0,"QuantityLeft":0,"QuantityAllocated":0,"LineDetailID":"String","SerialNo":"String","IN_LogicalID":"String","Ref":"String","HistoryText":"String","SourceID":"String","BinLocation":{"BinLocationID":"String","LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String","Description":"String","ShortName":"String","ItemNo":0,"IsDefault":false,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}}],"WastageLineDetails":[{"IN_SOH_LinkID":"String","Cost":0,"DateIn":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","SpecialPrice":0,"Quantity":0,"QuantityIn":0,"QuantityLeft":0,"QuantityAllocated":0,"LineDetailID":"String","SerialNo":"String","IN_LogicalID":"String","Ref":"String","HistoryText":"String","SourceID":"String","BinLocation":{"BinLocationID":"String","LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String","Description":"String","ShortName":"String","ItemNo":0,"IsDefault":false,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}