POST api/Order/OrderList
Request Information
URI Parameters
None.
Body Parameters
OrderListRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| sessionId | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Page": 1,
"PageSize": 2,
"sessionId": "sample string 3",
"pCode": 4
}
application/xml, text/xml
Sample:
<OrderListRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model.Requst"> <pCode xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">4</pCode> <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 3</sessionId> <Page>1</Page> <PageSize>2</PageSize> </OrderListRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OrderListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of OrderInfo |
None. |
|
| Page | integer |
None. |
|
| Size | integer |
None. |
|
| TotalCount | integer |
None. |
|
| TotalPaged | integer |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"OrderNo": "sample string 1",
"OrderPrice": 2.0,
"CardNo": "sample string 3",
"State": 4,
"UserName": "sample string 5",
"Address": "sample string 6",
"Phone": "sample string 7",
"SupplierGoods": [
{
"SupplierId": 1,
"SupplierName": "sample string 2",
"SupplierImg": "sample string 3",
"ExpressName": "sample string 4",
"ExpressCode": "sample string 5",
"Goods": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
}
],
"State": 6
},
{
"SupplierId": 1,
"SupplierName": "sample string 2",
"SupplierImg": "sample string 3",
"ExpressName": "sample string 4",
"ExpressCode": "sample string 5",
"Goods": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
}
],
"State": 6
}
]
},
{
"OrderNo": "sample string 1",
"OrderPrice": 2.0,
"CardNo": "sample string 3",
"State": 4,
"UserName": "sample string 5",
"Address": "sample string 6",
"Phone": "sample string 7",
"SupplierGoods": [
{
"SupplierId": 1,
"SupplierName": "sample string 2",
"SupplierImg": "sample string 3",
"ExpressName": "sample string 4",
"ExpressCode": "sample string 5",
"Goods": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
}
],
"State": 6
},
{
"SupplierId": 1,
"SupplierName": "sample string 2",
"SupplierImg": "sample string 3",
"ExpressName": "sample string 4",
"ExpressCode": "sample string 5",
"Goods": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Num": 4,
"Price": 5.0,
"Specifications": "sample string 6"
}
],
"State": 6
}
]
}
],
"Page": 1,
"Size": 2,
"TotalCount": 3,
"TotalPaged": 4,
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 6",
"returnUrl": "sample string 7"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.