GET Account/GetSIDListforUser?UName={UName}&bCacheRefresh={bCacheRefresh}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UName | string |
Required |
|
bCacheRefresh | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfHotelDataName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | Collection of HotelData |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": [ { "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", "ZipCode": "sample string 10", "Long": 1.1, "Lat": 1.1, "BrandID": 1, "BrandName": "sample string 11", "CurrencyCode": "sample string 12", "PGHStartDate": "2025-04-28T17:11:43.9575542+00:00", "PGHEndDate": "2025-04-28T17:11:43.9575542+00:00", "isUnreadAlert": true, "UserID": 14, "RoleID": 15, "OptimaTrialStatus": 1, "IsOptimaUpgraded": true, "ODRestrictionDays": 1, "EnableOTARank": true, "EnablePropertyWiseReport": true, "EnableLightingRefreshPrimium": true }, { "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", "ZipCode": "sample string 10", "Long": 1.1, "Lat": 1.1, "BrandID": 1, "BrandName": "sample string 11", "CurrencyCode": "sample string 12", "PGHStartDate": "2025-04-28T17:11:43.9575542+00:00", "PGHEndDate": "2025-04-28T17:11:43.9575542+00:00", "isUnreadAlert": true, "UserID": 14, "RoleID": 15, "OptimaTrialStatus": 1, "IsOptimaUpgraded": true, "ODRestrictionDays": 1, "EnableOTARank": true, "EnablePropertyWiseReport": true, "EnableLightingRefreshPrimium": true } ] }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":[{"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","ZipCode":"sample string 10","Long":1.1,"Lat":1.1,"BrandID":1,"BrandName":"sample string 11","CurrencyCode":"sample string 12","PGHStartDate":"2025-04-28T17:11:43.9575542+00:00","PGHEndDate":"2025-04-28T17:11:43.9575542+00:00","isUnreadAlert":true,"UserID":14,"RoleID":15,"OptimaTrialStatus":1,"IsOptimaUpgraded":true,"ODRestrictionDays":1,"EnableOTARank":true,"EnablePropertyWiseReport":true,"EnableLightingRefreshPrimium":true},{"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","ZipCode":"sample string 10","Long":1.1,"Lat":1.1,"BrandID":1,"BrandName":"sample string 11","CurrencyCode":"sample string 12","PGHStartDate":"2025-04-28T17:11:43.9575542+00:00","PGHEndDate":"2025-04-28T17:11:43.9575542+00:00","isUnreadAlert":true,"UserID":14,"RoleID":15,"OptimaTrialStatus":1,"IsOptimaUpgraded":true,"ODRestrictionDays":1,"EnableOTARank":true,"EnablePropertyWiseReport":true,"EnableLightingRefreshPrimium":true}]}
application/xml, text/xml
Sample:
<ResponseOfArrayOfHotelDataILgr5ZvH 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.Account"> <d2p1:HotelData> <d2p1:Address1>sample string 2</d2p1:Address1> <d2p1:Address2>sample string 3</d2p1:Address2> <d2p1:BrandID>1</d2p1:BrandID> <d2p1:BrandName>sample string 11</d2p1:BrandName> <d2p1:City>sample string 4</d2p1:City> <d2p1:CityCode>sample string 5</d2p1:CityCode> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:CountryCode>sample string 9</d2p1:CountryCode> <d2p1:CurrencyCode>sample string 12</d2p1:CurrencyCode> <d2p1:EnableLightingRefreshPrimium>true</d2p1:EnableLightingRefreshPrimium> <d2p1:EnableOTARank>true</d2p1:EnableOTARank> <d2p1:EnablePropertyWiseReport>true</d2p1:EnablePropertyWiseReport> <d2p1:HMID>1</d2p1:HMID> <d2p1:IsOptimaUpgraded>true</d2p1:IsOptimaUpgraded> <d2p1:Lat>1.1</d2p1:Lat> <d2p1:Long>1.1</d2p1:Long> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ODRestrictionDays>1</d2p1:ODRestrictionDays> <d2p1:OptimaTrialStatus>1</d2p1:OptimaTrialStatus> <d2p1:PGHEndDate>2025-04-28T17:11:43.9575542+00:00</d2p1:PGHEndDate> <d2p1:PGHStartDate>2025-04-28T17:11:43.9575542+00:00</d2p1:PGHStartDate> <d2p1:RoleID>15</d2p1:RoleID> <d2p1:SID>1</d2p1:SID> <d2p1:State>sample string 6</d2p1:State> <d2p1:StateCode>sample string 7</d2p1:StateCode> <d2p1:UserID>14</d2p1:UserID> <d2p1:ZipCode>sample string 10</d2p1:ZipCode> <d2p1:isUnreadAlert>true</d2p1:isUnreadAlert> </d2p1:HotelData> <d2p1:HotelData> <d2p1:Address1>sample string 2</d2p1:Address1> <d2p1:Address2>sample string 3</d2p1:Address2> <d2p1:BrandID>1</d2p1:BrandID> <d2p1:BrandName>sample string 11</d2p1:BrandName> <d2p1:City>sample string 4</d2p1:City> <d2p1:CityCode>sample string 5</d2p1:CityCode> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:CountryCode>sample string 9</d2p1:CountryCode> <d2p1:CurrencyCode>sample string 12</d2p1:CurrencyCode> <d2p1:EnableLightingRefreshPrimium>true</d2p1:EnableLightingRefreshPrimium> <d2p1:EnableOTARank>true</d2p1:EnableOTARank> <d2p1:EnablePropertyWiseReport>true</d2p1:EnablePropertyWiseReport> <d2p1:HMID>1</d2p1:HMID> <d2p1:IsOptimaUpgraded>true</d2p1:IsOptimaUpgraded> <d2p1:Lat>1.1</d2p1:Lat> <d2p1:Long>1.1</d2p1:Long> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:ODRestrictionDays>1</d2p1:ODRestrictionDays> <d2p1:OptimaTrialStatus>1</d2p1:OptimaTrialStatus> <d2p1:PGHEndDate>2025-04-28T17:11:43.9575542+00:00</d2p1:PGHEndDate> <d2p1:PGHStartDate>2025-04-28T17:11:43.9575542+00:00</d2p1:PGHStartDate> <d2p1:RoleID>15</d2p1:RoleID> <d2p1:SID>1</d2p1:SID> <d2p1:State>sample string 6</d2p1:State> <d2p1:StateCode>sample string 7</d2p1:StateCode> <d2p1:UserID>14</d2p1:UserID> <d2p1:ZipCode>sample string 10</d2p1:ZipCode> <d2p1:isUnreadAlert>true</d2p1:isUnreadAlert> </d2p1:HotelData> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfArrayOfHotelDataILgr5ZvH>