JiwaAPI

<back to all web services

PurchaseOrderBackordersQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/PurchaseOrderBackordersPurchase order lines still to be received: inventory lines of orders not closed with a quantity outstanding, newest order first (AutoQuery: Skip, Take, OrderBy, Include=Total and column filters).
PurchaseOrderBackordersQuery Parameters:
NameParameterData TypeRequiredDescription
CreditorIDquerystringNo
CreditorIDInquerystring[]No
OrderIDquerystringNo
OrderNoquerystringNo
InventoryIDquerystringNo
InventoryIDInquerystring[]No
PartNoquerystringNo
PartNoStartsWithquerystringNo
IN_LogicalIDquerystringNo
IN_LogicalIDInquerystring[]No
OrderStatusqueryshort?No
OrderSupplierTypequeryshort?No
OrderedDateGreaterThanOrEqualToqueryDateTime?No
OrderedDateGreaterThanqueryDateTime?No
OrderedDateLessThanqueryDateTime?No
OrderedDateLessThanOrEqualToqueryDateTime?No
QuantityOutstandingGreaterThanOrEqualToquerydecimal?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
v_TFM_PurchaseOrderBackorders Parameters:
NameParameterData TypeRequiredDescription
OrderLineIDformstringNo
OrderIDformstringNo
OrderNoformstringNo
OrderStatusformshort?No
OrderSupplierTypeformshort?No
OrderedDateformDateTime?No
CreditorIDformstringNo
CreditorAccountNoformstringNo
CreditorNameformstringNo
IN_LogicalIDformstringNo
InventoryIDformstringNo
PartNoformstringNo
DescriptionformstringNo
SupplierPartNoformstringNo
QuantityOrderedformdecimal?No
QuantityReceivedformdecimal?No
QuantityOutstandingformdecimal?No
LastSavedDateTimeformDateTime?No
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/PurchaseOrderBackorders HTTP/1.1 
Host: api.wagga.redpoint.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"OrderLineID":"String","OrderID":"String","OrderNo":"String","OrderStatus":0,"OrderSupplierType":0,"OrderedDate":"0001-01-01T00:00:00.0000000","CreditorID":"String","CreditorAccountNo":"String","CreditorName":"String","IN_LogicalID":"String","InventoryID":"String","PartNo":"String","Description":"String","SupplierPartNo":"String","QuantityOrdered":0,"QuantityReceived":0,"QuantityOutstanding":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}