POST api/ITTCApi/MeiTuanGetProduct
Request Information
URI Parameters
None.
Body Parameters
TicketMTProductCallRequestName | Description | Type | Additional information |
---|---|---|---|
body | ProductRequestEntity |
None. |
|
partnerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "body": { "method": "sample string 1", "currentPage": "sample string 2", "pageSize": "sample string 3", "partnerDealIds": [ "sample string 1", "sample string 2" ] }, "partnerId": 1 }
application/xml, text/xml
Sample:
<TicketMTProductCallRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Request.MeiTuan"> <partnerId>1</partnerId> <body> <currentPage>sample string 2</currentPage> <method>sample string 1</method> <pageSize>sample string 3</pageSize> <partnerDealIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </partnerDealIds> </body> </TicketMTProductCallRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TicketMTProductCallResponseName | Description | Type | Additional information |
---|---|---|---|
totalSize | integer |
None. |
|
body | Collection of ProductResponseEntity |
None. |
|
code | integer |
None. |
|
describe | string |
None. |
|
partnerId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "totalSize": 1, "body": [ { "useDateMode": 1, "visitorInfoType": 2, "visitorInfoGroupSize": 3, "visitorInfoRule": { "name": true, "pinyin": true, "mobile": true, "address": true, "email": true, "hkmlp": true, "tlp": true, "mtp": true, "passport": true, "credentials": true }, "autoRefundTime": 4, "refundType": 5, "partlyRefund": true, "refundNote": "sample string 7", "scheduleOnlineTime": "sample string 8", "scheduleOfflineTime": "sample string 9", "servicePhones": [ { "phone": "sample string 1", "startHour": "sample string 2", "startMin": "sample string 3", "endHour": "sample string 4", "endMin": "sample string 5" }, { "phone": "sample string 1", "startHour": "sample string 2", "startMin": "sample string 3", "endHour": "sample string 4", "endMin": "sample string 5" } ], "needTicket": true, "getInAddresses": [ "sample string 1", "sample string 2" ], "getTicketRule": { "effectiveCertificate": true, "voucherLoaders": [ 1, 2 ], "needCertificateSupplement": true, "certificateSupplement": "sample string 3", "needAll": true, "needVoucherSupplement": true, "voucherSupplement": "sample string 6" }, "ticketGetAddress": [ "sample string 1", "sample string 2" ], "orderCancelTime": 11, "otherNote": "sample string 12", "returnVoucher": true, "voucherText": "sample string 14", "getVoucherRule": { "effectiveCertificate": true, "voucherLoaders": [ 1, 2 ], "needCertificateSupplement": true, "certificateSupplement": "sample string 3", "needAll": true, "needVoucherSupplement": true, "voucherSupplement": "sample string 6" }, "stock": 15, "marketPrice": 16.0, "mtPrice": 17.0, "settlementPrice": 18.0, "voucherTimeBegin": 19, "voucherTimeEnd": 20, "voucherTimes": [ { "voucherStartTime": 1, "voucherEndTime": 2, "needVoucherOrGetInTimeSupplement": true, "voucherOrGetInTimeSupplement": "sample string 4" }, { "voucherStartTime": 1, "voucherEndTime": 2, "needVoucherOrGetInTimeSupplement": true, "voucherOrGetInTimeSupplement": "sample string 4" } ], "aheadHoursType": 21, "aheadMinutes": 22, "aheadTimeRules": [ { "aheadHoursType": 1, "aheadMinutes": 2 }, { "aheadHoursType": 1, "aheadMinutes": 2 } ], "title": "sample string 23", "subTitle": "sample string 24", "include": "sample string 25", "exclude": "sample string 26", "partnerId": "sample string 27", "partnerDealId": "sample string 28", "partnerPoiId": "sample string 29", "dealImageInfos": [ { "imageName": "sample string 1", "imageUrl": "sample string 2", "frontImage": true }, { "imageName": "sample string 1", "imageUrl": "sample string 2", "frontImage": true } ], "voucherDateBegin": "sample string 30", "voucherDateEnd": "sample string 31", "validWeekRule": { "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true }, "unavailableDates": [ "sample string 1", "sample string 2" ], "stockMode": 32, "idLimitDayType": "sample string 33", "idLimitUnitType": "sample string 34", "phoneLimitDayType": "sample string 35", "phoneLimitUnitType": "sample string 36", "idLimitDays": 37, "idLimitCount": 38, "phoneLimitDays": 39, "phoneLimitCount": 40, "maxBuyCount": 41, "minBuyCount": 42, "canRefundCurrentDate": true, "hasRefundLimitTime": true, "refundLimitHourFrom": 45, "refundLimitMinuteFrom": 46, "refundLimitHourTo": 47, "refundLimitMinuteTo": 48, "discountCrowds": [ { "crowdId": 1, "crowdName": "sample string 2", "multiLimit": 3 }, { "crowdId": 1, "crowdName": "sample string 2", "multiLimit": 3 } ], "ScheduleInfo": 49 }, { "useDateMode": 1, "visitorInfoType": 2, "visitorInfoGroupSize": 3, "visitorInfoRule": { "name": true, "pinyin": true, "mobile": true, "address": true, "email": true, "hkmlp": true, "tlp": true, "mtp": true, "passport": true, "credentials": true }, "autoRefundTime": 4, "refundType": 5, "partlyRefund": true, "refundNote": "sample string 7", "scheduleOnlineTime": "sample string 8", "scheduleOfflineTime": "sample string 9", "servicePhones": [ { "phone": "sample string 1", "startHour": "sample string 2", "startMin": "sample string 3", "endHour": "sample string 4", "endMin": "sample string 5" }, { "phone": "sample string 1", "startHour": "sample string 2", "startMin": "sample string 3", "endHour": "sample string 4", "endMin": "sample string 5" } ], "needTicket": true, "getInAddresses": [ "sample string 1", "sample string 2" ], "getTicketRule": { "effectiveCertificate": true, "voucherLoaders": [ 1, 2 ], "needCertificateSupplement": true, "certificateSupplement": "sample string 3", "needAll": true, "needVoucherSupplement": true, "voucherSupplement": "sample string 6" }, "ticketGetAddress": [ "sample string 1", "sample string 2" ], "orderCancelTime": 11, "otherNote": "sample string 12", "returnVoucher": true, "voucherText": "sample string 14", "getVoucherRule": { "effectiveCertificate": true, "voucherLoaders": [ 1, 2 ], "needCertificateSupplement": true, "certificateSupplement": "sample string 3", "needAll": true, "needVoucherSupplement": true, "voucherSupplement": "sample string 6" }, "stock": 15, "marketPrice": 16.0, "mtPrice": 17.0, "settlementPrice": 18.0, "voucherTimeBegin": 19, "voucherTimeEnd": 20, "voucherTimes": [ { "voucherStartTime": 1, "voucherEndTime": 2, "needVoucherOrGetInTimeSupplement": true, "voucherOrGetInTimeSupplement": "sample string 4" }, { "voucherStartTime": 1, "voucherEndTime": 2, "needVoucherOrGetInTimeSupplement": true, "voucherOrGetInTimeSupplement": "sample string 4" } ], "aheadHoursType": 21, "aheadMinutes": 22, "aheadTimeRules": [ { "aheadHoursType": 1, "aheadMinutes": 2 }, { "aheadHoursType": 1, "aheadMinutes": 2 } ], "title": "sample string 23", "subTitle": "sample string 24", "include": "sample string 25", "exclude": "sample string 26", "partnerId": "sample string 27", "partnerDealId": "sample string 28", "partnerPoiId": "sample string 29", "dealImageInfos": [ { "imageName": "sample string 1", "imageUrl": "sample string 2", "frontImage": true }, { "imageName": "sample string 1", "imageUrl": "sample string 2", "frontImage": true } ], "voucherDateBegin": "sample string 30", "voucherDateEnd": "sample string 31", "validWeekRule": { "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true }, "unavailableDates": [ "sample string 1", "sample string 2" ], "stockMode": 32, "idLimitDayType": "sample string 33", "idLimitUnitType": "sample string 34", "phoneLimitDayType": "sample string 35", "phoneLimitUnitType": "sample string 36", "idLimitDays": 37, "idLimitCount": 38, "phoneLimitDays": 39, "phoneLimitCount": 40, "maxBuyCount": 41, "minBuyCount": 42, "canRefundCurrentDate": true, "hasRefundLimitTime": true, "refundLimitHourFrom": 45, "refundLimitMinuteFrom": 46, "refundLimitHourTo": 47, "refundLimitMinuteTo": 48, "discountCrowds": [ { "crowdId": 1, "crowdName": "sample string 2", "multiLimit": 3 }, { "crowdId": 1, "crowdName": "sample string 2", "multiLimit": 3 } ], "ScheduleInfo": 49 } ], "code": 2, "describe": "sample string 3", "partnerId": 4 }
application/xml, text/xml
Sample:
<TicketMTProductCallResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Response.MeiTuan"> <code>2</code> <describe>sample string 3</describe> <partnerId>4</partnerId> <body> <ProductResponseEntity> <ScheduleInfo>49</ScheduleInfo> <aheadHoursType>21</aheadHoursType> <aheadMinutes>22</aheadMinutes> <aheadTimeRules> <AheadTimeRule> <aheadHoursType>1</aheadHoursType> <aheadMinutes>2</aheadMinutes> </AheadTimeRule> <AheadTimeRule> <aheadHoursType>1</aheadHoursType> <aheadMinutes>2</aheadMinutes> </AheadTimeRule> </aheadTimeRules> <autoRefundTime>4</autoRefundTime> <canRefundCurrentDate>true</canRefundCurrentDate> <dealImageInfos> <DealImageInfo> <frontImage>true</frontImage> <imageName>sample string 1</imageName> <imageUrl>sample string 2</imageUrl> </DealImageInfo> <DealImageInfo> <frontImage>true</frontImage> <imageName>sample string 1</imageName> <imageUrl>sample string 2</imageUrl> </DealImageInfo> </dealImageInfos> <discountCrowds> <DiscountCrowd> <crowdId>1</crowdId> <crowdName>sample string 2</crowdName> <multiLimit>3</multiLimit> </DiscountCrowd> <DiscountCrowd> <crowdId>1</crowdId> <crowdName>sample string 2</crowdName> <multiLimit>3</multiLimit> </DiscountCrowd> </discountCrowds> <exclude>sample string 26</exclude> <getInAddresses xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </getInAddresses> <getTicketRule> <certificateSupplement>sample string 3</certificateSupplement> <effectiveCertificate>true</effectiveCertificate> <needAll>true</needAll> <needCertificateSupplement>true</needCertificateSupplement> <needVoucherSupplement>true</needVoucherSupplement> <voucherLoaders xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </voucherLoaders> <voucherSupplement>sample string 6</voucherSupplement> </getTicketRule> <getVoucherRule> <certificateSupplement>sample string 3</certificateSupplement> <effectiveCertificate>true</effectiveCertificate> <needAll>true</needAll> <needCertificateSupplement>true</needCertificateSupplement> <needVoucherSupplement>true</needVoucherSupplement> <voucherLoaders xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </voucherLoaders> <voucherSupplement>sample string 6</voucherSupplement> </getVoucherRule> <hasRefundLimitTime>true</hasRefundLimitTime> <idLimitCount>38</idLimitCount> <idLimitDayType>sample string 33</idLimitDayType> <idLimitDays>37</idLimitDays> <idLimitUnitType>sample string 34</idLimitUnitType> <include>sample string 25</include> <marketPrice>16</marketPrice> <maxBuyCount>41</maxBuyCount> <minBuyCount>42</minBuyCount> <mtPrice>17</mtPrice> <needTicket>true</needTicket> <orderCancelTime>11</orderCancelTime> <otherNote>sample string 12</otherNote> <partlyRefund>true</partlyRefund> <partnerDealId>sample string 28</partnerDealId> <partnerId>sample string 27</partnerId> <partnerPoiId>sample string 29</partnerPoiId> <phoneLimitCount>40</phoneLimitCount> <phoneLimitDayType>sample string 35</phoneLimitDayType> <phoneLimitDays>39</phoneLimitDays> <phoneLimitUnitType>sample string 36</phoneLimitUnitType> <refundLimitHourFrom>45</refundLimitHourFrom> <refundLimitHourTo>47</refundLimitHourTo> <refundLimitMinuteFrom>46</refundLimitMinuteFrom> <refundLimitMinuteTo>48</refundLimitMinuteTo> <refundNote>sample string 7</refundNote> <refundType>5</refundType> <returnVoucher>true</returnVoucher> <scheduleOfflineTime>sample string 9</scheduleOfflineTime> <scheduleOnlineTime>sample string 8</scheduleOnlineTime> <servicePhones> <ServicePhone> <endHour>sample string 4</endHour> <endMin>sample string 5</endMin> <phone>sample string 1</phone> <startHour>sample string 2</startHour> <startMin>sample string 3</startMin> </ServicePhone> <ServicePhone> <endHour>sample string 4</endHour> <endMin>sample string 5</endMin> <phone>sample string 1</phone> <startHour>sample string 2</startHour> <startMin>sample string 3</startMin> </ServicePhone> </servicePhones> <settlementPrice>18</settlementPrice> <stock>15</stock> <stockMode>32</stockMode> <subTitle>sample string 24</subTitle> <ticketGetAddress xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </ticketGetAddress> <title>sample string 23</title> <unavailableDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </unavailableDates> <useDateMode>1</useDateMode> <validWeekRule> <friday>true</friday> <monday>true</monday> <saturday>true</saturday> <sunday>true</sunday> <thursday>true</thursday> <tuesday>true</tuesday> <wednesday>true</wednesday> </validWeekRule> <visitorInfoGroupSize>3</visitorInfoGroupSize> <visitorInfoRule> <address>true</address> <credentials>true</credentials> <email>true</email> <hkmlp>true</hkmlp> <mobile>true</mobile> <mtp>true</mtp> <name>true</name> <passport>true</passport> <pinyin>true</pinyin> <tlp>true</tlp> </visitorInfoRule> <visitorInfoType>2</visitorInfoType> <voucherDateBegin>sample string 30</voucherDateBegin> <voucherDateEnd>sample string 31</voucherDateEnd> <voucherText>sample string 14</voucherText> <voucherTimeBegin>19</voucherTimeBegin> <voucherTimeEnd>20</voucherTimeEnd> <voucherTimes> <VoucherTime> <needVoucherOrGetInTimeSupplement>true</needVoucherOrGetInTimeSupplement> <voucherEndTime>2</voucherEndTime> <voucherOrGetInTimeSupplement>sample string 4</voucherOrGetInTimeSupplement> <voucherStartTime>1</voucherStartTime> </VoucherTime> <VoucherTime> <needVoucherOrGetInTimeSupplement>true</needVoucherOrGetInTimeSupplement> <voucherEndTime>2</voucherEndTime> <voucherOrGetInTimeSupplement>sample string 4</voucherOrGetInTimeSupplement> <voucherStartTime>1</voucherStartTime> </VoucherTime> </voucherTimes> </ProductResponseEntity> <ProductResponseEntity> <ScheduleInfo>49</ScheduleInfo> <aheadHoursType>21</aheadHoursType> <aheadMinutes>22</aheadMinutes> <aheadTimeRules> <AheadTimeRule> <aheadHoursType>1</aheadHoursType> <aheadMinutes>2</aheadMinutes> </AheadTimeRule> <AheadTimeRule> <aheadHoursType>1</aheadHoursType> <aheadMinutes>2</aheadMinutes> </AheadTimeRule> </aheadTimeRules> <autoRefundTime>4</autoRefundTime> <canRefundCurrentDate>true</canRefundCurrentDate> <dealImageInfos> <DealImageInfo> <frontImage>true</frontImage> <imageName>sample string 1</imageName> <imageUrl>sample string 2</imageUrl> </DealImageInfo> <DealImageInfo> <frontImage>true</frontImage> <imageName>sample string 1</imageName> <imageUrl>sample string 2</imageUrl> </DealImageInfo> </dealImageInfos> <discountCrowds> <DiscountCrowd> <crowdId>1</crowdId> <crowdName>sample string 2</crowdName> <multiLimit>3</multiLimit> </DiscountCrowd> <DiscountCrowd> <crowdId>1</crowdId> <crowdName>sample string 2</crowdName> <multiLimit>3</multiLimit> </DiscountCrowd> </discountCrowds> <exclude>sample string 26</exclude> <getInAddresses xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </getInAddresses> <getTicketRule> <certificateSupplement>sample string 3</certificateSupplement> <effectiveCertificate>true</effectiveCertificate> <needAll>true</needAll> <needCertificateSupplement>true</needCertificateSupplement> <needVoucherSupplement>true</needVoucherSupplement> <voucherLoaders xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </voucherLoaders> <voucherSupplement>sample string 6</voucherSupplement> </getTicketRule> <getVoucherRule> <certificateSupplement>sample string 3</certificateSupplement> <effectiveCertificate>true</effectiveCertificate> <needAll>true</needAll> <needCertificateSupplement>true</needCertificateSupplement> <needVoucherSupplement>true</needVoucherSupplement> <voucherLoaders xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1</d5p1:int> <d5p1:int>2</d5p1:int> </voucherLoaders> <voucherSupplement>sample string 6</voucherSupplement> </getVoucherRule> <hasRefundLimitTime>true</hasRefundLimitTime> <idLimitCount>38</idLimitCount> <idLimitDayType>sample string 33</idLimitDayType> <idLimitDays>37</idLimitDays> <idLimitUnitType>sample string 34</idLimitUnitType> <include>sample string 25</include> <marketPrice>16</marketPrice> <maxBuyCount>41</maxBuyCount> <minBuyCount>42</minBuyCount> <mtPrice>17</mtPrice> <needTicket>true</needTicket> <orderCancelTime>11</orderCancelTime> <otherNote>sample string 12</otherNote> <partlyRefund>true</partlyRefund> <partnerDealId>sample string 28</partnerDealId> <partnerId>sample string 27</partnerId> <partnerPoiId>sample string 29</partnerPoiId> <phoneLimitCount>40</phoneLimitCount> <phoneLimitDayType>sample string 35</phoneLimitDayType> <phoneLimitDays>39</phoneLimitDays> <phoneLimitUnitType>sample string 36</phoneLimitUnitType> <refundLimitHourFrom>45</refundLimitHourFrom> <refundLimitHourTo>47</refundLimitHourTo> <refundLimitMinuteFrom>46</refundLimitMinuteFrom> <refundLimitMinuteTo>48</refundLimitMinuteTo> <refundNote>sample string 7</refundNote> <refundType>5</refundType> <returnVoucher>true</returnVoucher> <scheduleOfflineTime>sample string 9</scheduleOfflineTime> <scheduleOnlineTime>sample string 8</scheduleOnlineTime> <servicePhones> <ServicePhone> <endHour>sample string 4</endHour> <endMin>sample string 5</endMin> <phone>sample string 1</phone> <startHour>sample string 2</startHour> <startMin>sample string 3</startMin> </ServicePhone> <ServicePhone> <endHour>sample string 4</endHour> <endMin>sample string 5</endMin> <phone>sample string 1</phone> <startHour>sample string 2</startHour> <startMin>sample string 3</startMin> </ServicePhone> </servicePhones> <settlementPrice>18</settlementPrice> <stock>15</stock> <stockMode>32</stockMode> <subTitle>sample string 24</subTitle> <ticketGetAddress xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </ticketGetAddress> <title>sample string 23</title> <unavailableDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </unavailableDates> <useDateMode>1</useDateMode> <validWeekRule> <friday>true</friday> <monday>true</monday> <saturday>true</saturday> <sunday>true</sunday> <thursday>true</thursday> <tuesday>true</tuesday> <wednesday>true</wednesday> </validWeekRule> <visitorInfoGroupSize>3</visitorInfoGroupSize> <visitorInfoRule> <address>true</address> <credentials>true</credentials> <email>true</email> <hkmlp>true</hkmlp> <mobile>true</mobile> <mtp>true</mtp> <name>true</name> <passport>true</passport> <pinyin>true</pinyin> <tlp>true</tlp> </visitorInfoRule> <visitorInfoType>2</visitorInfoType> <voucherDateBegin>sample string 30</voucherDateBegin> <voucherDateEnd>sample string 31</voucherDateEnd> <voucherText>sample string 14</voucherText> <voucherTimeBegin>19</voucherTimeBegin> <voucherTimeEnd>20</voucherTimeEnd> <voucherTimes> <VoucherTime> <needVoucherOrGetInTimeSupplement>true</needVoucherOrGetInTimeSupplement> <voucherEndTime>2</voucherEndTime> <voucherOrGetInTimeSupplement>sample string 4</voucherOrGetInTimeSupplement> <voucherStartTime>1</voucherStartTime> </VoucherTime> <VoucherTime> <needVoucherOrGetInTimeSupplement>true</needVoucherOrGetInTimeSupplement> <voucherEndTime>2</voucherEndTime> <voucherOrGetInTimeSupplement>sample string 4</voucherOrGetInTimeSupplement> <voucherStartTime>1</voucherStartTime> </VoucherTime> </voucherTimes> </ProductResponseEntity> </body> <totalSize>1</totalSize> </TicketMTProductCallResponse>