GET api/{projectID}/PrevOrdersList/{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 PrevOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId | string |
None. |
|
| orderDate | string |
None. |
|
| orderTotal | decimal number |
None. |
|
| status | string |
None. |
|
| listBasket | Collection of PrevBasket |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"orderId": "sample string 1",
"orderDate": "sample string 2",
"orderTotal": 3.0,
"status": "sample string 4",
"listBasket": [
{
"count": 1.0,
"name": "sample string 2"
},
{
"count": 1.0,
"name": "sample string 2"
}
]
},
{
"orderId": "sample string 1",
"orderDate": "sample string 2",
"orderTotal": 3.0,
"status": "sample string 4",
"listBasket": [
{
"count": 1.0,
"name": "sample string 2"
},
{
"count": 1.0,
"name": "sample string 2"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfPrevOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppKobi.WebApi">
<PrevOrder>
<listBasket>
<PrevBasket>
<count>1</count>
<name>sample string 2</name>
</PrevBasket>
<PrevBasket>
<count>1</count>
<name>sample string 2</name>
</PrevBasket>
</listBasket>
<orderDate>sample string 2</orderDate>
<orderId>sample string 1</orderId>
<orderTotal>3</orderTotal>
<status>sample string 4</status>
</PrevOrder>
<PrevOrder>
<listBasket>
<PrevBasket>
<count>1</count>
<name>sample string 2</name>
</PrevBasket>
<PrevBasket>
<count>1</count>
<name>sample string 2</name>
</PrevBasket>
</listBasket>
<orderDate>sample string 2</orderDate>
<orderId>sample string 1</orderId>
<orderTotal>3</orderTotal>
<status>sample string 4</status>
</PrevOrder>
</ArrayOfPrevOrder>