JiwaAPI

<back to all web services

BillInputPATCHRequest

Requires Authentication
The following routes are available for this service:
PATCH/Bills/{BillID}/Stages/{StageID}/Inputs/{InputID}Updates an input for a bill stage
BillInputPATCHRequest Parameters:
NameParameterData TypeRequiredDescription
BillIDpathstringNo
StageIDpathstringNo
InputIDpathstringNo
BillInput Parameters:
NameParameterData TypeRequiredDescription
InputIDformstringNo
ItemNoformint?No
InventoryIDformstringNo
PartNoformstringNo
DescriptionformstringNo
IsRatioformbool?No
Quantityformdecimal?No
NoteformstringNo
IsBoMItemformbool?No
SubAssemblyBillIDformstringNo
SubAssemblyExplodePolicyformSubAssemblyExplodePolicyOptions?No
CustomFieldValuesformList<CustomFieldValue>No
TotalLineCostformdecimal?No
LastCostformdecimal?No
UnitMeasureformstringNo
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
SettingIDformstringNo
SettingNameformstringNo
ContentsformstringNo
PluginIDformstringNo
PluginNameformstringNo
BillInput Parameters:
NameParameterData TypeRequiredDescription
InputIDformstringNo
ItemNoformint?No
InventoryIDformstringNo
PartNoformstringNo
DescriptionformstringNo
IsRatioformbool?No
Quantityformdecimal?No
NoteformstringNo
IsBoMItemformbool?No
SubAssemblyBillIDformstringNo
SubAssemblyExplodePolicyformSubAssemblyExplodePolicyOptions?No
CustomFieldValuesformList<CustomFieldValue>No
TotalLineCostformdecimal?No
LastCostformdecimal?No
UnitMeasureformstringNo

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 /Bills/{BillID}/Stages/{StageID}/Inputs/{InputID} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"BillID":"String","StageID":"String","InputID":"String","ItemNo":0,"InventoryID":"String","PartNo":"String","Description":"String","IsRatio":false,"Quantity":0,"Note":"String","IsBoMItem":false,"SubAssemblyBillID":"String","SubAssemblyExplodePolicy":"AlwaysExplode","CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"TotalLineCost":0,"LastCost":0,"UnitMeasure":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"InputID":"String","ItemNo":0,"InventoryID":"String","PartNo":"String","Description":"String","IsRatio":false,"Quantity":0,"Note":"String","IsBoMItem":false,"SubAssemblyBillID":"String","SubAssemblyExplodePolicy":"AlwaysExplode","CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"TotalLineCost":0,"LastCost":0,"UnitMeasure":"String"}