GET | /Bills/{BillID} | Retrieves a bill record. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BillID | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BillID | form | string | No | |
BillNo | form | string | No | |
Description | form | string | No | |
IsEnabled | form | bool? | No | |
MaximumProductionCapability | form | decimal? | No | |
LastSavedDateTime | form | DateTime? | No | |
RowHash | form | byte[] | No | |
Stages | form | List<BillStage> | No | |
Outputs | form | List<BillOutput> | No | |
Documents | form | List<Document> | No | |
CustomFieldValues | form | List<CustomFieldValue> | No | |
Notes | form | List<Note> | No | |
ProductionLine | form | ProductionLine | No | |
BillParents | form | List<BillParent> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StageID | form | string | No | |
ItemNo | form | int? | No | |
Name | form | string | No | |
RequiredCapacity | form | decimal? | No | |
ProductionLineWorkCentre | form | ProductionLineWorkCentre | No | |
Inputs | form | List<BillInput> | No | |
Instructions | form | List<BillInstruction> | No | |
CustomFieldValues | form | List<CustomFieldValue> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProductionLineWorkCentreID | form | string | No | |
WorkCentre | form | WorkCentre | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
WorkCentreID | form | string | No | |
Name | form | string | No | |
Description | form | string | No | |
Capacity | form | decimal? | No | |
IsEnabled | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InputID | form | string | No | |
ItemNo | form | int? | No | |
InventoryID | form | string | No | |
PartNo | form | string | No | |
Description | form | string | No | |
IsRatio | form | bool? | No | |
Quantity | form | decimal? | No | |
Note | form | string | No | |
IsBoMItem | form | bool? | No | |
SubAssemblyBillID | form | string | No | |
SubAssemblyExplodePolicy | form | SubAssemblyExplodePolicyOptions? | No | |
CustomFieldValues | form | List<CustomFieldValue> | No | |
TotalLineCost | form | decimal? | No | |
LastCost | form | decimal? | No | |
UnitMeasure | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SettingID | form | string | No | |
SettingName | form | string | No | |
Contents | form | string | No | |
PluginID | form | string | No | |
PluginName | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InstructionID | form | string | No | |
ItemNo | form | int? | No | |
InstructionText | form | string | No | |
CustomFieldValues | form | List<CustomFieldValue> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OutputID | form | string | No | |
ItemNo | form | int? | No | |
InventoryID | form | string | No | |
PartNo | form | string | No | |
Description | form | string | No | |
IsRatio | form | bool? | No | |
Quantity | form | decimal? | No | |
Note | form | string | No | |
IsPrimary | form | bool? | No | |
CostPercentage | form | decimal? | No | |
Cost | form | decimal? | No | |
LastCost | form | decimal? | No | |
CustomFieldValues | form | List<CustomFieldValue> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentID | form | string | No | |
DocumentType | form | DocumentType | No | |
FileID | form | string | No | |
PhysicalFileName | form | string | No | |
FullPhysicalFileName | form | string | No | |
Description | form | string | No | |
LastSavedDateTime | form | DateTime? | No | |
LastModifiedByStaffID | form | string | No | |
LastModifiedByStaffUsername | form | string | No | |
LastModifiedByStaffTitle | form | string | No | |
LastModifiedByStaffFirstName | form | string | No | |
LastModifiedByStaffSurname | form | string | No | |
FileBinary | form | byte[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentTypeID | form | string | No | |
Description | form | string | No | |
DefaultType | form | bool? | No | |
ItemNo | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
NoteID | form | string | No | |
NoteType | form | NoteType | No | |
LineNo | form | int? | No | |
LastSavedDateTime | form | DateTime? | No | |
LastModifiedByStaffID | form | string | No | |
LastModifiedByStaffUsername | form | string | No | |
LastModifiedByStaffTitle | form | string | No | |
LastModifiedByStaffFirstName | form | string | No | |
LastModifiedByStaffSurname | form | string | No | |
NoteText | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
NoteTypeID | form | string | No | |
Description | form | string | No | |
DefaultType | form | bool? | No | |
ItemNo | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProductionLineID | form | string | No | |
Name | form | string | No | |
Description | form | string | No | |
IsEnabled | form | bool? | No | |
ProductionArea | form | ProductionArea | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProductionAreaID | form | string | No | |
ProductionAreaNo | form | string | No | |
Name | form | string | No | |
Description | form | string | No | |
IsEnabled | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BillID | form | string | No | |
BillNo | form | string | No | |
Description | form | string | 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Bills/{BillID} HTTP/1.1 Host: api.jiwa.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"BillID":"String","BillNo":"String","Description":"String","IsEnabled":false,"MaximumProductionCapability":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","RowHash":"AA==","Stages":[{"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"}]}],"Outputs":[{"OutputID":"String","ItemNo":0,"InventoryID":"String","PartNo":"String","Description":"String","IsRatio":false,"Quantity":0,"Note":"String","IsPrimary":false,"CostPercentage":0,"Cost":0,"LastCost":0,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}],"Documents":[{"DocumentID":"String","DocumentType":{"DocumentTypeID":"String","Description":"String","DefaultType":false,"ItemNo":0},"FileID":"String","PhysicalFileName":"String","FullPhysicalFileName":"String","Description":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastModifiedByStaffID":"String","LastModifiedByStaffUsername":"String","LastModifiedByStaffTitle":"String","LastModifiedByStaffFirstName":"String","LastModifiedByStaffSurname":"String","FileBinary":"AA=="}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"Notes":[{"NoteID":"String","NoteType":{"NoteTypeID":"String","Description":"String","DefaultType":false,"ItemNo":0},"LineNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastModifiedByStaffID":"String","LastModifiedByStaffUsername":"String","LastModifiedByStaffTitle":"String","LastModifiedByStaffFirstName":"String","LastModifiedByStaffSurname":"String","NoteText":"String"}],"ProductionLine":{"ProductionLineID":"String","Name":"String","Description":"String","IsEnabled":false,"ProductionArea":{"ProductionAreaID":"String","ProductionAreaNo":"String","Name":"String","Description":"String","IsEnabled":false}},"BillParents":[{"BillID":"String","BillNo":"String","Description":"String"}]}