POST GetSourceHotelMappings
Request Information
URI Parameters
None.
Body Parameters
SourceHotelMappingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| properties | string |
None. |
|
| channels | string |
None. |
|
| CurrencyCode | string |
None. |
|
| SID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"properties": "sample string 1",
"channels": "sample string 2",
"CurrencyCode": "sample string 3",
"SID": 4
}
text/html
Sample:
{"properties":"sample string 1","channels":"sample string 2","CurrencyCode":"sample string 3","SID":4}
application/xml, text/xml
Sample:
<SourceHotelMappingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BL.Common"> <CurrencyCode>sample string 3</CurrencyCode> <SID>4</SID> <channels>sample string 2</channels> <properties>sample string 1</properties> </SourceHotelMappingRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfListOfSourceHotelReference| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Body | Collection of SourceHotelReference |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Body": [
{
"UISource": "sample string 1",
"ConfiguredSource": "sample string 2",
"SourceMarket": "sample string 3",
"BOTName": "sample string 4",
"RequestedPropertyId": 5,
"Property": {
"AirportCityCode": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"MailCode": "sample string 4",
"Country": "sample string 5",
"ShopCountry": "sample string 6",
"CurrencyCode": "sample string 7",
"PropertyName": "sample string 8",
"PropertyID": "sample string 9",
"PropertyChainCode": "sample string 10",
"Abbr": "sample string 11",
"ProductPropertyId": 12,
"ShopCountryCode": "sample string 13"
}
},
{
"UISource": "sample string 1",
"ConfiguredSource": "sample string 2",
"SourceMarket": "sample string 3",
"BOTName": "sample string 4",
"RequestedPropertyId": 5,
"Property": {
"AirportCityCode": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"MailCode": "sample string 4",
"Country": "sample string 5",
"ShopCountry": "sample string 6",
"CurrencyCode": "sample string 7",
"PropertyName": "sample string 8",
"PropertyID": "sample string 9",
"PropertyChainCode": "sample string 10",
"Abbr": "sample string 11",
"ProductPropertyId": 12,
"ShopCountryCode": "sample string 13"
}
}
]
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":[{"UISource":"sample string 1","ConfiguredSource":"sample string 2","SourceMarket":"sample string 3","BOTName":"sample string 4","RequestedPropertyId":5,"Property":{"AirportCityCode":"sample string 1","City":"sample string 2","State":"sample string 3","MailCode":"sample string 4","Country":"sample string 5","ShopCountry":"sample string 6","CurrencyCode":"sample string 7","PropertyName":"sample string 8","PropertyID":"sample string 9","PropertyChainCode":"sample string 10","Abbr":"sample string 11","ProductPropertyId":12,"ShopCountryCode":"sample string 13"}},{"UISource":"sample string 1","ConfiguredSource":"sample string 2","SourceMarket":"sample string 3","BOTName":"sample string 4","RequestedPropertyId":5,"Property":{"AirportCityCode":"sample string 1","City":"sample string 2","State":"sample string 3","MailCode":"sample string 4","Country":"sample string 5","ShopCountry":"sample string 6","CurrencyCode":"sample string 7","PropertyName":"sample string 8","PropertyID":"sample string 9","PropertyChainCode":"sample string 10","Abbr":"sample string 11","ProductPropertyId":12,"ShopCountryCode":"sample string 13"}}]}
application/xml, text/xml
Sample:
<ResponseOfArrayOfSourceHotelReferenceZI9Wf7I6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
<Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/RG.Core.Entities">
<d2p1:SourceHotelReference>
<d2p1:BOTName>sample string 4</d2p1:BOTName>
<d2p1:ConfiguredSource>sample string 2</d2p1:ConfiguredSource>
<d2p1:Property>
<d2p1:Abbr>sample string 11</d2p1:Abbr>
<d2p1:AirportCityCode>sample string 1</d2p1:AirportCityCode>
<d2p1:City>sample string 2</d2p1:City>
<d2p1:Country>sample string 5</d2p1:Country>
<d2p1:CurrencyCode>sample string 7</d2p1:CurrencyCode>
<d2p1:MailCode>sample string 4</d2p1:MailCode>
<d2p1:ProductPropertyId>12</d2p1:ProductPropertyId>
<d2p1:PropertyChainCode>sample string 10</d2p1:PropertyChainCode>
<d2p1:PropertyID>sample string 9</d2p1:PropertyID>
<d2p1:PropertyName>sample string 8</d2p1:PropertyName>
<d2p1:ShopCountry>sample string 6</d2p1:ShopCountry>
<d2p1:ShopCountryCode>sample string 13</d2p1:ShopCountryCode>
<d2p1:State>sample string 3</d2p1:State>
</d2p1:Property>
<d2p1:RequestedPropertyId>5</d2p1:RequestedPropertyId>
<d2p1:SourceMarket>sample string 3</d2p1:SourceMarket>
<d2p1:UISource>sample string 1</d2p1:UISource>
</d2p1:SourceHotelReference>
<d2p1:SourceHotelReference>
<d2p1:BOTName>sample string 4</d2p1:BOTName>
<d2p1:ConfiguredSource>sample string 2</d2p1:ConfiguredSource>
<d2p1:Property>
<d2p1:Abbr>sample string 11</d2p1:Abbr>
<d2p1:AirportCityCode>sample string 1</d2p1:AirportCityCode>
<d2p1:City>sample string 2</d2p1:City>
<d2p1:Country>sample string 5</d2p1:Country>
<d2p1:CurrencyCode>sample string 7</d2p1:CurrencyCode>
<d2p1:MailCode>sample string 4</d2p1:MailCode>
<d2p1:ProductPropertyId>12</d2p1:ProductPropertyId>
<d2p1:PropertyChainCode>sample string 10</d2p1:PropertyChainCode>
<d2p1:PropertyID>sample string 9</d2p1:PropertyID>
<d2p1:PropertyName>sample string 8</d2p1:PropertyName>
<d2p1:ShopCountry>sample string 6</d2p1:ShopCountry>
<d2p1:ShopCountryCode>sample string 13</d2p1:ShopCountryCode>
<d2p1:State>sample string 3</d2p1:State>
</d2p1:Property>
<d2p1:RequestedPropertyId>5</d2p1:RequestedPropertyId>
<d2p1:SourceMarket>sample string 3</d2p1:SourceMarket>
<d2p1:UISource>sample string 1</d2p1:UISource>
</d2p1:SourceHotelReference>
</Body>
<Message>sample string 1</Message>
<Status>true</Status>
</ResponseOfArrayOfSourceHotelReferenceZI9Wf7I6>