| GET | /Queries/PurchaseOrderReceipts | One 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). |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CreditorID | query | string | No | |
| CreditorIDIn | query | string[] | No | |
| OrderID | query | string | No | |
| OrderNo | query | string | No | |
| InventoryID | query | string | No | |
| InventoryIDIn | query | string[] | No | |
| PartNo | query | string | No | |
| IN_LogicalID | query | string | No | |
| ClassificationID | query | string | No | |
| Category1ID | query | string | No | |
| Category2ID | query | string | No | |
| Category3ID | query | string | No | |
| Category4ID | query | string | No | |
| Category5ID | query | string | No | |
| FirstReceiptDateGreaterThanOrEqualTo | query | DateTime? | No | |
| FirstReceiptDateGreaterThan | query | DateTime? | No | |
| FirstReceiptDateLessThan | query | DateTime? | No | |
| FirstReceiptDateLessThanOrEqualTo | query | DateTime? | No | |
| OrderedDateGreaterThanOrEqualTo | query | DateTime? | No | |
| OrderedDateLessThan | query | DateTime? | No | |
| LeadDaysGreaterThanOrEqualTo | query | decimal? | No | |
| LeadDaysGreaterThan | query | decimal? | No | |
| LeadDaysLessThan | query | decimal? | No | |
| LeadDaysLessThanOrEqualTo | query | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Skip | form | int? | No | |
| Take | form | int? | No | |
| OrderBy | form | string | No | |
| OrderByDesc | form | string | No | |
| Include | form | string | No | |
| Fields | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderLineID | form | string | No | |
| OrderID | form | string | No | |
| OrderNo | form | string | No | |
| CreditorID | form | string | No | |
| CreditorAccountNo | form | string | No | |
| CreditorName | form | string | No | |
| IN_LogicalID | form | string | No | |
| InventoryID | form | string | No | |
| PartNo | form | string | No | |
| ClassificationID | form | string | No | |
| Category1ID | form | string | No | |
| Category2ID | form | string | No | |
| Category3ID | form | string | No | |
| Category4ID | form | string | No | |
| Category5ID | form | string | No | |
| OrderedDate | form | DateTime? | No | |
| FirstReceiptDate | form | DateTime? | No | |
| LastReceiptDate | form | DateTime? | No | |
| FullReceiptDate | form | DateTime? | No | |
| ReceiptCount | form | int? | No | |
| QuantityOrdered | form | decimal? | No | |
| QuantityReceived | form | decimal? | No | |
| LeadDays | form | decimal? | No | |
| FullLeadDays | form | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Offset | form | int | No | |
| Total | form | int | No | |
| Results | form | List<T> | No | |
| Meta | form | Dictionary<string, string> | No | |
| ResponseStatus | form | ResponseStatus | 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 /Queries/PurchaseOrderReceipts HTTP/1.1 Host: api.redpoint.com.au Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}