GET GetPropOTATaxSetting?PropId={PropId}&OTAId={OTAId}&bCacheRefresh={bCacheRefresh}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PropId

integer

Required

OTAId

integer

Required

bCacheRefresh

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

ResponseOfPropertyChannelTaxType
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

PropertyChannelTaxType

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": {
    "TaxID": 1,
    "HotelMasterID": 1,
    "OTAID": 1,
    "IsTaxInclusive": true,
    "TaxValue": "sample string 2",
    "CreatedDate": "2025-04-28T16:17:25.0372751+00:00",
    "UpdateDate": "2025-04-28T16:17:25.0372751+00:00"
  }
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":{"TaxID":1,"HotelMasterID":1,"OTAID":1,"IsTaxInclusive":true,"TaxValue":"sample string 2","CreatedDate":"2025-04-28T16:17:25.0372751+00:00","UpdateDate":"2025-04-28T16:17:25.0372751+00:00"}}

application/xml, text/xml

Sample:
<ResponseOfPropertyChannelTaxTypehxVPT35K 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:CreatedDate>2025-04-28T16:17:25.0372751+00:00</d2p1:CreatedDate>
    <d2p1:HotelMasterID>1</d2p1:HotelMasterID>
    <d2p1:IsTaxInclusive>true</d2p1:IsTaxInclusive>
    <d2p1:OTAID>1</d2p1:OTAID>
    <d2p1:TaxID>1</d2p1:TaxID>
    <d2p1:TaxValue>sample string 2</d2p1:TaxValue>
    <d2p1:UpdateDate>2025-04-28T16:17:25.0372751+00:00</d2p1:UpdateDate>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfPropertyChannelTaxTypehxVPT35K>