JiwaAPI

<back to all web services

BM_WorkOrderQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/BM_WorkOrderRetrieves a list of work orders.
BM_WorkOrderQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
WorkOrderNoquerystringNo
WorkOrderNoStartsWithquerystringNo
WorkOrderNoEndsWithquerystringNo
WorkOrderNoContainsquerystringNo
WorkOrderNoLikequerystringNo
WorkOrderNoBetweenquerystring[]No
WorkOrderNoInquerystring[]No
ReferencequerystringNo
ReferenceStartsWithquerystringNo
ReferenceEndsWithquerystringNo
ReferenceContainsquerystringNo
ReferenceLikequerystringNo
ReferenceBetweenquerystring[]No
ReferenceInquerystring[]No
BM_Main_RecIDquerystringNo
BM_Main_RecIDStartsWithquerystringNo
BM_Main_RecIDEndsWithquerystringNo
BM_Main_RecIDContainsquerystringNo
BM_Main_RecIDLikequerystringNo
BM_Main_RecIDBetweenquerystring[]No
BM_Main_RecIDInquerystring[]No
IN_LogicalIDquerystringNo
IN_LogicalIDStartsWithquerystringNo
IN_LogicalIDEndsWithquerystringNo
IN_LogicalIDContainsquerystringNo
IN_LogicalIDLikequerystringNo
IN_LogicalIDBetweenquerystring[]No
IN_LogicalIDInquerystring[]No
DateCreatedqueryDateTime?No
DateCreatedGreaterThanOrEqualToqueryDateTime?No
DateCreatedGreaterThanqueryDateTime?No
DateCreatedLessThanqueryDateTime?No
DateCreatedLessThanOrEqualToqueryDateTime?No
DateCreatedNotEqualToqueryDateTime?No
DateCreatedBetweenqueryDateTime[]No
DateCreatedInqueryDateTime[]No
DateRequiredqueryDateTime?No
DateRequiredGreaterThanOrEqualToqueryDateTime?No
DateRequiredGreaterThanqueryDateTime?No
DateRequiredLessThanqueryDateTime?No
DateRequiredLessThanOrEqualToqueryDateTime?No
DateRequiredNotEqualToqueryDateTime?No
DateRequiredBetweenqueryDateTime[]No
DateRequiredInqueryDateTime[]No
PlannedStartDatequeryDateTime?No
PlannedStartDateGreaterThanOrEqualToqueryDateTime?No
PlannedStartDateGreaterThanqueryDateTime?No
PlannedStartDateLessThanqueryDateTime?No
PlannedStartDateLessThanOrEqualToqueryDateTime?No
PlannedStartDateNotEqualToqueryDateTime?No
PlannedStartDateBetweenqueryDateTime[]No
PlannedStartDateInqueryDateTime[]No
ActualStartDatequeryDateTime?No
ActualStartDateGreaterThanOrEqualToqueryDateTime?No
ActualStartDateGreaterThanqueryDateTime?No
ActualStartDateLessThanqueryDateTime?No
ActualStartDateLessThanOrEqualToqueryDateTime?No
ActualStartDateNotEqualToqueryDateTime?No
ActualStartDateBetweenqueryDateTime[]No
ActualStartDateInqueryDateTime[]No
DateCompletedqueryDateTime?No
DateCompletedGreaterThanOrEqualToqueryDateTime?No
DateCompletedGreaterThanqueryDateTime?No
DateCompletedLessThanqueryDateTime?No
DateCompletedLessThanOrEqualToqueryDateTime?No
DateCompletedNotEqualToqueryDateTime?No
DateCompletedBetweenqueryDateTime[]No
DateCompletedInqueryDateTime[]No
ProductionQuantityquerydecimal?No
ProductionQuantityGreaterThanOrEqualToquerydecimal?No
ProductionQuantityGreaterThanquerydecimal?No
ProductionQuantityLessThanquerydecimal?No
ProductionQuantityLessThanOrEqualToquerydecimal?No
ProductionQuantityNotEqualToquerydecimal?No
ProductionQuantityBetweenquerydecimal[]No
ProductionQuantityInquerydecimal[]No
LastSavedDateTimequeryDateTime?No
LastSavedDateTimeGreaterThanOrEqualToqueryDateTime?No
LastSavedDateTimeGreaterThanqueryDateTime?No
LastSavedDateTimeLessThanqueryDateTime?No
LastSavedDateTimeLessThanOrEqualToqueryDateTime?No
LastSavedDateTimeNotEqualToqueryDateTime?No
LastSavedDateTimeBetweenqueryDateTime[]No
LastSavedDateTimeInqueryDateTime[]No
RowHashquerybyte[]No
BM_WarehouseProductionLine_RecIDquerystringNo
BM_WarehouseProductionLine_RecIDStartsWithquerystringNo
BM_WarehouseProductionLine_RecIDEndsWithquerystringNo
BM_WarehouseProductionLine_RecIDContainsquerystringNo
BM_WarehouseProductionLine_RecIDLikequerystringNo
BM_WarehouseProductionLine_RecIDBetweenquerystring[]No
BM_WarehouseProductionLine_RecIDInquerystring[]No
Statusqueryint?No
StatusGreaterThanOrEqualToqueryint?No
StatusGreaterThanqueryint?No
StatusLessThanqueryint?No
StatusLessThanOrEqualToqueryint?No
StatusNotEqualToqueryint?No
StatusBetweenqueryint[]No
StatusInqueryint[]No
Parent_BM_WorkOrder_RecIDquerystringNo
Parent_BM_WorkOrder_RecIDStartsWithquerystringNo
Parent_BM_WorkOrder_RecIDEndsWithquerystringNo
Parent_BM_WorkOrder_RecIDContainsquerystringNo
Parent_BM_WorkOrder_RecIDLikequerystringNo
Parent_BM_WorkOrder_RecIDBetweenquerystring[]No
Parent_BM_WorkOrder_RecIDInquerystring[]No
Parent_BM_WorkOrderInputs_RecIDquerystringNo
Parent_BM_WorkOrderInputs_RecIDStartsWithquerystringNo
Parent_BM_WorkOrderInputs_RecIDEndsWithquerystringNo
Parent_BM_WorkOrderInputs_RecIDContainsquerystringNo
Parent_BM_WorkOrderInputs_RecIDLikequerystringNo
Parent_BM_WorkOrderInputs_RecIDBetweenquerystring[]No
Parent_BM_WorkOrderInputs_RecIDInquerystring[]No
WorkOrderTypequerybyte?No
WorkOrderTypeGreaterThanOrEqualToquerybyte?No
WorkOrderTypeGreaterThanquerybyte?No
WorkOrderTypeLessThanquerybyte?No
WorkOrderTypeLessThanOrEqualToquerybyte?No
WorkOrderTypeNotEqualToquerybyte?No
WorkOrderTypeBetweenquerybyte[]No
WorkOrderTypeInquerybyte[]No
Reversal_BM_WorkOrder_RecIDquerystringNo
Reversal_BM_WorkOrder_RecIDStartsWithquerystringNo
Reversal_BM_WorkOrder_RecIDEndsWithquerystringNo
Reversal_BM_WorkOrder_RecIDContainsquerystringNo
Reversal_BM_WorkOrder_RecIDLikequerystringNo
Reversal_BM_WorkOrder_RecIDBetweenquerystring[]No
Reversal_BM_WorkOrder_RecIDInquerystring[]No
Migratedquerybool?No
SO_Lines_InvoiceLineIDquerystringNo
SO_Lines_InvoiceLineIDStartsWithquerystringNo
SO_Lines_InvoiceLineIDEndsWithquerystringNo
SO_Lines_InvoiceLineIDContainsquerystringNo
SO_Lines_InvoiceLineIDLikequerystringNo
SO_Lines_InvoiceLineIDBetweenquerystring[]No
SO_Lines_InvoiceLineIDInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
BM_WorkOrder Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
WorkOrderNoformstringNo
ReferenceformstringNo
BM_Main_RecIDformstringNo
IN_LogicalIDformstringNo
DateCreatedformDateTimeNo
DateRequiredformDateTimeNo
PlannedStartDateformDateTimeNo
ActualStartDateformDateTimeNo
DateCompletedformDateTimeNo
ProductionQuantityformdecimalNo
LastSavedDateTimeformDateTimeNo
RowHashformbyte[]No
BM_WarehouseProductionLine_RecIDformstringNo
StatusformintNo
Parent_BM_WorkOrder_RecIDformstringNo
Parent_BM_WorkOrderInputs_RecIDformstringNo
WorkOrderTypeformbyteNo
Reversal_BM_WorkOrder_RecIDformstringNo
Migratedformbool?No
SO_Lines_InvoiceLineIDformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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 /Queries/BM_WorkOrder HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"RecID":"String","WorkOrderNo":"String","Reference":"String","BM_Main_RecID":"String","IN_LogicalID":"String","RowHash":"AA==","BM_WarehouseProductionLine_RecID":"String","Parent_BM_WorkOrder_RecID":"String","Parent_BM_WorkOrderInputs_RecID":"String","Reversal_BM_WorkOrder_RecID":"String","Migrated":false,"SO_Lines_InvoiceLineID":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}