PropertyList API

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

Request

Parameter

Type

Mandatory

Description

source

String

Y

Travel seller ID

token

String

Y

Partner unique request id

Sample Request

{

"source": "MBK123",

"token": "ABC123"

}

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

{

"properties": [

{

"brandCode": "TP",

"hotelCode": "046488"

},

{

"brandCode": "TP",

"hotelCode": "051255"

},

{

"brandCode": "TP",

"hotelCode": "046462"

},

{

"brandCode": "TP",

"hotelCode": "061255"

}

]

}

Sample Error Response

{

"error": {

"code": "SD400",

"description": "No record found"

}

}

Last updated