# PropertyList API

This API retrieves a list of properties enabled for a Travel Seller.<br>

**Request**

| **Parameter** | **Type** | **Mandatory** | **Description**           |
| ------------- | -------- | ------------- | ------------------------- |
| **source**    | String   | Y             | Travel seller ID          |
| **token**     | String   | Y             | Partner unique request id |

**Sample Request**

{

&#x20;     "source": "MBK123",

&#x20;     "token": "ABC123"

}

<br>

**Response**

| **Parameter**  | **Type** | **Mandatory** | **Description**                                  |
| -------------- | -------- | ------------- | ------------------------------------------------ |
| **properties** | Array    | N             | List of properties enabled for the travel seller |
| brandCode      | String   | Y             | Hotel brand code                                 |
| hotelCode      | String   | Y             | Hotel code                                       |
| **error**      | Object   | N             | Present only for error response                  |
| code           | String   | Y             | Error code                                       |
| description    | String   | Y             | Error Description                                |

**Sample Response**

{

&#x20;   "properties": \[

&#x20;       {

&#x20;           "brandCode": "TP",

&#x20;           "hotelCode": "046488"

&#x20;       },

&#x20;       {

&#x20;           "brandCode": "TP",

&#x20;           "hotelCode": "051255"

&#x20;       },

&#x20;       {

&#x20;           "brandCode": "TP",

&#x20;           "hotelCode": "046462"

&#x20;       },

&#x20;       {

&#x20;           "brandCode": "TP",

&#x20;           "hotelCode": "061255"

&#x20;       }

&#x20;   ]

}

<br>

**Sample Error Response**

{

&#x20;   "error": {

&#x20;       "code": "SD400",

&#x20;       "description": "No record found"

&#x20;   }

}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.rategain.com/our-products/smart-distribution/property-list-and-booking-summary/propertylist-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
