POST api/ITTCApi/ReturnTicketEncrypt

Request Information

URI Parameters

None.

Body Parameters

ReturnTicketEncryptRequest
NameDescriptionTypeAdditional information
ReturnTicketRequest

ReturnTicketRequest

None.

CustomCode

string

None.

CustomSecretID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReturnTicketRequest": {
    "OrderSheetID": "sample string 1",
    "ReturnSheetID": "sample string 2",
    "ReturnModel": "sample string 3",
    "ReturnType": "sample string 4",
    "OrderSheetType": "sample string 5",
    "TicketNo": "sample string 6",
    "TicketNoList": [
      "sample string 1",
      "sample string 2"
    ],
    "TransNO": "sample string 7",
    "ReturnTime": "sample string 8",
    "ReturnTotalAmount": 9,
    "ReturnTotalSum": 10.0,
    "RsValSum": true,
    "IsCtrip": true,
    "product": {
      "ID": "sample string 1",
      "ParentTicketType": "sample string 2",
      "CreateChannelID": "sample string 3",
      "ScenicID": "sample string 4",
      "ParentDeptNo": "sample string 5",
      "TicketType": "sample string 6",
      "PName": "sample string 7",
      "EPName": "sample string 8",
      "DPCode": "sample string 9",
      "DiscountPrice": 10.0,
      "Discount": 11.0,
      "TicketPrice": 12.0,
      "TicketCatagory": "sample string 13",
      "TicketSpecies": "sample string 14",
      "IsDeliveryPay": 15,
      "StartTime": "2021-09-19T04:48:55.7180203+08:00",
      "EndTime": "2021-09-19T04:48:55.7180203+08:00",
      "SeqNo": 18,
      "Memo": "sample string 19",
      "TotayLimit": "sample string 20",
      "IsEnable": 21,
      "Extends1": "sample string 22",
      "Extends2": "sample string 23",
      "Extends3": 24.0,
      "Creater": "sample string 25",
      "CreateTime": "2021-09-19T04:48:55.7180203+08:00",
      "Modifier": "sample string 27",
      "ModifyTime": "2021-09-19T04:48:55.7180203+08:00",
      "Validity": 64,
      "IsPartialRefund": 30,
      "ValidDay": 31,
      "AfterHour": 32,
      "UseBeginDate": "sample string 33",
      "UseEndDate": "sample string 34",
      "ParentDeptId": "sample string 35",
      "ChannelName": "sample string 37",
      "ScenicCity": "sample string 38",
      "ScenicAddress": "sample string 39",
      "DStartTime": "2021-09-19T04:48:55.7180203+08:00",
      "DDiscountPrice": 41.0,
      "DEndTime": "2021-09-19T04:48:55.7180203+08:00",
      "DTicketPrice": 43.0,
      "DistributorID": "sample string 44",
      "DistributorCode": "sample string 45",
      "DistributorName": "sample string 46",
      "ScenicName": "sample string 47"
    },
    "CustomCode": "sample string 13",
    "SignType": "sample string 14",
    "SignString": "sample string 15"
  },
  "CustomCode": "sample string 1",
  "CustomSecretID": "sample string 2"
}

application/xml, text/xml

