GET Account/GetCompetitorAndChannelList?SID={SID}&bCacheRefresh={bCacheRefresh}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SID

integer

Required

bCacheRefresh

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

ResponseOfMixed
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

Mixed

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": {
    "HotelList": [
      {
        "SID": 1,
        "HMID": 1,
        "Name": "sample string 1",
        "Address1": "sample string 2",
        "Address2": "sample string 3",
        "City": "sample string 4",
        "CityCode": "sample string 5",
        "State": "sample string 6",
        "StateCode": "sample string 7",
        "Country": "sample string 8",
        "CountryCode": "sample string 9",
        "Currency": "sample string 10",
        "ZipCode": "sample string 11",
        "Long": 1.1,
        "Lat": 1.1,
        "BrandID": 1,
        "BrandName": "sample string 12",
        "SortOrder": 13
      },
      {
        "SID": 1,
        "HMID": 1,
        "Name": "sample string 1",
        "Address1": "sample string 2",
        "Address2": "sample string 3",
        "City": "sample string 4",
        "CityCode": "sample string 5",
        "State": "sample string 6",
        "StateCode": "sample string 7",
        "Country": "sample string 8",
        "CountryCode": "sample string 9",
        "Currency": "sample string 10",
        "ZipCode": "sample string 11",
        "Long": 1.1,
        "Lat": 1.1,
        "BrandID": 1,
        "BrandName": "sample string 12",
        "SortOrder": 13
      }
    ],
    "ChannelList": [
      {
        "CID": 1,
        "ChannelMasterId": 1,
        "Name": "sample string 2",
        "URL": "sample string 3",
        "ResultsPerPage": 1,
        "isActive": true,
        "IsMetaSite": true,
        "OrderId": 6,
        "IsMobileChannel": true
      },
      {
        "CID": 1,
        "ChannelMasterId": 1,
        "Name": "sample string 2",
        "URL": "sample string 3",
        "ResultsPerPage": 1,
        "isActive": true,
        "IsMetaSite": true,
        "OrderId": 6,
        "IsMobileChannel": true
      }
    ]
  }
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":{"HotelList":[{"SID":1,"HMID":1,"Name":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","City":"sample string 4","CityCode":"sample string 5","State":"sample string 6","StateCode":"sample string 7","Country":"sample string 8","CountryCode":"sample string 9","Currency":"sample string 10","ZipCode":"sample string 11","Long":1.1,"Lat":1.1,"BrandID":1,"BrandName":"sample string 12","SortOrder":13},{"SID":1,"HMID":1,"Name":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","City":"sample string 4","CityCode":"sample string 5","State":"sample string 6","StateCode":"sample string 7","Country":"sample string 8","CountryCode":"sample string 9","Currency":"sample string 10","ZipCode":"sample string 11","Long":1.1,"Lat":1.1,"BrandID":1,"BrandName":"sample string 12","SortOrder":13}],"ChannelList":[{"CID":1,"ChannelMasterId":1,"Name":"sample string 2","URL":"sample string 3","ResultsPerPage":1,"isActive":true,"IsMetaSite":true,"OrderId":6,"IsMobileChannel":true},{"CID":1,"ChannelMasterId":1,"Name":"sample string 2","URL":"sample string 3","ResultsPerPage":1,"isActive":true,"IsMetaSite":true,"OrderId":6,"IsMobileChannel":true}]}}

application/xml, text/xml

Sample:
<ResponseOfMixedQzIzD0mn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body>
    <ChannelList xmlns:d3p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Account">
      <d3p1:ChannelsData>
        <d3p1:CID>1</d3p1:CID>
        <d3p1:ChannelMasterId>1</d3p1:ChannelMasterId>
        <d3p1:IsMetaSite>true</d3p1:IsMetaSite>
        <d3p1:IsMobileChannel>true</d3p1:IsMobileChannel>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:OrderId>6</d3p1:OrderId>
        <d3p1:ResultsPerPage>1</d3p1:ResultsPerPage>
        <d3p1:URL>sample string 3</d3p1:URL>
        <d3p1:isActive>true</d3p1:isActive>
      </d3p1:ChannelsData>
      <d3p1:ChannelsData>
        <d3p1:CID>1</d3p1:CID>
        <d3p1:ChannelMasterId>1</d3p1:ChannelMasterId>
        <d3p1:IsMetaSite>true</d3p1:IsMetaSite>
        <d3p1:IsMobileChannel>true</d3p1:IsMobileChannel>
        <d3p1:Name>sample string 2</d3p1:Name>
        <d3p1:OrderId>6</d3p1:OrderId>
        <d3p1:ResultsPerPage>1</d3p1:ResultsPerPage>
        <d3p1:URL>sample string 3</d3p1:URL>
        <d3p1:isActive>true</d3p1:isActive>
      </d3p1:ChannelsData>
    </ChannelList>
    <HotelList>
      <CompetitorData>
        <Address1>sample string 2</Address1>
        <Address2>sample string 3</Address2>
        <BrandID>1</BrandID>
        <BrandName>sample string 12</BrandName>
        <City>sample string 4</City>
        <CityCode>sample string 5</CityCode>
        <Country>sample string 8</Country>
        <CountryCode>sample string 9</CountryCode>
        <Currency>sample string 10</Currency>
        <HMID>1</HMID>
        <Lat>1.1</Lat>
        <Long>1.1</Long>
        <Name>sample string 1</Name>
        <SID>1</SID>
        <SortOrder>13</SortOrder>
        <State>sample string 6</State>
        <StateCode>sample string 7</StateCode>
        <ZipCode>sample string 11</ZipCode>
      </CompetitorData>
      <CompetitorData>
        <Address1>sample string 2</Address1>
        <Address2>sample string 3</Address2>
        <BrandID>1</BrandID>
        <BrandName>sample string 12</BrandName>
        <City>sample string 4</City>
        <CityCode>sample string 5</CityCode>
        <Country>sample string 8</Country>
        <CountryCode>sample string 9</CountryCode>
        <Currency>sample string 10</Currency>
        <HMID>1</HMID>
        <Lat>1.1</Lat>
        <Long>1.1</Long>
        <Name>sample string 1</Name>
        <SID>1</SID>
        <SortOrder>13</SortOrder>
        <State>sample string 6</State>
        <StateCode>sample string 7</StateCode>
        <ZipCode>sample string 11</ZipCode>
      </CompetitorData>
    </HotelList>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfMixedQzIzD0mn>