POST api/Product/PackageAvailability
Request Information
URI Parameters
None.
Body Parameters
cEntityPackageRequestName | Description | Type | Additional information |
---|---|---|---|
categoryCode | string |
None. |
|
destinationCode | string |
None. |
|
destinationType | string |
None. |
|
fromDate | string |
None. |
|
iataOrigin | string |
None. |
|
locale | string |
None. |
|
numberOfNights | integer |
None. |
|
BrandCodeList | string |
None. |
|
count | integer |
None. |
|
PassengerGroupList | Collection of PassengerRequest |
None. |
|
hasError | boolean |
None. |
|
hasErrorMessage | string |
None. |
|
Credentials | string |
None. |
|
hashCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "categoryCode": "sample string 1", "destinationCode": "sample string 2", "destinationType": "sample string 3", "fromDate": "sample string 4", "iataOrigin": "sample string 5", "locale": "sample string 6", "numberOfNights": 7, "BrandCodeList": "sample string 8", "count": 9, "PassengerGroupList": [ { "age": "sample string 1", "passengerId": "sample string 2", "groupId": "sample string 3" }, { "age": "sample string 1", "passengerId": "sample string 2", "groupId": "sample string 3" } ], "hasError": true, "hasErrorMessage": "sample string 11", "Credentials": "sample string 12", "hashCode": "sample string 13" }
application/xml, text/xml
Sample:
<cPackage.cEntityPackageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JOLIDEY"> <BrandCodeList>sample string 8</BrandCodeList> <Credentials>sample string 12</Credentials> <PassengerGroupList> <cPackage.PassengerRequest> <age>sample string 1</age> <groupId>sample string 3</groupId> <passengerId>sample string 2</passengerId> </cPackage.PassengerRequest> <cPackage.PassengerRequest> <age>sample string 1</age> <groupId>sample string 3</groupId> <passengerId>sample string 2</passengerId> </cPackage.PassengerRequest> </PassengerGroupList> <categoryCode>sample string 1</categoryCode> <count>9</count> <destinationCode>sample string 2</destinationCode> <destinationType>sample string 3</destinationType> <fromDate>sample string 4</fromDate> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <hashCode>sample string 13</hashCode> <iataOrigin>sample string 5</iataOrigin> <locale>sample string 6</locale> <numberOfNights>7</numberOfNights> </cPackage.cEntityPackageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
cEntityPackageResponseName | Description | Type | Additional information |
---|---|---|---|
productName | string |
None. |
|
productSubType | string |
None. |
|
productType | string |
None. |
|
productCode | string |
None. |
|
productDescription | string |
None. |
|
brandCode | string |
None. |
|
imageUrl | string |
None. |
|
OptionList | Collection of cEntityOptionList |
None. |
|
PassengerGroupList | Collection of PassengerRequest |
None. |
|
ProductList | Collection of cEntityProductList |
None. |
|
Price | Collection of cEntityServicePrice |
None. |
|
CancellationPolicyList | Collection of cEntityCancellationPolicy |
None. |
|
amount | string |
None. |
|
currency | string |
None. |
|
Commissionable | string |
None. |
|
NonCommissionable | string |
None. |
|
Commission | string |
None. |
|
CommissionTaxes | string |
None. |
|
hasError | boolean |
None. |
|
hasErrorMessage | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.