POST v1/Generic/CustomerOrderSummaryList
Return all Orders of a Customer
This is secure method and requires below attributes in header
Authorization: PRC Authorize Token | Authorization: Midnight Authorize Token | |
MISKEY: MIS Key |
Request Information
URI Parameters
None.
Body Parameters
Input Request (CustomerID)
CustomerOrderSummaryListRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerID |
Provide Customer ID |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerID": 1 }
application/xml, text/xml
Sample:
<CustomerOrderSummaryListRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerID>1</CustomerID> </CustomerOrderSummaryListRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Response Formats
application/json, text/json
Sample:
[ { "OrderGUID": "sample string 1", "OrderID": 2, "OrderNumber": "sample string 3", "Name": "sample string 4", "DueDate": "sample string 5" }, { "OrderGUID": "sample string 1", "OrderID": 2, "OrderNumber": "sample string 3", "Name": "sample string 4", "DueDate": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerOrderSummaryListResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerOrderSummaryListResponse> <OrderGUID>sample string 1</OrderGUID> <OrderID>2</OrderID> <OrderNumber>sample string 3</OrderNumber> <Name>sample string 4</Name> <DueDate>sample string 5</DueDate> </CustomerOrderSummaryListResponse> <CustomerOrderSummaryListResponse> <OrderGUID>sample string 1</OrderGUID> <OrderID>2</OrderID> <OrderNumber>sample string 3</OrderNumber> <Name>sample string 4</Name> <DueDate>sample string 5</DueDate> </CustomerOrderSummaryListResponse> </ArrayOfCustomerOrderSummaryListResponse>