| GET | /Queries/PurchaseOrderBackorders | Purchase 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). |
|---|
| 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 | |
| PartNoStartsWith | query | string | No | |
| IN_LogicalID | query | string | No | |
| IN_LogicalIDIn | query | string[] | No | |
| OrderStatus | query | short? | No | |
| OrderSupplierType | query | short? | No | |
| OrderedDateGreaterThanOrEqualTo | query | DateTime? | No | |
| OrderedDateGreaterThan | query | DateTime? | No | |
| OrderedDateLessThan | query | DateTime? | No | |
| OrderedDateLessThanOrEqualTo | query | DateTime? | No | |
| QuantityOutstandingGreaterThanOrEqualTo | 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 | |
| OrderStatus | form | short? | No | |
| OrderSupplierType | form | short? | No | |
| OrderedDate | form | DateTime? | 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 | |
| Description | form | string | No | |
| SupplierPartNo | form | string | No | |
| QuantityOrdered | form | decimal? | No | |
| QuantityReceived | form | decimal? | No | |
| QuantityOutstanding | form | decimal? | No | |
| LastSavedDateTime | form | DateTime? | 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/PurchaseOrderBackorders 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","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"}}}