POST API/Chatbot/GetOffersDetailForNewConnectionWithBookingType
Request Information
URI Parameters
None.
Body Parameters
OfferPostParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| pinCode | integer |
None. |
|
| voucherId | integer |
None. |
|
| voucherType | string |
None. |
|
| langZoneCode | integer |
None. |
|
| bookingType | integer |
None. |
|
| toc | integer |
None. |
|
| custType | string |
None. |
|
| parentType | string |
None. |
|
| parentNo | string |
None. |
|
| parentOfferPackageID | string |
None. |
|
| isExchange | integer |
None. |
|
| isRetarget | integer |
None. |
|
| internalID | integer |
None. |
|
| companyName | string |
None. |
|
| source | string |
None. |
|
| promoCode | string |
None. |
|
| Isd2h | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"pinCode": 1,
"voucherId": 2,
"voucherType": "sample string 3",
"langZoneCode": 4,
"bookingType": 5,
"toc": 6,
"custType": "sample string 7",
"parentType": "sample string 8",
"parentNo": "sample string 9",
"parentOfferPackageID": "sample string 10",
"isExchange": 11,
"isRetarget": 12,
"internalID": 13,
"companyName": "sample string 14",
"source": "sample string 15",
"promoCode": "sample string 16",
"Isd2h": 17
}
application/xml, text/xml
Sample:
<OfferPostParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Master.PrePaidHomeDelivery"> <Isd2h>17</Isd2h> <bookingType>5</bookingType> <companyName>sample string 14</companyName> <custType>sample string 7</custType> <internalID>13</internalID> <isExchange>11</isExchange> <isRetarget>12</isRetarget> <langZoneCode>4</langZoneCode> <parentNo>sample string 9</parentNo> <parentOfferPackageID>sample string 10</parentOfferPackageID> <parentType>sample string 8</parentType> <pinCode>1</pinCode> <promoCode>sample string 16</promoCode> <source>sample string 15</source> <toc>6</toc> <voucherId>2</voucherId> <voucherType>sample string 3</voucherType> </OfferPostParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultInfoOfOfferSummaryList| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| TokenType | string |
None. |
|
| ResultType | TypeOfResult |
None. |
|
| ResultCode | integer |
None. |
|
| ResultDesc | string |
None. |
|
| Result | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessToken": "sample string 1",
"TokenType": "sample string 2",
"ResultType": 0,
"ResultCode": 3,
"ResultDesc": "sample string 4",
"Result": null
}
application/xml, text/xml
Sample:
<ResultInfoOfArrayOfOfferPHmxcYkt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common"> <AccessToken>sample string 1</AccessToken> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.PrePaidHomeDelivery" i:nil="true" /> <ResultCode>3</ResultCode> <ResultDesc>sample string 4</ResultDesc> <ResultType>Success</ResultType> <TokenType>sample string 2</TokenType> </ResultInfoOfArrayOfOfferPHmxcYkt>