JiwaAPI

<back to all web services

PurchaseOrderReceiptsQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/PurchaseOrderReceiptsOne row per received purchase order line with its order and receipt dates and lead time in days, newest receipt first (AutoQuery: Skip, Take, OrderBy, Include=Total and column filters).
PurchaseOrderReceiptsQuery Parameters:
NameParameterData TypeRequiredDescription
CreditorIDquerystringNo
CreditorIDInquerystring[]No
OrderIDquerystringNo
OrderNoquerystringNo
InventoryIDquerystringNo
InventoryIDInquerystring[]No
PartNoquerystringNo
IN_LogicalIDquerystringNo
ClassificationIDquerystringNo
Category1IDquerystringNo
Category2IDquerystringNo
Category3IDquerystringNo
Category4IDquerystringNo
Category5IDquerystringNo
FirstReceiptDateGreaterThanOrEqualToqueryDateTime?No
FirstReceiptDateGreaterThanqueryDateTime?No
FirstReceiptDateLessThanqueryDateTime?No
FirstReceiptDateLessThanOrEqualToqueryDateTime?No
OrderedDateGreaterThanOrEqualToqueryDateTime?No
OrderedDateLessThanqueryDateTime?No
LeadDaysGreaterThanOrEqualToquerydecimal?No
LeadDaysGreaterThanquerydecimal?No
LeadDaysLessThanquerydecimal?No
LeadDaysLessThanOrEqualToquerydecimal?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
v_TFM_PurchaseOrderReceipts Parameters:
NameParameterData TypeRequiredDescription
OrderLineIDformstringNo
OrderIDformstringNo
OrderNoformstringNo
CreditorIDformstringNo
CreditorAccountNoformstringNo
CreditorNameformstringNo
IN_LogicalIDformstringNo
InventoryIDformstringNo
PartNoformstringNo
ClassificationIDformstringNo
Category1IDformstringNo
Category2IDformstringNo
Category3IDformstringNo
Category4IDformstringNo
Category5IDformstringNo
OrderedDateformDateTime?No
FirstReceiptDateformDateTime?No
LastReceiptDateformDateTime?No
FullReceiptDateformDateTime?No
ReceiptCountformint?No
QuantityOrderedformdecimal?No
QuantityReceivedformdecimal?No
LeadDaysformdecimal?No
FullLeadDaysformdecimal?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/PurchaseOrderReceipts 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","CreditorID":"String","CreditorAccountNo":"String","CreditorName":"String","IN_LogicalID":"String","InventoryID":"String","PartNo":"String","ClassificationID":"String","Category1ID":"String","Category2ID":"String","Category3ID":"String","Category4ID":"String","Category5ID":"String","OrderedDate":"0001-01-01T00:00:00.0000000","FirstReceiptDate":"0001-01-01T00:00:00.0000000","LastReceiptDate":"0001-01-01T00:00:00.0000000","FullReceiptDate":"0001-01-01T00:00:00.0000000","ReceiptCount":0,"QuantityOrdered":0,"QuantityReceived":0,"LeadDays":0,"FullLeadDays":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}