POST GetPropOTATaxSettingAllPropertyWise?bCacheRefresh={bCacheRefresh}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bCacheRefresh

boolean

Default value is False

Body Parameters

PropertyChannelTaxSettings
NameDescriptionTypeAdditional information
PropertyIds

Collection of integer

None.

ChannelIds

Collection of string

None.

SID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PropertyIds": [
    1,
    2
  ],
  "ChannelIds": [
    "sample string 1",
    "sample string 2"
  ],
  "SID": 1
}

text/html

Sample:
{"PropertyIds":[1,2],"ChannelIds":["sample string 1","sample string 2"],"SID":1}

application/xml, text/xml

Sample:
<PropertyChannelTaxSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings">
  <ChannelIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ChannelIds>
  <PropertyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </PropertyIds>
  <SID>1</SID>
</PropertyChannelTaxSettings>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PropertyChannelTaxSettings'.

Response Information

Resource Description

ResponseOfListOfPropertyChannelTaxType
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

Collection of 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:24:03.1558165+00:00",
      "UpdateDate": "2025-04-28T16:24:03.1558165+00:00"
    },
    {
      "TaxID": 1,
      "HotelMasterID": 1,
      "OTAID": 1,
      "IsTaxInclusive": true,
      "TaxValue": "sample string 2",
      "CreatedDate": "2025-04-28T16:24:03.1558165+00:00",
      "UpdateDate": "2025-04-28T16:24:03.1558165+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:24:03.1558165+00:00","UpdateDate":"2025-04-28T16:24:03.1558165+00:00"},{"TaxID":1,"HotelMasterID":1,"OTAID":1,"IsTaxInclusive":true,"TaxValue":"sample string 2","CreatedDate":"2025-04-28T16:24:03.1558165+00:00","UpdateDate":"2025-04-28T16:24:03.1558165+00:00"}]}

application/xml, text/xml

Sample:
<ResponseOfArrayOfPropertyChannelTaxTypehxVPT35K 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:PropertyChannelTaxType>
      <d2p1:CreatedDate>2025-04-28T16:24:03.1558165+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:24:03.1558165+00:00</d2p1:UpdateDate>
    </d2p1:PropertyChannelTaxType>
    <d2p1:PropertyChannelTaxType>
      <d2p1:CreatedDate>2025-04-28T16:24:03.1558165+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:24:03.1558165+00:00</d2p1:UpdateDate>
    </d2p1:PropertyChannelTaxType>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfArrayOfPropertyChannelTaxTypehxVPT35K>