POST api/Order/GetOrderList
取得門市訂單列表
Request Information
URI Parameters
None.
Body Parameters
GetOrderListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| one_page_count | integer |
None. |
|
| page_number | integer |
None. |
|
| order_warehouse | string |
None. |
|
| shipping_warehouse | string |
None. |
|
| order_name | string |
None. |
|
| order_cellphone | string |
None. |
|
| start_orderdate | string |
None. |
|
| end_orderdate | string |
None. |
|
| start_senddate | string |
None. |
|
| end_senddate | string |
None. |
|
| only_show_can_modify_order | string |
None. |
|
| staff_code | string |
None. |
|
| encrypted_key | string |
None. |
|
| data_string | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"one_page_count": 1,
"page_number": 2,
"order_warehouse": "sample string 3",
"shipping_warehouse": "sample string 4",
"order_name": "sample string 5",
"order_cellphone": "sample string 6",
"start_orderdate": "sample string 7",
"end_orderdate": "sample string 8",
"start_senddate": "sample string 9",
"end_senddate": "sample string 10",
"only_show_can_modify_order": "sample string 11",
"staff_code": "sample string 12",
"encrypted_key": "sample string 13",
"data_string": "sample string 14"
}
application/xml, text/xml
Sample:
<GetOrderListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject"> <data_string>sample string 14</data_string> <encrypted_key>sample string 13</encrypted_key> <staff_code>sample string 12</staff_code> <end_orderdate>sample string 8</end_orderdate> <end_senddate>sample string 10</end_senddate> <one_page_count>1</one_page_count> <only_show_can_modify_order>sample string 11</only_show_can_modify_order> <order_cellphone>sample string 6</order_cellphone> <order_name>sample string 5</order_name> <order_warehouse>sample string 3</order_warehouse> <page_number>2</page_number> <shipping_warehouse>sample string 4</shipping_warehouse> <start_orderdate>sample string 7</start_orderdate> <start_senddate>sample string 9</start_senddate> </GetOrderListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetOrderListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of OrderAPIDTO |
None. |
|
| total_number_of_pages | integer |
None. |
|
| error_code | integer |
None. |
|
| error_msg | string |
None. |
|
| logs | Collection of string |
None. |
|
| error_logs | Collection of Exception |
None. |
|
| data_string | string |
None. |
|
| dec_request | string |
None. |
|
| dec_response | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"main_order_id": "sample string 1",
"sub_order_id": "sample string 2",
"shipping_warehouse": "sample string 3",
"create_date": "2026-07-16T17:26:19.8354098+08:00",
"order_name": "sample string 5",
"order_cellphone": "sample string 6",
"recipient_name": "sample string 7",
"recipient_cellphone": "sample string 8",
"order_amount": 1.0,
"ten_code": "sample string 9",
"remark": "sample string 10",
"order_date": "2026-07-16T17:26:19.8354098+08:00",
"send_date": "2026-07-16T17:26:19.8354098+08:00"
},
{
"main_order_id": "sample string 1",
"sub_order_id": "sample string 2",
"shipping_warehouse": "sample string 3",
"create_date": "2026-07-16T17:26:19.8354098+08:00",
"order_name": "sample string 5",
"order_cellphone": "sample string 6",
"recipient_name": "sample string 7",
"recipient_cellphone": "sample string 8",
"order_amount": 1.0,
"ten_code": "sample string 9",
"remark": "sample string 10",
"order_date": "2026-07-16T17:26:19.8354098+08:00",
"send_date": "2026-07-16T17:26:19.8354098+08:00"
}
],
"total_number_of_pages": 1,
"error_code": 2,
"error_msg": "sample string 3",
"logs": [
"sample string 1",
"sample string 2"
],
"error_logs": [
{
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
{
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
],
"data_string": "sample string 4",
"dec_request": "sample string 5",
"dec_response": "sample string 6"
}
application/xml, text/xml
Sample:
<GetOrderListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
<data_string>sample string 4</data_string>
<dec_request>sample string 5</dec_request>
<dec_response>sample string 6</dec_response>
<error_code>2</error_code>
<error_logs xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:Exception>
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
<Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</d2p1:Exception>
<d2p1:Exception>
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
<Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</d2p1:Exception>
</error_logs>
<error_msg>sample string 3</error_msg>
<logs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</logs>
<total_number_of_pages>1</total_number_of_pages>
<data>
<OrderAPIDTO>
<create_date>2026-07-16T17:26:19.8354098+08:00</create_date>
<main_order_id>sample string 1</main_order_id>
<order_amount>1</order_amount>
<order_cellphone>sample string 6</order_cellphone>
<order_date>2026-07-16T17:26:19.8354098+08:00</order_date>
<order_name>sample string 5</order_name>
<recipient_cellphone>sample string 8</recipient_cellphone>
<recipient_name>sample string 7</recipient_name>
<remark>sample string 10</remark>
<send_date>2026-07-16T17:26:19.8354098+08:00</send_date>
<shipping_warehouse>sample string 3</shipping_warehouse>
<sub_order_id>sample string 2</sub_order_id>
<ten_code>sample string 9</ten_code>
</OrderAPIDTO>
<OrderAPIDTO>
<create_date>2026-07-16T17:26:19.8354098+08:00</create_date>
<main_order_id>sample string 1</main_order_id>
<order_amount>1</order_amount>
<order_cellphone>sample string 6</order_cellphone>
<order_date>2026-07-16T17:26:19.8354098+08:00</order_date>
<order_name>sample string 5</order_name>
<recipient_cellphone>sample string 8</recipient_cellphone>
<recipient_name>sample string 7</recipient_name>
<remark>sample string 10</remark>
<send_date>2026-07-16T17:26:19.8354098+08:00</send_date>
<shipping_warehouse>sample string 3</shipping_warehouse>
<sub_order_id>sample string 2</sub_order_id>
<ten_code>sample string 9</ten_code>
</OrderAPIDTO>
</data>
</GetOrderListResponse>