JiwaAPI

<back to all web services

BillStageGETRequest

Requires Authentication
The following routes are available for this service:
GET/Bills/{BillID}/Stages/{StageID}Retrieves a bill stage.
BillStageGETRequest Parameters:
NameParameterData TypeRequiredDescription
BillIDpathstringNo
StageIDpathstringNo
BillStage Parameters:
NameParameterData TypeRequiredDescription
StageIDformstringNo
ItemNoformint?No
NameformstringNo
RequiredCapacityformdecimal?No
ProductionLineWorkCentreformProductionLineWorkCentreNo
InputsformList<BillInput>No
InstructionsformList<BillInstruction>No
CustomFieldValuesformList<CustomFieldValue>No
ProductionLineWorkCentre Parameters:
NameParameterData TypeRequiredDescription
ProductionLineWorkCentreIDformstringNo
WorkCentreformWorkCentreNo
WorkCentre Parameters:
NameParameterData TypeRequiredDescription
WorkCentreIDformstringNo
NameformstringNo
DescriptionformstringNo
Capacityformdecimal?No
IsEnabledformbool?No
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
BillInstruction Parameters:
NameParameterData TypeRequiredDescription
InstructionIDformstringNo
ItemNoformint?No
InstructionTextformstringNo
CustomFieldValuesformList<CustomFieldValue>No

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.

GET /Bills/{BillID}/Stages/{StageID} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"StageID":"String","ItemNo":0,"Name":"String","RequiredCapacity":0,"ProductionLineWorkCentre":{"ProductionLineWorkCentreID":"String","WorkCentre":{"WorkCentreID":"String","Name":"String","Description":"String","Capacity":0,"IsEnabled":false}},"Inputs":[{"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"}],"Instructions":[{"InstructionID":"String","ItemNo":0,"InstructionText":"String","CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}