GET order

Lists all orders of the current Thread.CurrentPrincipal.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Orders
NameDescriptionTypeAdditional information
orders

a collection of orders

Collection of Order

None.

Response Formats

application/json, text/json

Sample:
{
  "orders": [
    {
      "orderid": "29472-2796",
      "ordertimestamp": "2015-06-22T00:00:00",
      "status": "Processing",
      "statustimestamp": "2015-06-22T14:45:12"
    },
    {
      "orderid": "29470-6AA3",
      "ordertimestamp": "2015-06-22T00:00:00",
      "status": "Completed",
      "statustimestamp": "2015-06-22T00:00:00"
    },
    {
      "orderid": "27979-6846 ",
      "ordertimestamp": "2015-04-03T00:00:00",
      "status": "Completed",
      "statustimestamp": "2015-04-03T00:00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<Orders xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OrderList>
    <Order>
      <OrderId>29472-2796</OrderId>
      <OrderTimestamp>2015-06-22T00:00:00</OrderTimestamp>
      <OrderStatus>Processing</OrderStatus>
      <StatusTimestamp>2015-06-22T14:45:12</StatusTimestamp>
    </Order>
    <Order>
      <OrderId>29470-6AA3</OrderId>
      <OrderTimestamp>2015-06-22T00:00:00</OrderTimestamp>
      <OrderStatus>Completed</OrderStatus>
      <StatusTimestamp>2015-06-22T00:00:00</StatusTimestamp>
    </Order>
    <Order>
      <OrderId>27979-6846 </OrderId>
      <OrderTimestamp>2015-04-03T00:00:00</OrderTimestamp>
      <OrderStatus>Completed</OrderStatus>
      <StatusTimestamp>2015-04-03T00:00:00</StatusTimestamp>
    </Order>
  </OrderList>
</Orders>