GET MarketHotels?sid={sid}&userid={userid}&city={city}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sid | integer |
Required |
|
userid | integer |
Required |
|
city | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfMarketHotelModelsName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | MarketHotelModels |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": { "SID": 1, "UserId": 2, "City": "sample string 3", "SelectedProperties": [ { "PropertyName": "sample string 1", "PropertyId": 2, "IsPrimary": true }, { "PropertyName": "sample string 1", "PropertyId": 2, "IsPrimary": true } ], "AllProperties": [ { "PropertyName": "sample string 1", "PropertyId": 2, "IsPrimary": true }, { "PropertyName": "sample string 1", "PropertyId": 2, "IsPrimary": true } ], "AllCompset": [ { "CompsetID": 1, "SID": 2, "PropertyID": 3, "PropertyName": "sample string 4", "LowThreshold": 5, "HighThreshold": 6, "Weightage": 7, "CompetitiorLevel": 8, "IsTemporary": 9, "IsAnyMappingMissing": 10, "RateMissingChannels": "sample string 11", "RankMissingChannels": "sample string 12", "TaxMissingChannels": "sample string 13", "MarketDroneEnabled": true, "DHISCOSupported": true, "IsSecondary": true }, { "CompsetID": 1, "SID": 2, "PropertyID": 3, "PropertyName": "sample string 4", "LowThreshold": 5, "HighThreshold": 6, "Weightage": 7, "CompetitiorLevel": 8, "IsTemporary": 9, "IsAnyMappingMissing": 10, "RateMissingChannels": "sample string 11", "RankMissingChannels": "sample string 12", "TaxMissingChannels": "sample string 13", "MarketDroneEnabled": true, "DHISCOSupported": true, "IsSecondary": true } ] } }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":{"SID":1,"UserId":2,"City":"sample string 3","SelectedProperties":[{"PropertyName":"sample string 1","PropertyId":2,"IsPrimary":true},{"PropertyName":"sample string 1","PropertyId":2,"IsPrimary":true}],"AllProperties":[{"PropertyName":"sample string 1","PropertyId":2,"IsPrimary":true},{"PropertyName":"sample string 1","PropertyId":2,"IsPrimary":true}],"AllCompset":[{"CompsetID":1,"SID":2,"PropertyID":3,"PropertyName":"sample string 4","LowThreshold":5,"HighThreshold":6,"Weightage":7,"CompetitiorLevel":8,"IsTemporary":9,"IsAnyMappingMissing":10,"RateMissingChannels":"sample string 11","RankMissingChannels":"sample string 12","TaxMissingChannels":"sample string 13","MarketDroneEnabled":true,"DHISCOSupported":true,"IsSecondary":true},{"CompsetID":1,"SID":2,"PropertyID":3,"PropertyName":"sample string 4","LowThreshold":5,"HighThreshold":6,"Weightage":7,"CompetitiorLevel":8,"IsTemporary":9,"IsAnyMappingMissing":10,"RateMissingChannels":"sample string 11","RankMissingChannels":"sample string 12","TaxMissingChannels":"sample string 13","MarketDroneEnabled":true,"DHISCOSupported":true,"IsSecondary":true}]}}
application/xml, text/xml
Sample:
<ResponseOfMarketHotelModelshxVPT35K 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/PGH.NxtGN.BO.Settings"> <d2p1:AllCompset> <d2p1:HotelCompset> <d2p1:CompetitiorLevel>8</d2p1:CompetitiorLevel> <d2p1:CompsetID>1</d2p1:CompsetID> <d2p1:DHISCOSupported>true</d2p1:DHISCOSupported> <d2p1:HighThreshold>6</d2p1:HighThreshold> <d2p1:IsAnyMappingMissing>10</d2p1:IsAnyMappingMissing> <d2p1:IsSecondary>true</d2p1:IsSecondary> <d2p1:IsTemporary>9</d2p1:IsTemporary> <d2p1:LowThreshold>5</d2p1:LowThreshold> <d2p1:MarketDroneEnabled>true</d2p1:MarketDroneEnabled> <d2p1:PropertyID>3</d2p1:PropertyID> <d2p1:PropertyName>sample string 4</d2p1:PropertyName> <d2p1:RankMissingChannels>sample string 12</d2p1:RankMissingChannels> <d2p1:RateMissingChannels>sample string 11</d2p1:RateMissingChannels> <d2p1:SID>2</d2p1:SID> <d2p1:TaxMissingChannels>sample string 13</d2p1:TaxMissingChannels> <d2p1:Weightage>7</d2p1:Weightage> </d2p1:HotelCompset> <d2p1:HotelCompset> <d2p1:CompetitiorLevel>8</d2p1:CompetitiorLevel> <d2p1:CompsetID>1</d2p1:CompsetID> <d2p1:DHISCOSupported>true</d2p1:DHISCOSupported> <d2p1:HighThreshold>6</d2p1:HighThreshold> <d2p1:IsAnyMappingMissing>10</d2p1:IsAnyMappingMissing> <d2p1:IsSecondary>true</d2p1:IsSecondary> <d2p1:IsTemporary>9</d2p1:IsTemporary> <d2p1:LowThreshold>5</d2p1:LowThreshold> <d2p1:MarketDroneEnabled>true</d2p1:MarketDroneEnabled> <d2p1:PropertyID>3</d2p1:PropertyID> <d2p1:PropertyName>sample string 4</d2p1:PropertyName> <d2p1:RankMissingChannels>sample string 12</d2p1:RankMissingChannels> <d2p1:RateMissingChannels>sample string 11</d2p1:RateMissingChannels> <d2p1:SID>2</d2p1:SID> <d2p1:TaxMissingChannels>sample string 13</d2p1:TaxMissingChannels> <d2p1:Weightage>7</d2p1:Weightage> </d2p1:HotelCompset> </d2p1:AllCompset> <d2p1:AllProperties> <d2p1:HotelProperty> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:PropertyId>2</d2p1:PropertyId> <d2p1:PropertyName>sample string 1</d2p1:PropertyName> </d2p1:HotelProperty> <d2p1:HotelProperty> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:PropertyId>2</d2p1:PropertyId> <d2p1:PropertyName>sample string 1</d2p1:PropertyName> </d2p1:HotelProperty> </d2p1:AllProperties> <d2p1:City>sample string 3</d2p1:City> <d2p1:SID>1</d2p1:SID> <d2p1:SelectedProperties> <d2p1:HotelProperty> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:PropertyId>2</d2p1:PropertyId> <d2p1:PropertyName>sample string 1</d2p1:PropertyName> </d2p1:HotelProperty> <d2p1:HotelProperty> <d2p1:IsPrimary>true</d2p1:IsPrimary> <d2p1:PropertyId>2</d2p1:PropertyId> <d2p1:PropertyName>sample string 1</d2p1:PropertyName> </d2p1:HotelProperty> </d2p1:SelectedProperties> <d2p1:UserId>2</d2p1:UserId> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfMarketHotelModelshxVPT35K>