GET api/V3/OrderStatus/GetCancelledOrderStatusesAsync?lastRequestId={lastRequestId}
Fetches the 100 next cancelled order status ids after the LastRequestId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lastRequestId |
The last request id after which the order statuses are to be fetched |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
List of cancelled order status ids
Collection of V3.OrderStatusMinName | Description | Type | Additional information |
---|---|---|---|
Id |
Request Id |
integer |
None. |
OrderID |
Order Id (visit or attendance id) |
integer |
None. |
RejectionReason |
Order rejection reason |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "OrderID": 2, "RejectionReason": "sample string 3" }, { "Id": 1, "OrderID": 2, "RejectionReason": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfOrderStatusMin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <OrderStatusMin> <Id>1</Id> <OrderID>2</OrderID> <RejectionReason>sample string 3</RejectionReason> </OrderStatusMin> <OrderStatusMin> <Id>1</Id> <OrderID>2</OrderID> <RejectionReason>sample string 3</RejectionReason> </OrderStatusMin> </ArrayOfOrderStatusMin>