GET GetSubscriptionDetails?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

ResponseOfSubscriptionInfo
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

SubscriptionInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": {
    "BrandID": 1,
    "ContractID": 1,
    "Status": 1,
    "ShowTaxSettings": true,
    "ShowRoomType": true,
    "StartDate": "2025-04-28T16:44:25.9067818+00:00",
    "EndDate": "2025-04-28T16:44:25.9067818+00:00",
    "CreatedOn": "2025-04-28T16:44:25.9067818+00:00",
    "CurrencyCode": "sample string 1",
    "HotelmasterID": 1,
    "IsPGHExcelEnabled": true,
    "EnableBatchReportEmail": true,
    "EnableReportExcel": true
  }
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":{"BrandID":1,"ContractID":1,"Status":1,"ShowTaxSettings":true,"ShowRoomType":true,"StartDate":"2025-04-28T16:44:25.9067818+00:00","EndDate":"2025-04-28T16:44:25.9067818+00:00","CreatedOn":"2025-04-28T16:44:25.9067818+00:00","CurrencyCode":"sample string 1","HotelmasterID":1,"IsPGHExcelEnabled":true,"EnableBatchReportEmail":true,"EnableReportExcel":true}}

application/xml, text/xml

Sample:
<ResponseOfSubscriptionInfo9yjfBCAp 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.Products">
    <d2p1:BrandID>1</d2p1:BrandID>
    <d2p1:ContractID>1</d2p1:ContractID>
    <d2p1:CreatedOn>2025-04-28T16:44:25.9067818+00:00</d2p1:CreatedOn>
    <d2p1:CurrencyCode>sample string 1</d2p1:CurrencyCode>
    <d2p1:EnableBatchReportEmail>true</d2p1:EnableBatchReportEmail>
    <d2p1:EnableReportExcel>true</d2p1:EnableReportExcel>
    <d2p1:EndDate>2025-04-28T16:44:25.9067818+00:00</d2p1:EndDate>
    <d2p1:HotelmasterID>1</d2p1:HotelmasterID>
    <d2p1:IsPGHExcelEnabled>true</d2p1:IsPGHExcelEnabled>
    <d2p1:ShowRoomType>true</d2p1:ShowRoomType>
    <d2p1:ShowTaxSettings>true</d2p1:ShowTaxSettings>
    <d2p1:StartDate>2025-04-28T16:44:25.9067818+00:00</d2p1:StartDate>
    <d2p1:Status>1</d2p1:Status>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfSubscriptionInfo9yjfBCAp>