GET api/{projectID}/OrderList/{userID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectID | integer |
Required |
|
| userID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Order| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId | string |
None. |
|
| orderDate | string |
None. |
|
| orderTotal | decimal number |
None. |
|
| status | string |
None. |
|
| address | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"orderId": "sample string 1",
"orderDate": "sample string 2",
"orderTotal": 3.0,
"status": "sample string 4",
"address": "sample string 5"
},
{
"orderId": "sample string 1",
"orderDate": "sample string 2",
"orderTotal": 3.0,
"status": "sample string 4",
"address": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
<Order>
<address>sample string 5</address>
<orderDate>sample string 2</orderDate>
<orderId>sample string 1</orderId>
<orderTotal>3</orderTotal>
<status>sample string 4</status>
</Order>
<Order>
<address>sample string 5</address>
<orderDate>sample string 2</orderDate>
<orderId>sample string 1</orderId>
<orderTotal>3</orderTotal>
<status>sample string 4</status>
</Order>
</ArrayOfOrder>