POST api/Order/GetSubOrderReceipt

取得門市副單詳細資料_推播確認 冊子、標準版

Request Information

URI Parameters

None.

Body Parameters

GetOrderReceiptRequest
NameDescriptionTypeAdditional information
order_id

string

None.

member_id

string

None.

isPrint

boolean

None.

encrypted_key

string

None.

data_string

string

None.

Request Formats

application/json, text/json

Sample:
{
  "order_id": "sample string 1",
  "member_id": "sample string 2",
  "isPrint": true,
  "encrypted_key": "sample string 4",
  "data_string": "sample string 5"
}

application/xml, text/xml

Sample:
<GetOrderReceiptRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
  <data_string>sample string 5</data_string>
  <encrypted_key>sample string 4</encrypted_key>
  <isPrint>true</isPrint>
  <member_id>sample string 2</member_id>
  <order_id>sample string 1</order_id>
</GetOrderReceiptRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetSubOrderReceiptResponse
NameDescriptionTypeAdditional information
RADAY

date

None.

contact_phone

string

None.

order_name

string

None.

freight_Total

integer

None.

instruction

string

None.

sub_order

OrderReceiptAPIDTO

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.

UseTCard

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UseTCard": true,
  "RADAY": "2026-07-16T17:27:59.9122614+08:00",
  "contact_phone": "sample string 2",
  "order_name": "sample string 3",
  "freight_Total": 4,
  "instruction": "sample string 5",
  "sub_order": {
    "order_main_id": "sample string 1",
    "order_id": "sample string 2",
    "create_date": "2026-07-16T17:27:59.9132532+08:00",
    "order_date": "2026-07-16T17:27:59.9132532+08:00",
    "shipment_date": "2026-07-16T17:27:59.9132532+08:00",
    "pick_up_store_name": "sample string 5",
    "discount_amount": 1.0,
    "received_amount": 6,
    "shipping_cost": 7,
    "shipping_method": "sample string 8",
    "shipping_method_name": "sample string 9",
    "shipping_url": "sample string 10",
    "deliveryTemperature": "sample string 11",
    "deliveryTemperature_name": "sample string 12",
    "order_status": "sample string 13",
    "order_status_name": "sample string 14",
    "moneypayway_method": "sample string 15",
    "unified_business_number": "sample string 16",
    "product": [
      {
        "product_type": "sample string 1",
        "product_id": "sample string 2",
        "product_name": "sample string 3",
        "sale_price": 4.0,
        "price": 5.0,
        "quantity": 6,
        "amount": 7,
        "fix_amount": 8,
        "unit": "sample string 9",
        "PriceDiskType": "sample string 10",
        "combinatiogiftdetail_content": "sample string 11",
        "img_name": "sample string 12"
      },
      {
        "product_type": "sample string 1",
        "product_id": "sample string 2",
        "product_name": "sample string 3",
        "sale_price": 4.0,
        "price": 5.0,
        "quantity": 6,
        "amount": 7,
        "fix_amount": 8,
        "unit": "sample string 9",
        "PriceDiskType": "sample string 10",
        "combinatiogiftdetail_content": "sample string 11",
        "img_name": "sample string 12"
      }
    ],
    "recipient": {
      "name": "sample string 1",
      "cellPhone": "sample string 2",
      "zip_code": "sample string 3",
      "city_name": "sample string 4",
      "towndown_name": "sample string 5",
      "road": "sample string 6",
      "address": "sample string 7",
      "send_date": "sample string 8",
      "send_time_s": "sample string 9",
      "send_time_e": "sample string 10",
      "remark": "sample string 11",
      "remark2": "sample string 12",
      "remark3": "sample string 13"
    }
  },
  "error_code": 6,
  "error_msg": "sample string 7",
  "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 8",
  "dec_request": "sample string 9",
  "dec_response": "sample string 10"
}

application/xml, text/xml

Sample:
<GetSubOrderReceiptResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
  <data_string>sample string 8</data_string>
  <dec_request>sample string 9</dec_request>
  <dec_response>sample string 10</dec_response>
  <error_code>6</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 7</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>
  <RADAY>2026-07-16T17:27:59.9122614+08:00</RADAY>
  <UseTCard>true</UseTCard>
  <contact_phone>sample string 2</contact_phone>
  <freight_Total>4</freight_Total>
  <instruction>sample string 5</instruction>
  <order_name>sample string 3</order_name>
  <sub_order>
    <create_date>2026-07-16T17:27:59.9132532+08:00</create_date>
    <deliveryTemperature>sample string 11</deliveryTemperature>
    <deliveryTemperature_name>sample string 12</deliveryTemperature_name>
    <discount_amount>1</discount_amount>
    <moneypayway_method>sample string 15</moneypayway_method>
    <order_date>2026-07-16T17:27:59.9132532+08:00</order_date>
    <order_id>sample string 2</order_id>
    <order_main_id>sample string 1</order_main_id>
    <order_status>sample string 13</order_status>
    <order_status_name>sample string 14</order_status_name>
    <pick_up_store_name>sample string 5</pick_up_store_name>
    <product>
      <OrderReceipt_ProductAPIDTO>
        <PriceDiskType>sample string 10</PriceDiskType>
        <amount>7</amount>
        <combinatiogiftdetail_content>sample string 11</combinatiogiftdetail_content>
        <fix_amount>8</fix_amount>
        <img_name>sample string 12</img_name>
        <price>5</price>
        <product_id>sample string 2</product_id>
        <product_name>sample string 3</product_name>
        <product_type>sample string 1</product_type>
        <quantity>6</quantity>
        <sale_price>4</sale_price>
        <unit>sample string 9</unit>
      </OrderReceipt_ProductAPIDTO>
      <OrderReceipt_ProductAPIDTO>
        <PriceDiskType>sample string 10</PriceDiskType>
        <amount>7</amount>
        <combinatiogiftdetail_content>sample string 11</combinatiogiftdetail_content>
        <fix_amount>8</fix_amount>
        <img_name>sample string 12</img_name>
        <price>5</price>
        <product_id>sample string 2</product_id>
        <product_name>sample string 3</product_name>
        <product_type>sample string 1</product_type>
        <quantity>6</quantity>
        <sale_price>4</sale_price>
        <unit>sample string 9</unit>
      </OrderReceipt_ProductAPIDTO>
    </product>
    <received_amount>6</received_amount>
    <recipient>
      <address>sample string 7</address>
      <cellPhone>sample string 2</cellPhone>
      <city_name>sample string 4</city_name>
      <name>sample string 1</name>
      <remark>sample string 11</remark>
      <remark2>sample string 12</remark2>
      <remark3>sample string 13</remark3>
      <road>sample string 6</road>
      <send_date>sample string 8</send_date>
      <send_time_e>sample string 10</send_time_e>
      <send_time_s>sample string 9</send_time_s>
      <towndown_name>sample string 5</towndown_name>
      <zip_code>sample string 3</zip_code>
    </recipient>
    <shipment_date>2026-07-16T17:27:59.9132532+08:00</shipment_date>
    <shipping_cost>7</shipping_cost>
    <shipping_method>sample string 8</shipping_method>
    <shipping_method_name>sample string 9</shipping_method_name>
    <shipping_url>sample string 10</shipping_url>
    <unified_business_number>sample string 16</unified_business_number>
  </sub_order>
</GetSubOrderReceiptResponse>