POST api/ITTCApi/SubmitOrder

Request Information

URI Parameters

None.

Body Parameters

TencentOrderEntity
NameDescriptionTypeAdditional information
Order

string

None.

ParkCode

string

None.

nonce_str

string

None.

appid

string

None.

sign

string

None.

time_stamp

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Order": "sample string 1",
  "ParkCode": "sample string 2",
  "nonce_str": "sample string 3",
  "appid": "sample string 4",
  "sign": "sample string 5",
  "time_stamp": 6
}

application/xml, text/xml

Sample:
<TencentOrderEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Request.Tencent">
  <appid>sample string 4</appid>
  <nonce_str>sample string 3</nonce_str>
  <sign>sample string 5</sign>
  <time_stamp>6</time_stamp>
  <Order>sample string 1</Order>
  <ParkCode>sample string 2</ParkCode>
</TencentOrderEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TencentOrderInfoResponseEntity
NameDescriptionTypeAdditional information
Order

Collection of TencentOrderResponseEntity

None.

ReturnCode

string

None.

ReturnMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Order": [
    {
      "OrderNO": "sample string 1",
      "OrderID": "sample string 2",
      "TransNO": "sample string 3",
      "ProductCode": "sample string 4",
      "ProductPrice": 5,
      "ProductCount": 6,
      "ProductSDate": "2021-09-19T02:56:29.8886779+08:00",
      "ProductEDate": "2021-09-19T02:56:29.8886779+08:00",
      "ECode": "sample string 9",
      "QRcode": "sample string 10"
    },
    {
      "OrderNO": "sample string 1",
      "OrderID": "sample string 2",
      "TransNO": "sample string 3",
      "ProductCode": "sample string 4",
      "ProductPrice": 5,
      "ProductCount": 6,
      "ProductSDate": "2021-09-19T02:56:29.8886779+08:00",
      "ProductEDate": "2021-09-19T02:56:29.8886779+08:00",
      "ECode": "sample string 9",
      "QRcode": "sample string 10"
    }
  ],
  "ReturnCode": "sample string 1",
  "ReturnMsg": "sample string 2"
}

application/xml, text/xml

Sample:
<TencentOrderInfoResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Response.Tencent">
  <ReturnCode>sample string 1</ReturnCode>
  <ReturnMsg>sample string 2</ReturnMsg>
  <Order>
    <TencentOrderResponseEntity>
      <ECode>sample string 9</ECode>
      <OrderID>sample string 2</OrderID>
      <OrderNO>sample string 1</OrderNO>
      <ProductCode>sample string 4</ProductCode>
      <ProductCount>6</ProductCount>
      <ProductEDate>2021-09-19T02:56:29.8886779+08:00</ProductEDate>
      <ProductPrice>5</ProductPrice>
      <ProductSDate>2021-09-19T02:56:29.8886779+08:00</ProductSDate>
      <QRcode>sample string 10</QRcode>
      <TransNO>sample string 3</TransNO>
    </TencentOrderResponseEntity>
    <TencentOrderResponseEntity>
      <ECode>sample string 9</ECode>
      <OrderID>sample string 2</OrderID>
      <OrderNO>sample string 1</OrderNO>
      <ProductCode>sample string 4</ProductCode>
      <ProductCount>6</ProductCount>
      <ProductEDate>2021-09-19T02:56:29.8886779+08:00</ProductEDate>
      <ProductPrice>5</ProductPrice>
      <ProductSDate>2021-09-19T02:56:29.8886779+08:00</ProductSDate>
      <QRcode>sample string 10</QRcode>
      <TransNO>sample string 3</TransNO>
    </TencentOrderResponseEntity>
  </Order>
</TencentOrderInfoResponseEntity>