Sample:
<ReturnTicketEncryptRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Request">
  <CustomCode>sample string 1</CustomCode>
  <CustomSecretID>sample string 2</CustomSecretID>
  <ReturnTicketRequest>
    <CustomCode>sample string 13</CustomCode>
    <SignString>sample string 15</SignString>
    <SignType>sample string 14</SignType>
    <IsCtrip>true</IsCtrip>
    <OrderSheetID>sample string 1</OrderSheetID>
    <OrderSheetType>sample string 5</OrderSheetType>
    <ReturnModel>sample string 3</ReturnModel>
    <ReturnSheetID>sample string 2</ReturnSheetID>
    <ReturnTime>sample string 8</ReturnTime>
    <ReturnTotalAmount>9</ReturnTotalAmount>
    <ReturnTotalSum>10</ReturnTotalSum>
    <ReturnType>sample string 4</ReturnType>
    <RsValSum>true</RsValSum>
    <TicketNo>sample string 6</TicketNo>
    <TicketNoList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </TicketNoList>
    <TransNO>sample string 7</TransNO>
    <product xmlns:d3p1="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Models">
      <d3p1:AfterHour>32</d3p1:AfterHour>
      <d3p1:ChannelName>sample string 37</d3p1:ChannelName>
      <d3p1:CreateChannelID>sample string 3</d3p1:CreateChannelID>
      <d3p1:CreateTime>2021-09-19T04:48:55.7180203+08:00</d3p1:CreateTime>
      <d3p1:Creater>sample string 25</d3p1:Creater>
      <d3p1:DDiscountPrice>41</d3p1:DDiscountPrice>
      <d3p1:DEndTime>2021-09-19T04:48:55.7180203+08:00</d3p1:DEndTime>
      <d3p1:DPCode>sample string 9</d3p1:DPCode>
      <d3p1:DStartTime>2021-09-19T04:48:55.7180203+08:00</d3p1:DStartTime>
      <d3p1:DTicketPrice>43</d3p1:DTicketPrice>
      <d3p1:Discount>11</d3p1:Discount>
      <d3p1:DiscountPrice>10</d3p1:DiscountPrice>
      <d3p1:DistributorCode>sample string 45</d3p1:DistributorCode>
      <d3p1:DistributorID>sample string 44</d3p1:DistributorID>
      <d3p1:DistributorName>sample string 46</d3p1:DistributorName>
      <d3p1:EPName>sample string 8</d3p1:EPName>
      <d3p1:EndTime>2021-09-19T04:48:55.7180203+08:00</d3p1:EndTime>
      <d3p1:Extends1>sample string 22</d3p1:Extends1>
      <d3p1:Extends2>sample string 23</d3p1:Extends2>
      <d3p1:Extends3>24</d3p1:Extends3>
      <d3p1:ID>sample string 1</d3p1:ID>
      <d3p1:IsDeliveryPay>15</d3p1:IsDeliveryPay>
      <d3p1:IsEnable>21</d3p1:IsEnable>
      <d3p1:IsPartialRefund>30</d3p1:IsPartialRefund>
      <d3p1:Memo>sample string 19</d3p1:Memo>
      <d3p1:Modifier>sample string 27</d3p1:Modifier>
      <d3p1:ModifyTime>2021-09-19T04:48:55.7180203+08:00</d3p1:ModifyTime>
      <d3p1:PName>sample string 7</d3p1:PName>
      <d3p1:ParentDeptId>sample string 35</d3p1:ParentDeptId>
      <d3p1:ParentDeptNo>sample string 5</d3p1:ParentDeptNo>
      <d3p1:ParentTicketType>sample string 2</d3p1:ParentTicketType>
      <d3p1:ScenicAddress>sample string 39</d3p1:ScenicAddress>
      <d3p1:ScenicCity>sample string 38</d3p1:ScenicCity>
      <d3p1:ScenicID>sample string 4</d3p1:ScenicID>
      <d3p1:ScenicName>sample string 47</d3p1:ScenicName>
      <d3p1:SeqNo>18</d3p1:SeqNo>
      <d3p1:StartTime>2021-09-19T04:48:55.7180203+08:00</d3p1:StartTime>
      <d3p1:TicketCatagory>sample string 13</d3p1:TicketCatagory>
      <d3p1:TicketPrice>12</d3p1:TicketPrice>
      <d3p1:TicketSpecies>sample string 14</d3p1:TicketSpecies>
      <d3p1:TicketType>sample string 6</d3p1:TicketType>
      <d3p1:TotayLimit>sample string 20</d3p1:TotayLimit>
      <d3p1:UseBeginDate>sample string 33</d3p1:UseBeginDate>
      <d3p1:UseEndDate>sample string 34</d3p1:UseEndDate>
      <d3p1:ValidDay>31</d3p1:ValidDay>
      <d3p1:Validity>64</d3p1:Validity>
    </product>
  </ReturnTicketRequest>
</ReturnTicketEncryptRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TicketUnionCallRequest
NameDescriptionTypeAdditional information
RequestEncryptString

string

None.

FunctionName

string

None.

CustomCode

string

None.

SignType

string

None.

SignString

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestEncryptString": "sample string 1",
  "FunctionName": "sample string 2",
  "CustomCode": "sample string 3",
  "SignType": "sample string 4",
  "SignString": "sample string 5"
}

application/xml, text/xml

Sample:
<TicketUnionCallRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Request">
  <CustomCode>sample string 3</CustomCode>
  <SignString>sample string 5</SignString>
  <SignType>sample string 4</SignType>
  <FunctionName>sample string 2</FunctionName>
  <RequestEncryptString>sample string 1</RequestEncryptString>
</TicketUnionCallRequest>