JiwaAPI

<back to all web services

WorkOrderInputWastageLineDetailPUTRequest

Requires Authentication
The following routes are available for this service:
PUT/WorkOrders/{WorkOrderID}/Stages/{StageID}/Inputs/{InputID}/WastageLineDetailsSets the wastage line details for a work order stage input line. Existing wastage line details for that line will be replaced.
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

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.

PUT /WorkOrders/{WorkOrderID}/Stages/{StageID}/Inputs/{InputID}/WastageLineDetails HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

[]
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[{"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"}]}}]