Retrieve City Tax Category For Property Settings
This endpoint allows you to retrieve the city tax categories applicable for a specific property (for example, a hotel or other accommodation type). The response will provide a list of categories and their descriptions, which can be used to classify the property's city tax settings.
Endpoint
GET
Header
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key for authorization.
Content-Type
string
Yes
Must be set to application/json.
Response
Sample Success Response
Success Response Body Elements
Status string
Indicates the overall status of the request. In this case, "Success" means the operation was completed successfully.
Message string
Provides a brief message about the outcome. Here, it states "Successfully fetch details," confirming that the requested information was retrieved.
Data string
This is the main body of the response and contains the data returned by the API, specifically related to the city tax categories and their nature-based classifications.
categories array
This array contains the different city tax categories with their corresponding IDs and descriptions. These categories are used to classify properties according to the type of city tax that applies to them.
Each object within the categories array contains:
id string
A unique identifier for each city tax category.
value string
The description or name of the category. It usually defines the type of property or accommodation type that the category applies to.
Ruid string
A unique identifier for tracking the request.
Errors
Sample Error Response 1
Sample Error Response 2
Sample Error Response 3
Error Response Body Elements
Status string
Indicates the result of the API call, which will be always "Fail" in case of an error response.
Error array
Array that contains details about any errors that occurred during the API call. Each object in the Errors array contains the following properties:
Code string
Specific error code that helps identify the type of error.
ShortText string
A short description of the error.
Message string
A message providing more information about the error.
Ruid string
A unique identifier for tracking the request.
Last updated
Was this helpful?