POST api/Order/GetAreaStore

取得理貨出貨單位

Request Information

URI Parameters

None.

Body Parameters

GetAreaStoreRequest
NameDescriptionTypeAdditional information
store_id

string

None.

encrypted_key

string

None.

data_string

string

None.

Request Formats

application/json, text/json

Sample:
{
  "store_id": "sample string 1",
  "encrypted_key": "sample string 2",
  "data_string": "sample string 3"
}

application/xml, text/xml

Sample:
<GetAreaStoreRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
  <data_string>sample string 3</data_string>
  <encrypted_key>sample string 2</encrypted_key>
  <store_id>sample string 1</store_id>
</GetAreaStoreRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetAreaStoreResponse
NameDescriptionTypeAdditional information
data

Collection of AreaStoreAPIDTO

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": [
    {
      "areaStore_id": "sample string 1",
      "areaStore_name": "sample string 2"
    },
    {
      "areaStore_id": "sample string 1",
      "areaStore_name": "sample string 2"
    }
  ],
  "error_code": 1,
  "error_msg": "sample string 2",
  "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 3",
  "dec_request": "sample string 4",
  "dec_response": "sample string 5"
}

application/xml, text/xml

Sample:
<GetAreaStoreResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodApi.API_DataTransferObject">
  <data_string>sample string 3</data_string>
  <dec_request>sample string 4</dec_request>
  <dec_response>sample string 5</dec_response>
  <error_code>1</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 2</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>
  <data>
    <AreaStoreAPIDTO>
      <areaStore_id>sample string 1</areaStore_id>
      <areaStore_name>sample string 2</areaStore_name>
    </AreaStoreAPIDTO>
    <AreaStoreAPIDTO>
      <areaStore_id>sample string 1</areaStore_id>
      <areaStore_name>sample string 2</areaStore_name>
    </AreaStoreAPIDTO>
  </data>
</GetAreaStoreResponse>