Download OpenAPI specification:
Provides an API endpoints to access data on RoomDB.
More detailed information can be found in project README file
| latitude required | string latitude |
| longitude required | string longitude |
| radius | integer <int32> >= 0 radius |
| distributorType | Array of strings distributor type |
| propertyTypeIds | Array of integers <int32> unique [ items <int32 > ] |
| hotelFacilitiesFiltered | Array of integers <int32> unique [ items <int32 > ] |
| pageNumber | integer <int32> |
| pageSize | integer <int32> page size |
| checkInDate | string checkIn Date |
| checkOutDate | string checkOut Date |
| ratings | Array of strings ratings |
Array of objects (SortRequest) |
{- "latitude": "41.04984",
- "longitude": "8.94651",
- "radius": 20,
- "distributorType": "[A/B/C]",
- "propertyTypeIds": [
- 0
], - "hotelFacilitiesFiltered": [
- 0
], - "pageNumber": 0,
- "pageSize": 10,
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "ratings": "[noRating/1/2/3/4/5]",
- "sortRequests": [
- {
- "field": "string",
- "order": "string",
- "priority": 0
}
]
}{- "result": {
- "content": [
- {
- "id": 1000010,
- "name": "Leisure hotels",
- "supplierId": 0,
- "distributorType": "A/B/C",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "googleReviews": {
- "googleRating": 0.1,
- "googleRatingLastUpdate": "string",
- "googleBusinessPlacesId": "string",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "string"
}, - "addresses": [
- "string"
], - "descriptions": {
- "property1": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}, - "property2": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
}, - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "availabilities": [
- {
- "date": "string",
- "minPrice": 0,
- "currencyCode": "string"
}
]
}
], - "number": 0,
- "size": 0,
- "totalElements": 0,
- "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalPages": 0,
- "sort": {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}, - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| latitude required | string latitude |
| longitude required | string longitude |
| radius | integer <int32> >= 0 radius |
| distributorType | Array of strings distributor type |
| propertyTypeIds | Array of integers <int32> unique [ items <int32 > ] |
| hotelFacilitiesFiltered | Array of integers <int32> unique [ items <int32 > ] |
| pageNumber | integer <int32> |
| pageSize | integer <int32> page size |
| checkInDate | string checkIn Date |
| checkOutDate | string checkOut Date |
| ratings | Array of strings ratings |
{- "latitude": "41.04984",
- "longitude": "8.94651",
- "radius": 20,
- "distributorType": "[A/B/C]",
- "propertyTypeIds": [
- 0
], - "hotelFacilitiesFiltered": [
- 0
], - "pageNumber": 0,
- "pageSize": 10,
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "ratings": "[noRating/1/2/3/4/5]"
}{- "result": {
- "content": [
- {
- "id": 1000010,
- "name": "Leisure hotels",
- "supplierId": 0,
- "distributorType": "A/B/C",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "googleReviews": {
- "googleRating": 0.1,
- "googleRatingLastUpdate": "string",
- "googleBusinessPlacesId": "string",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "string"
}, - "addresses": [
- "string"
], - "descriptions": {
- "property1": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}, - "property2": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
}, - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "availabilities": [
- {
- "date": "string",
- "minPrice": 0,
- "currencyCode": "string"
}
]
}
], - "number": 0,
- "size": 0,
- "totalElements": 0,
- "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalPages": 0,
- "sort": {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}, - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| latitude required | string latitude |
| longitude required | string longitude |
| radius | integer <int32> >= 0 radius |
| distributorType | Array of strings distributor type |
| listId | integer <int32> listId |
| hotelFacilitiesFiltered | Array of integers <int32> unique [ items <int32 > ] |
| pageNumber | integer <int32> |
| pageSize | integer <int32> page size |
| checkInDate | string checkIn Date |
| checkOutDate | string checkOut Date |
| ratings | Array of integers <int32> [ items <int32 > ] |
{- "latitude": "41.04984",
- "longitude": "8.94651",
- "radius": 20,
- "distributorType": "[A/B/C]",
- "listId": 1,
- "hotelFacilitiesFiltered": [
- 0
], - "pageNumber": 0,
- "pageSize": 10,
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "ratings": [
- 0
]
}{- "result": {
- "content": [
- {
- "content": {
- "id": 1000010,
- "name": "Leisure hotels",
- "supplierId": 0,
- "distributorType": "A/B/C",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "googleReviews": {
- "googleRating": 0.1,
- "googleRatingLastUpdate": "string",
- "googleBusinessPlacesId": "string",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "string"
}, - "addresses": [
- "string"
], - "descriptions": {
- "property1": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}, - "property2": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
}, - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "availabilities": [
- {
- "date": "string",
- "minPrice": 0,
- "currencyCode": "string"
}
]
}
}
], - "number": 0,
- "size": 0,
- "totalElements": 0,
- "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalPages": 0,
- "sort": {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}, - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| listId required | integer <int32> >= 0 listId |
| latitude | string latitude |
| longitude | string longitude |
| radius | integer <int32> >= 0 radius |
| distributorType | Array of strings distributor type |
| propertyTypeIds | Array of integers <int32> unique [ items <int32 > ] |
| hotelFacilitiesFiltered | Array of integers <int32> unique [ items <int32 > ] |
| pageNumber | integer <int32> |
| pageSize | integer <int32> page size |
| checkInDate | string checkIn Date |
| checkOutDate | string checkOut Date |
| ratings | Array of strings ratings |
{- "listId": 1,
- "latitude": "41.04984",
- "longitude": "8.94651",
- "radius": 20,
- "distributorType": "[A/B/C]",
- "propertyTypeIds": [
- 0
], - "hotelFacilitiesFiltered": [
- 0
], - "pageNumber": 0,
- "pageSize": 10,
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "ratings": "[noRating/1/2/3/4/5]"
}{- "result": {
- "content": [
- {
- "id": 1000010,
- "name": "Leisure hotels",
- "supplierId": 0,
- "distributorType": "A/B/C",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "googleReviews": {
- "googleRating": 0.1,
- "googleRatingLastUpdate": "string",
- "googleBusinessPlacesId": "string",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "string"
}, - "addresses": [
- "string"
], - "descriptions": {
- "property1": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}, - "property2": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
}, - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "availabilities": [
- {
- "date": "string",
- "minPrice": 0,
- "currencyCode": "string"
}
]
}
], - "number": 0,
- "size": 0,
- "totalElements": 0,
- "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalPages": 0,
- "sort": {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}, - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| listId required | integer <int32> >= 0 listId |
| latitude | string latitude |
| longitude | string longitude |
| radius | integer <int32> >= 0 radius |
| distributorType | Array of strings distributor type |
| propertyTypeIds | Array of integers <int32> unique [ items <int32 > ] |
| hotelFacilitiesFiltered | Array of integers <int32> unique [ items <int32 > ] |
| pageNumber | integer <int32> |
| pageSize | integer <int32> page size |
| checkInDate | string checkIn Date |
| checkOutDate | string checkOut Date |
| ratings | Array of strings ratings |
Array of objects (SortRequest) |
{- "listId": 1,
- "latitude": "41.04984",
- "longitude": "8.94651",
- "radius": 20,
- "distributorType": "[A/B/C]",
- "propertyTypeIds": [
- 0
], - "hotelFacilitiesFiltered": [
- 0
], - "pageNumber": 0,
- "pageSize": 10,
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "ratings": "[noRating/1/2/3/4/5]",
- "sortRequests": [
- {
- "field": "string",
- "order": "string",
- "priority": 0
}
]
}{- "result": {
- "content": [
- {
- "id": 1000010,
- "name": "Leisure hotels",
- "supplierId": 0,
- "distributorType": "A/B/C",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "googleReviews": {
- "googleRating": 0.1,
- "googleRatingLastUpdate": "string",
- "googleBusinessPlacesId": "string",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "string"
}, - "addresses": [
- "string"
], - "descriptions": {
- "property1": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}, - "property2": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
}, - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "availabilities": [
- {
- "date": "string",
- "minPrice": 0,
- "currencyCode": "string"
}
]
}
], - "number": 0,
- "size": 0,
- "totalElements": 0,
- "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalPages": 0,
- "sort": {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}, - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyIds required | Array of integers <int32> unique [ items <int32 > ] Property Ids |
{- "propertyIds": [
- 1000000,
- 1000001
]
}{- "result": [
- {
- "id": 1000010,
- "name": "Leisure hotels",
- "supplierId": 0,
- "distributorType": "A/B/C",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "googleReviews": {
- "googleRating": 0.1,
- "googleRatingLastUpdate": "string",
- "googleBusinessPlacesId": "string",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "string"
}, - "addresses": [
- "string"
], - "descriptions": {
- "property1": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}, - "property2": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
}, - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "availabilities": [
- {
- "date": "string",
- "minPrice": 0,
- "currencyCode": "string"
}
]
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| latitude required | string latitude |
| longitude required | string longitude |
| radius | integer <int32> >= 0 radius |
| distributorType | Array of strings distributor type |
| ratings | Array of strings ratings |
| propertyTypeIds | Array of integers <int32> unique [ items <int32 > ] |
| hotelFacilitiesFiltered | Array of integers <int32> unique [ items <int32 > ] |
{- "latitude": "41.04984",
- "longitude": "8.94651",
- "radius": 20,
- "distributorType": "[A/B/C]",
- "ratings": "[noRating/1/2/3/4/5]",
- "propertyTypeIds": [
- 0
], - "hotelFacilitiesFiltered": [
- 0
]
}{- "result": {
- "property1": 0,
- "property2": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| listId required | integer <int32> listId |
| latitude | string latitude |
| longitude | string longitude |
| radius | integer <int32> >= 0 radius |
| distributorType | Array of strings distributor type |
| ratings | Array of strings ratings |
| hotelFacilitiesFiltered | Array of integers <int32> unique [ items <int32 > ] |
| propertyTypeIds | Array of integers <int32> unique [ items <int32 > ] |
{- "listId": 2,
- "latitude": "41.04984",
- "longitude": "8.94651",
- "radius": 20,
- "distributorType": "[A/B/C]",
- "ratings": "[noRating/1/2/3/4/5]",
- "hotelFacilitiesFiltered": [
- 0
], - "propertyTypeIds": [
- 0
]
}{- "result": {
- "property1": 0,
- "property2": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| latitude required | number <double> [ -90 .. 90 ] Latitude of property. Required. |
| longitude required | number <double> [ -180 .. 180 ] Longitude of property. Required. |
| radius | integer <int32> >= 1 Search radius in kilometers. Default to 20 km. Optional. |
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. Default is 0. |
| size | integer <int32> [ 1 .. 1000 ] Default: 10 Size of the page in paginated request. Default is 10. |
| distributorType | Array of arrays Items Enum: "A" "B" "C" Type A: Properties that can be booked immediately (instant booking) and real-time inventory is stored in our database. Type B: Properties that can be booked immediately (instant booking) but inventory must be fetched from third-party databases. Type C: Properties that can be booked on request only. |
{- "content": [
- {
- "content": {
- "id": 1000010,
- "name": "Leisure hotels",
- "supplierId": 0,
- "distributorType": "A/B/C",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "googleReviews": {
- "googleRating": 0.1,
- "googleRatingLastUpdate": "string",
- "googleBusinessPlacesId": "string",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "string"
}, - "addresses": [
- "string"
], - "descriptions": {
- "property1": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}, - "property2": {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
}, - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "availabilities": [
- {
- "date": "string",
- "minPrice": 0,
- "currencyCode": "string"
}
]
}
}
], - "number": 0,
- "size": 0,
- "totalElements": 0,
- "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalPages": 0,
- "sort": {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}, - "first": true,
- "numberOfElements": 0,
- "empty": true
}| latitude required | number <double> [ -90 .. 90 ] Latitude of property. Required. |
| longitude required | number <double> [ -180 .. 180 ] Longitude of property. Required. |
| radius | integer <int32> >= 1 Default: 20 Search radius in kilometers. Default to 20 km. Optional. |
| distributorType | Array of strings Example: distributorType=[A/B/C] distributor type |
{- "result": {
- "property1": 0,
- "property2": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| listId required | integer <int32> |
| distributorType | Array of strings Example: distributorType=[A/B/C] distributor type |
{- "result": {
- "property1": 0,
- "property2": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| allPropertiesCount | boolean Default: false By default this will return only count of properties with not null distributor types, for count of all properties pass flag as true |
{- "result": 0,
- "status": "string",
- "message": "string",
- "executionTime": 0
}If supplier has role to read all properties than this endpoint will return any property in a system.
If supplier has no role to read all properties, result will return property only if it belongs to supplier.
| id required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "cultSwitchId": "1232",
- "code": "GT-01",
- "name": "Golden Tulip",
- "alternativeName": "Local name for Golden Tulip",
- "status": "ACTIVE",
- "forTesting": false,
- "isMaster": false,
- "isPermanentlyClosed": false,
- "autoReplenishment": false,
- "showCultSwitchDefaultCancellationRules": true,
- "favicon": "string",
- "emailAddressComment": "string",
- "emailAddressUnsubscribe": false,
- "vatNumber": "123456",
- "legalCompanyName": "Golden Tulip",
- "commercialRegistrationNumber": "aR43Q5",
- "managingDirector": "Mr X Y",
- "companyOrganisationNumber": "425ERQ",
- "fax": "425ERQ",
- "distributorType": "string",
- "billingAddress": {
- "id": 0,
- "invoiceRecipient1": "string",
- "invoiceRecipient2": "string",
- "invoiceRecipient3": "string",
- "street1": "string",
- "street2": "string",
- "postCode": "string",
- "city": "string",
- "billingEmailAddress": "string",
- "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
}, - "homeCurrency": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
], - "emails": [
- {
- "id": 0,
- "email": "info@gmail.com",
- "emailType": {
- "id": 0,
- "code": "info",
- "name": "Information"
}, - "status": "ACTIVE/BOUNCED",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "messages": [
- {
- "id": 12,
- "propertyId": 1000000,
- "campaignId": 0,
- "name": "string",
- "topic": "string",
- "subject": "string",
- "toAddress": "string",
- "toName": "string",
- "fromAddress": "string",
- "fromName": "string",
- "replyAddress": "string",
- "replyName": "string",
- "domain": "string",
- "provider": "string",
- "details": "string",
- "ewsId": "string",
- "status": "string",
- "body": "string",
- "sentAt": "2019-08-24T14:15:22Z",
- "scheduledFor": "2019-08-24T14:15:22Z",
- "permissionTimestamp": "2019-08-24T14:15:22Z",
- "dismissTopicTimestamp": "2019-08-24T14:15:22Z",
- "unsubscribeTimestamp": "2019-08-24T14:15:22Z",
- "permission": true,
- "dismissTopic": true,
- "unsubscribe": true,
- "dismissTopicIPv4": "192.168.1.1",
- "permissionIPv4": "192.168.1.1",
- "unsubscribeIPv4": "192.168.1.1",
- "permissionName": "string",
- "permissionTelephoneNumber": "string",
- "permissionEmailAddress": "string",
- "permissionComment": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "messageFeedbacks": [
- {
- "id": 0,
- "messageId": 123,
- "userId": "abc@email",
- "comment": "Offer Accepted",
- "status": "IN_DISCUSSION/INTERESTED/ONBOARDING/LIVE/NOT_INTERESTED/CONTACT_PERSON_NOT_AVAILABLE/ALREADY_USING_OFFERED_PRODUCT/CLICKED_DISMISSED_OR_UNSUBSCRIBED/MAXIMUM_TRIES_CALLS_REACHED/PROPERTY_IS_NOT_EXISTING/PROPERTY_IS_DUPLICATE_OF_ANOTHER_PROPERTY",
- "followUpDate": "2024-08-18 08:35:45",
- "nextFollowUpDate": "2024-08-26 09:45:55",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
]
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "supplier": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "isDeletedBySupplier": true,
- "aliasTo": 0,
- "logoUrl": "string",
- "mainUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "isDeleted": true,
- "createdBy": "user@email",
- "initialParentId": 1000000,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "ratings": [
- {
- "id": 0,
- "propertyId": 0,
- "provider": "Trivago",
- "rating": 4,
- "otherRating": "carbon-emission",
- "reviewRank": 7.7,
- "reviewCount": 3491,
- "isClassified": true
}
], - "availabilityUpdateCount": 0,
- "lastAvailabilityUpdate": "2019-08-24T14:15:22Z",
- "roundingRuleId": 0,
- "businessUnitId": 0,
- "fileName": "string",
- "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
], - "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "website": "marriott.com",
- "timezone": "string",
- "mainMedias": [
- {
- "id": 0,
- "sortOrderMain": 3,
- "mediaTypeId": 0,
- "mediaTypeCode": "img",
- "mediaTypeName": "Image"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}If supplier has role to read all properties than this endpoint will return any property in a system.
If supplier has no role to read all properties, result will return property only if it belongs to supplier.
| id required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "cultSwitchId": "1232",
- "code": "GT-01",
- "name": "Golden Tulip",
- "alternativeName": "Local name for Golden Tulip",
- "status": "ACTIVE",
- "forTesting": false,
- "isMaster": false,
- "isPermanentlyClosed": false,
- "autoReplenishment": false,
- "showCultSwitchDefaultCancellationRules": true,
- "favicon": "string",
- "emailAddressComment": "string",
- "emailAddressUnsubscribe": false,
- "vatNumber": "123456",
- "legalCompanyName": "Golden Tulip",
- "commercialRegistrationNumber": "aR43Q5",
- "managingDirector": "Mr X Y",
- "companyOrganisationNumber": "425ERQ",
- "fax": "425ERQ",
- "distributorType": "string",
- "billingAddress": {
- "id": 0,
- "invoiceRecipient1": "string",
- "invoiceRecipient2": "string",
- "invoiceRecipient3": "string",
- "street1": "string",
- "street2": "string",
- "postCode": "string",
- "city": "string",
- "billingEmailAddress": "string",
- "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
}, - "homeCurrency": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
], - "emails": [
- {
- "id": 0,
- "email": "info@gmail.com",
- "emailType": {
- "id": 0,
- "code": "info",
- "name": "Information"
}, - "status": "ACTIVE/BOUNCED",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "messages": [
- {
- "id": 12,
- "propertyId": 1000000,
- "campaignId": 0,
- "name": "string",
- "topic": "string",
- "subject": "string",
- "toAddress": "string",
- "toName": "string",
- "fromAddress": "string",
- "fromName": "string",
- "replyAddress": "string",
- "replyName": "string",
- "domain": "string",
- "provider": "string",
- "details": "string",
- "ewsId": "string",
- "status": "string",
- "body": "string",
- "sentAt": "2019-08-24T14:15:22Z",
- "scheduledFor": "2019-08-24T14:15:22Z",
- "permissionTimestamp": "2019-08-24T14:15:22Z",
- "dismissTopicTimestamp": "2019-08-24T14:15:22Z",
- "unsubscribeTimestamp": "2019-08-24T14:15:22Z",
- "permission": true,
- "dismissTopic": true,
- "unsubscribe": true,
- "dismissTopicIPv4": "192.168.1.1",
- "permissionIPv4": "192.168.1.1",
- "unsubscribeIPv4": "192.168.1.1",
- "permissionName": "string",
- "permissionTelephoneNumber": "string",
- "permissionEmailAddress": "string",
- "permissionComment": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "messageFeedbacks": [
- {
- "id": 0,
- "messageId": 123,
- "userId": "abc@email",
- "comment": "Offer Accepted",
- "status": "IN_DISCUSSION/INTERESTED/ONBOARDING/LIVE/NOT_INTERESTED/CONTACT_PERSON_NOT_AVAILABLE/ALREADY_USING_OFFERED_PRODUCT/CLICKED_DISMISSED_OR_UNSUBSCRIBED/MAXIMUM_TRIES_CALLS_REACHED/PROPERTY_IS_NOT_EXISTING/PROPERTY_IS_DUPLICATE_OF_ANOTHER_PROPERTY",
- "followUpDate": "2024-08-18 08:35:45",
- "nextFollowUpDate": "2024-08-26 09:45:55",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
]
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "supplier": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "isDeletedBySupplier": true,
- "aliasTo": 0,
- "logoUrl": "string",
- "mainUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "isDeleted": true,
- "createdBy": "user@email",
- "initialParentId": 1000000,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "ratings": [
- {
- "id": 0,
- "propertyId": 0,
- "provider": "Trivago",
- "rating": 4,
- "otherRating": "carbon-emission",
- "reviewRank": 7.7,
- "reviewCount": 3491,
- "isClassified": true
}
], - "availabilityUpdateCount": 0,
- "lastAvailabilityUpdate": "2019-08-24T14:15:22Z",
- "roundingRuleId": 0,
- "businessUnitId": 0,
- "fileName": "string",
- "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
], - "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "website": "marriott.com",
- "timezone": "string",
- "mainMedias": [
- {
- "id": 0,
- "sortOrderMain": 3,
- "mediaTypeId": 0,
- "mediaTypeCode": "img",
- "mediaTypeName": "Image"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1000000 RoomDB internal Property Id. Required. |
{- "result": {
- "id": 0,
- "cultSwitchId": "1232",
- "code": "GT-01",
- "name": "Golden Tulip",
- "alternativeName": "Local name for Golden Tulip",
- "status": "ACTIVE",
- "forTesting": false,
- "isMaster": false,
- "isPermanentlyClosed": false,
- "autoReplenishment": false,
- "showCultSwitchDefaultCancellationRules": true,
- "favicon": "string",
- "emailAddressComment": "string",
- "emailAddressUnsubscribe": false,
- "vatNumber": "123456",
- "legalCompanyName": "Golden Tulip",
- "commercialRegistrationNumber": "aR43Q5",
- "managingDirector": "Mr X Y",
- "companyOrganisationNumber": "425ERQ",
- "fax": "425ERQ",
- "distributorType": "string",
- "billingAddress": {
- "id": 0,
- "invoiceRecipient1": "string",
- "invoiceRecipient2": "string",
- "invoiceRecipient3": "string",
- "street1": "string",
- "street2": "string",
- "postCode": "string",
- "city": "string",
- "billingEmailAddress": "string",
- "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
}, - "homeCurrency": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
], - "emails": [
- {
- "id": 0,
- "email": "info@gmail.com",
- "emailType": {
- "id": 0,
- "code": "info",
- "name": "Information"
}, - "status": "ACTIVE/BOUNCED",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "messages": [
- {
- "id": 12,
- "propertyId": 1000000,
- "campaignId": 0,
- "name": "string",
- "topic": "string",
- "subject": "string",
- "toAddress": "string",
- "toName": "string",
- "fromAddress": "string",
- "fromName": "string",
- "replyAddress": "string",
- "replyName": "string",
- "domain": "string",
- "provider": "string",
- "details": "string",
- "ewsId": "string",
- "status": "string",
- "body": "string",
- "sentAt": "2019-08-24T14:15:22Z",
- "scheduledFor": "2019-08-24T14:15:22Z",
- "permissionTimestamp": "2019-08-24T14:15:22Z",
- "dismissTopicTimestamp": "2019-08-24T14:15:22Z",
- "unsubscribeTimestamp": "2019-08-24T14:15:22Z",
- "permission": true,
- "dismissTopic": true,
- "unsubscribe": true,
- "dismissTopicIPv4": "192.168.1.1",
- "permissionIPv4": "192.168.1.1",
- "unsubscribeIPv4": "192.168.1.1",
- "permissionName": "string",
- "permissionTelephoneNumber": "string",
- "permissionEmailAddress": "string",
- "permissionComment": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "messageFeedbacks": [
- {
- "id": 0,
- "messageId": 123,
- "userId": "abc@email",
- "comment": "Offer Accepted",
- "status": "IN_DISCUSSION/INTERESTED/ONBOARDING/LIVE/NOT_INTERESTED/CONTACT_PERSON_NOT_AVAILABLE/ALREADY_USING_OFFERED_PRODUCT/CLICKED_DISMISSED_OR_UNSUBSCRIBED/MAXIMUM_TRIES_CALLS_REACHED/PROPERTY_IS_NOT_EXISTING/PROPERTY_IS_DUPLICATE_OF_ANOTHER_PROPERTY",
- "followUpDate": "2024-08-18 08:35:45",
- "nextFollowUpDate": "2024-08-26 09:45:55",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
]
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "supplier": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "isDeletedBySupplier": true,
- "aliasTo": 0,
- "logoUrl": "string",
- "mainUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "isDeleted": true,
- "createdBy": "user@email",
- "initialParentId": 1000000,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "ratings": [
- {
- "id": 0,
- "propertyId": 0,
- "provider": "Trivago",
- "rating": 4,
- "otherRating": "carbon-emission",
- "reviewRank": 7.7,
- "reviewCount": 3491,
- "isClassified": true
}
], - "availabilityUpdateCount": 0,
- "lastAvailabilityUpdate": "2019-08-24T14:15:22Z",
- "roundingRuleId": 0,
- "businessUnitId": 0,
- "fileName": "string",
- "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
], - "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "website": "marriott.com",
- "timezone": "string",
- "mainMedias": [
- {
- "id": 0,
- "sortOrderMain": 3,
- "mediaTypeId": 0,
- "mediaTypeCode": "img",
- "mediaTypeName": "Image"
}
], - "facilityData": [
- {
- "propertyId": 1000000,
- "identifierSourceId": 0,
- "facilityData": {
- "property1": { },
- "property2": { }
}
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "property": {
- "id": 0,
- "cultSwitchId": "1232",
- "code": "GT-01",
- "name": "Golden Tulip",
- "alternativeName": "Local name for Golden Tulip",
- "status": "ACTIVE",
- "forTesting": false,
- "isMaster": false,
- "isPermanentlyClosed": false,
- "autoReplenishment": false,
- "showCultSwitchDefaultCancellationRules": true,
- "favicon": "string",
- "emailAddressComment": "string",
- "emailAddressUnsubscribe": false,
- "vatNumber": "123456",
- "legalCompanyName": "Golden Tulip",
- "commercialRegistrationNumber": "aR43Q5",
- "managingDirector": "Mr X Y",
- "companyOrganisationNumber": "425ERQ",
- "fax": "425ERQ",
- "distributorType": "string",
- "billingAddress": {
- "id": 0,
- "invoiceRecipient1": "string",
- "invoiceRecipient2": "string",
- "invoiceRecipient3": "string",
- "street1": "string",
- "street2": "string",
- "postCode": "string",
- "city": "string",
- "billingEmailAddress": "string",
- "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
}, - "homeCurrency": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
], - "emails": [
- {
- "id": 0,
- "email": "info@gmail.com",
- "emailType": {
- "id": 0,
- "code": "info",
- "name": "Information"
}, - "status": "ACTIVE/BOUNCED",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "messages": [
- {
- "id": 12,
- "propertyId": 1000000,
- "campaignId": 0,
- "name": "string",
- "topic": "string",
- "subject": "string",
- "toAddress": "string",
- "toName": "string",
- "fromAddress": "string",
- "fromName": "string",
- "replyAddress": "string",
- "replyName": "string",
- "domain": "string",
- "provider": "string",
- "details": "string",
- "ewsId": "string",
- "status": "string",
- "body": "string",
- "sentAt": "2019-08-24T14:15:22Z",
- "scheduledFor": "2019-08-24T14:15:22Z",
- "permissionTimestamp": "2019-08-24T14:15:22Z",
- "dismissTopicTimestamp": "2019-08-24T14:15:22Z",
- "unsubscribeTimestamp": "2019-08-24T14:15:22Z",
- "permission": true,
- "dismissTopic": true,
- "unsubscribe": true,
- "dismissTopicIPv4": "192.168.1.1",
- "permissionIPv4": "192.168.1.1",
- "unsubscribeIPv4": "192.168.1.1",
- "permissionName": "string",
- "permissionTelephoneNumber": "string",
- "permissionEmailAddress": "string",
- "permissionComment": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "messageFeedbacks": [
- {
- "id": 0,
- "messageId": 123,
- "userId": "abc@email",
- "comment": "Offer Accepted",
- "status": "IN_DISCUSSION/INTERESTED/ONBOARDING/LIVE/NOT_INTERESTED/CONTACT_PERSON_NOT_AVAILABLE/ALREADY_USING_OFFERED_PRODUCT/CLICKED_DISMISSED_OR_UNSUBSCRIBED/MAXIMUM_TRIES_CALLS_REACHED/PROPERTY_IS_NOT_EXISTING/PROPERTY_IS_DUPLICATE_OF_ANOTHER_PROPERTY",
- "followUpDate": "2024-08-18 08:35:45",
- "nextFollowUpDate": "2024-08-26 09:45:55",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
]
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "supplier": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "isDeletedBySupplier": true,
- "aliasTo": 0,
- "logoUrl": "string",
- "mainUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "isDeleted": true,
- "createdBy": "user@email",
- "initialParentId": 1000000,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "ratings": [
- {
- "id": 0,
- "propertyId": 0,
- "provider": "Trivago",
- "rating": 4,
- "otherRating": "carbon-emission",
- "reviewRank": 7.7,
- "reviewCount": 3491,
- "isClassified": true
}
], - "availabilityUpdateCount": 0,
- "lastAvailabilityUpdate": "2019-08-24T14:15:22Z",
- "roundingRuleId": 0,
- "businessUnitId": 0,
- "fileName": "string"
}, - "propertyInfo": {
- "id": 0,
- "propertyId": 1000040,
- "website": "marriott.com",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "brand": {
- "id": 0,
- "name": "Marriott",
- "code": "25hours",
- "alternativeName": "Marriott International"
}, - "timezone": "string",
- "taxpayerId": "1232 1233",
- "capacity": 40,
- "capacityType": "room",
- "isExist": true,
- "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "websiteUrlReachable": true,
- "websiteUrlReachabilityLastUpdate": "2019-08-24T14:15:22Z",
- "languages": [
- {
- "id": 0,
- "language": {
- "name": "German"
}, - "isMain": true
}
], - "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
]
}, - "googleReviews": {
- "id": 12,
- "googlePropertyName": "Golden Tulip",
- "googlePropertyNameLastUpdate": "2019-08-24T14:15:22Z",
- "googleAddress": "string",
- "googleAddressLastUpdate": "2019-08-24T14:15:22Z",
- "googlePhoneNumber": "949302387654",
- "googlePhoneNumberLastUpdate": "2019-08-24T14:15:22Z",
- "googleCategory": "string",
- "googleCategoryLastUpdate": "2019-08-24T14:15:22Z",
- "propertyNameAndAddressAtGoogleScreenshotUrl": "string",
- "propertyNameAndAddressAtGoogleScreenshotUrlLastUpdate": "2019-08-24T14:15:22Z",
- "googleBusinessPlacesId": "string",
- "googleBusinessPlacesIdLastUpdate": "2019-08-24T14:15:22Z",
- "googleMapsWithGoogleBusinessPlacesIdScreenshotUrl": "string",
- "googleMapsGoogleBusinessPlacesIdScreenshotUrlLastUpdate": "2019-08-24T14:15:22Z",
- "googleRating": 0.1,
- "googleRatingLastUpdate": "2019-08-24T14:15:22Z",
- "googleNumberOfReviews": 0,
- "googleNumberOfReviewsLastUpdate": "2019-08-24T14:15:22Z",
- "googleRatingAndNumberOfReviewsScreenshotUrl": "string",
- "googleRatingAndNumberOfReviewsScreenshotUrlLastUpdate": "2019-08-24T14:15:22Z",
- "freeGoogleBookingLinks": true,
- "freeGoogleBookingLinksLastUpdate": "2019-08-24T14:15:22Z",
- "googleMetaSearchLinksUrl": "string",
- "googleMetaSearchLinksUrlLastUpdate": "2019-08-24T14:15:22Z",
- "websiteUrl": "string",
- "websiteUrlLastUpdate": "2019-08-24T14:15:22Z",
- "websiteUrlReachable": true,
- "websiteUrlReachabilityLastUpdate": "2019-08-24T14:15:22Z",
- "screenshotOfWebsiteLandingPageUrl": "string",
- "screenshotOfWebsiteLandingPageUrlLastUpdate": "2019-08-24T14:15:22Z",
- "sslCertificate": true,
- "sslCertificateBeginDate": "2019-08-24T14:15:22Z",
- "sslCertificateExpireDate": "2019-08-24T14:15:22Z",
- "sslCertificateLastUpdate": "2019-08-24T14:15:22Z",
- "languageOfWebsite": "string",
- "languageOfWebsiteLastUpdate": "2019-08-24T14:15:22Z",
- "cmsUsedInWebsite": "string",
- "cmsUsedInWebsiteLastUpdate": "2019-08-24T14:15:22Z",
- "versionOfCmsUsedInWebsite": "string",
- "versionOfCmsUsedInWebsiteLastUpdate": "2019-08-24T14:15:22Z",
- "programmingLanguageOfWebsite": "string",
- "programmingLanguageOfWebsiteLastUpdate": "2019-08-24T14:15:22Z",
- "versionOfProgrammingLanguage": "string",
- "versionOfProgrammingLanguageLastUpdate": "2019-08-24T14:15:22Z",
- "webserver": "string",
- "webserverLastUpdate": "2019-08-24T14:15:22Z",
- "screenshotOfCmsDetectionUrl": "string",
- "screenshotOfCmsDetectionUrlLastUpdate": "2019-08-24T14:15:22Z",
- "bookingEngine": true,
- "bookingEngineLastUpdate": "2019-08-24T14:15:22Z",
- "brandOfBookingEngine": "string",
- "brandOfBookingEngineLastUpdate": "2019-08-24T14:15:22Z",
- "screenshotOfBookingEngineUrl": "string",
- "screenshotOfBookingEngineUrlLastUpdate": "2019-08-24T14:15:22Z",
- "bookingEngineUrl": "string",
- "bookingEngineUrlLastUpdate": "2019-08-24T14:15:22Z",
- "name": "Golden Tulip",
- "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
], - "geoCodes": [
- {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}
], - "emailAddress": "string",
- "propertyWithAddressAndGeoCode": {
- "id": 0,
- "cultSwitchId": "1232",
- "code": "GT-01",
- "name": "Golden Tulip",
- "alternativeName": "Local name for Golden Tulip",
- "status": "ACTIVE",
- "forTesting": false,
- "isMaster": false,
- "isPermanentlyClosed": false,
- "autoReplenishment": false,
- "showCultSwitchDefaultCancellationRules": true,
- "favicon": "string",
- "emailAddressComment": "string",
- "emailAddressUnsubscribe": false,
- "vatNumber": "123456",
- "legalCompanyName": "Golden Tulip",
- "commercialRegistrationNumber": "aR43Q5",
- "managingDirector": "Mr X Y",
- "companyOrganisationNumber": "425ERQ",
- "fax": "425ERQ",
- "distributorType": "string",
- "billingAddress": {
- "id": 0,
- "invoiceRecipient1": "string",
- "invoiceRecipient2": "string",
- "invoiceRecipient3": "string",
- "street1": "string",
- "street2": "string",
- "postCode": "string",
- "city": "string",
- "billingEmailAddress": "string",
- "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
}, - "homeCurrency": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
], - "emails": [
- {
- "id": 0,
- "email": "info@gmail.com",
- "emailType": {
- "id": 0,
- "code": "info",
- "name": "Information"
}, - "status": "ACTIVE/BOUNCED",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "messages": [
- {
- "id": 12,
- "propertyId": 1000000,
- "campaignId": 0,
- "name": "string",
- "topic": "string",
- "subject": "string",
- "toAddress": "string",
- "toName": "string",
- "fromAddress": "string",
- "fromName": "string",
- "replyAddress": "string",
- "replyName": "string",
- "domain": "string",
- "provider": "string",
- "details": "string",
- "ewsId": "string",
- "status": "string",
- "body": "string",
- "sentAt": "2019-08-24T14:15:22Z",
- "scheduledFor": "2019-08-24T14:15:22Z",
- "permissionTimestamp": "2019-08-24T14:15:22Z",
- "dismissTopicTimestamp": "2019-08-24T14:15:22Z",
- "unsubscribeTimestamp": "2019-08-24T14:15:22Z",
- "permission": true,
- "dismissTopic": true,
- "unsubscribe": true,
- "dismissTopicIPv4": "192.168.1.1",
- "permissionIPv4": "192.168.1.1",
- "unsubscribeIPv4": "192.168.1.1",
- "permissionName": "string",
- "permissionTelephoneNumber": "string",
- "permissionEmailAddress": "string",
- "permissionComment": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "messageFeedbacks": [
- {
- "id": 0,
- "messageId": 123,
- "userId": "abc@email",
- "comment": "Offer Accepted",
- "status": "IN_DISCUSSION/INTERESTED/ONBOARDING/LIVE/NOT_INTERESTED/CONTACT_PERSON_NOT_AVAILABLE/ALREADY_USING_OFFERED_PRODUCT/CLICKED_DISMISSED_OR_UNSUBSCRIBED/MAXIMUM_TRIES_CALLS_REACHED/PROPERTY_IS_NOT_EXISTING/PROPERTY_IS_DUPLICATE_OF_ANOTHER_PROPERTY",
- "followUpDate": "2024-08-18 08:35:45",
- "nextFollowUpDate": "2024-08-26 09:45:55",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
]
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "supplier": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "isDeletedBySupplier": true,
- "aliasTo": 0,
- "logoUrl": "string",
- "mainUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "isDeleted": true,
- "createdBy": "user@email",
- "initialParentId": 1000000,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "ratings": [
- {
- "id": 0,
- "propertyId": 0,
- "provider": "Trivago",
- "rating": 4,
- "otherRating": "carbon-emission",
- "reviewRank": 7.7,
- "reviewCount": 3491,
- "isClassified": true
}
], - "availabilityUpdateCount": 0,
- "lastAvailabilityUpdate": "2019-08-24T14:15:22Z",
- "roundingRuleId": 0,
- "businessUnitId": 0,
- "fileName": "string",
- "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
], - "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "website": "marriott.com",
- "timezone": "string",
- "mainMedias": [
- {
- "id": 0,
- "sortOrderMain": 3,
- "mediaTypeId": 0,
- "mediaTypeCode": "img",
- "mediaTypeName": "Image"
}
]
}, - "website": "marriott.com",
- "screenshotOfFooterUrl": "string",
- "screenshotOfFooterUrlLastUpdate": "2019-08-24T14:15:22Z",
- "urlForAISystemsFound": true,
- "urlForAISystemsFoundLastUpdate": "2019-08-24T14:15:22Z",
- "latitude": 20.1,
- "longitude": 22.3
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}If supplier has role to read all properties than this endpoint will return any property in a system.
If supplier has no role to read all properties, result will return property only if it belongs to supplier.
| id required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "propertyId": 1000040,
- "website": "marriott.com",
- "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "brand": {
- "id": 0,
- "name": "Marriott",
- "code": "25hours",
- "alternativeName": "Marriott International"
}, - "timezone": "string",
- "taxpayerId": "1232 1233",
- "capacity": 40,
- "capacityType": "room",
- "isExist": true,
- "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "websiteUrlReachable": true,
- "websiteUrlReachabilityLastUpdate": "2019-08-24T14:15:22Z",
- "languages": [
- {
- "id": 0,
- "language": {
- "name": "German"
}, - "isMain": true
}
], - "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}It will return array of the identifiers if supplier has access to the property
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "propertyId": 1000040,
- "identifier": "40",
- "source": {
- "id": 0,
- "abbreviation": "exp",
- "name": "Expedia"
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1000000 RoomDB internal Property Id. Required. |
{- "result": [
- {
- "propertyId": 1000000,
- "identifierSourceId": 0,
- "facilityData": {
- "property1": { },
- "property2": { }
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1000000 RoomDB internal Property Id. Required. |
| identifierSourceId required | integer <int32> >= 1 RoomDB Identifier Source Id. Required. |
{- "result": {
- "propertyId": 1000000,
- "identifierSourceId": 0,
- "facilityData": {
- "property1": { },
- "property2": { }
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}If supplier has role to read all properties than this endpoint will return any property in a system.
If supplier has no role to read all properties, result will return property only if it belongs to supplier.
| id required | string [ 1 .. 255 ] characters CultSwitch id - property id that is used in CultSwitch. Also known as ObjectId. Required. |
{- "result": {
- "id": 0,
- "cultSwitchId": "1232",
- "code": "GT-01",
- "name": "Golden Tulip",
- "alternativeName": "Local name for Golden Tulip",
- "status": "ACTIVE",
- "forTesting": false,
- "isMaster": false,
- "isPermanentlyClosed": false,
- "autoReplenishment": false,
- "showCultSwitchDefaultCancellationRules": true,
- "favicon": "string",
- "emailAddressComment": "string",
- "emailAddressUnsubscribe": false,
- "vatNumber": "123456",
- "legalCompanyName": "Golden Tulip",
- "commercialRegistrationNumber": "aR43Q5",
- "managingDirector": "Mr X Y",
- "companyOrganisationNumber": "425ERQ",
- "fax": "425ERQ",
- "distributorType": "string",
- "billingAddress": {
- "id": 0,
- "invoiceRecipient1": "string",
- "invoiceRecipient2": "string",
- "invoiceRecipient3": "string",
- "street1": "string",
- "street2": "string",
- "postCode": "string",
- "city": "string",
- "billingEmailAddress": "string",
- "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
}, - "homeCurrency": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
], - "emails": [
- {
- "id": 0,
- "email": "info@gmail.com",
- "emailType": {
- "id": 0,
- "code": "info",
- "name": "Information"
}, - "status": "ACTIVE/BOUNCED",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "messages": [
- {
- "id": 12,
- "propertyId": 1000000,
- "campaignId": 0,
- "name": "string",
- "topic": "string",
- "subject": "string",
- "toAddress": "string",
- "toName": "string",
- "fromAddress": "string",
- "fromName": "string",
- "replyAddress": "string",
- "replyName": "string",
- "domain": "string",
- "provider": "string",
- "details": "string",
- "ewsId": "string",
- "status": "string",
- "body": "string",
- "sentAt": "2019-08-24T14:15:22Z",
- "scheduledFor": "2019-08-24T14:15:22Z",
- "permissionTimestamp": "2019-08-24T14:15:22Z",
- "dismissTopicTimestamp": "2019-08-24T14:15:22Z",
- "unsubscribeTimestamp": "2019-08-24T14:15:22Z",
- "permission": true,
- "dismissTopic": true,
- "unsubscribe": true,
- "dismissTopicIPv4": "192.168.1.1",
- "permissionIPv4": "192.168.1.1",
- "unsubscribeIPv4": "192.168.1.1",
- "permissionName": "string",
- "permissionTelephoneNumber": "string",
- "permissionEmailAddress": "string",
- "permissionComment": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "messageFeedbacks": [
- {
- "id": 0,
- "messageId": 123,
- "userId": "abc@email",
- "comment": "Offer Accepted",
- "status": "IN_DISCUSSION/INTERESTED/ONBOARDING/LIVE/NOT_INTERESTED/CONTACT_PERSON_NOT_AVAILABLE/ALREADY_USING_OFFERED_PRODUCT/CLICKED_DISMISSED_OR_UNSUBSCRIBED/MAXIMUM_TRIES_CALLS_REACHED/PROPERTY_IS_NOT_EXISTING/PROPERTY_IS_DUPLICATE_OF_ANOTHER_PROPERTY",
- "followUpDate": "2024-08-18 08:35:45",
- "nextFollowUpDate": "2024-08-26 09:45:55",
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "phones": [
- {
- "id": 0,
- "phoneNumber": "123-23-23",
- "extension": "#43",
- "phoneType": {
- "id": 0,
- "code": "voice",
- "name": "Voice"
}, - "name": "string"
}
]
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "supplier": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "isDeletedBySupplier": true,
- "aliasTo": 0,
- "logoUrl": "string",
- "mainUrl": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "isDeleted": true,
- "createdBy": "user@email",
- "initialParentId": 1000000,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "ratings": [
- {
- "id": 0,
- "propertyId": 0,
- "provider": "Trivago",
- "rating": 4,
- "otherRating": "carbon-emission",
- "reviewRank": 7.7,
- "reviewCount": 3491,
- "isClassified": true
}
], - "availabilityUpdateCount": 0,
- "lastAvailabilityUpdate": "2019-08-24T14:15:22Z",
- "roundingRuleId": 0,
- "businessUnitId": 0,
- "fileName": "string",
- "addresses": [
- {
- "id": 0,
- "addressType": "GEOCODE",
- "addressLine": "221b Baker St",
- "addressLine2": "221b Baker St",
- "cityName": "London",
- "postalCode": "NW1 6XE",
- "language": {
- "name": "German"
}, - "country": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "state": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
}
], - "geoCode": {
- "type": "Point",
- "latitude": 38.8951,
- "longitude": -77.0364
}, - "propertyType": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "website": "marriott.com",
- "timezone": "string",
- "mainMedias": [
- {
- "id": 0,
- "sortOrderMain": 3,
- "mediaTypeId": 0,
- "mediaTypeCode": "img",
- "mediaTypeName": "Image"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the logo entity will be included in result. There could be more than one logo.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoints to access Property Filters supported as of now,
These filterIds should be used in List of Properties Search end point
| id required | integer <int32> >= 1 Property Facility Filter ID. Required. |
{- "result": {
- "id": 0,
- "filterName": "string",
- "facilityMetaIds": [
- 0
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 RoomDB internal Sellable Unit Id. Required. |
{- "result": {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 Supplier unit id - unit (room, meal, etc.) id that is used on supplier side. Required. |
{- "result": {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result.
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. Default is 0. |
| size | integer <int32> >= 1 Default: 10 Size of the page in paginated request. Default is 10. |
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "first": true,
- "last": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result.
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. Default is 0. |
| size | integer <int32> >= 1 Default: 10 Size of the page in paginated request. Default is 10. |
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| type required | string [ 1 .. 255 ] characters Sellable Unit type code. Required. |
{- "result": {
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "first": true,
- "last": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result.
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. Default is 0. |
| size | integer <int32> >= 1 Default: 10 Size of the page in paginated request. Default is 10. |
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| isExtra required | boolean Get extra or not extra Sellable Units. Required. |
| language | string Default: "en" language, Default is 'en'. |
{- "result": {
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "first": true,
- "last": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}It will return array of the identifiers if supplier has access to the sellable unit
| sellableUnitId required | integer <int32> >= 1 RoomDB internal sellable unit Id. Required. |
{- "result": [
- {
- "sellableUnitId": 123,
- "identifier": "40",
- "source": {
- "id": 0,
- "abbreviation": "exp",
- "name": "Expedia"
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result. If you need to access to all sellable units related to a property, using "paging" endpoint is strongly recommended.Also result of this endpoint will include additional information for each sellable unit. Additional fields are: capacities, logos and media
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result. Also result of this endpoint will include additional information for each sellable unit. Additional fields are: capacities, logos and media
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. Default is 0. |
| size | integer <int32> >= 1 Default: 10 Size of the page in paginated request. Default is 10. |
{- "result": {
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "first": true,
- "last": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| sellableUnitId required | integer <int32> >= 1 RoomDB internal Sellable Unit Id. Required. |
{- "result": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| type required | string [ 1 .. 255 ] characters Sellable Unit type code. Required. |
{- "result": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> |
| supplierUnitId required | integer <int32> |
{- "result": {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the sellable unit entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| isExtra required | boolean Get extra or not extra Sellable Units. Required. |
| language | string Default: "en" language, Default is 'en'. |
{- "result": [
- {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}Two params are needed: External System Abbreviation and External System Id.
| source required | string [ 1 .. 255 ] characters External System Abbreviation - abbreviation that is used in RoomDb to identify External system. In models known as IdentifierSource - abbreviation. Required. |
| id required | string [ 1 .. 255 ] characters External System Id - identifier that is used in External system. Required. |
{- "result": {
- "id": 0,
- "propertyId": 1000040,
- "baseText": "string",
- "supplierUnitId": 0,
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "limited": false,
- "isExtra": true,
- "soldOverTime": true,
- "isCityTax": true,
- "displayOccupancyPricesOnCalendar": true,
- "basePrice": 55.9,
- "mealType": "string",
- "basePriceBeforeTax": 45,
- "sellableUnitType": {
- "id": 0,
- "code": "room",
- "name": "Room"
}, - "roomTypeId": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "noOfSellableUnits": 1,
- "roomType": "Deluxe/Suite",
- "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "timeType": "day",
- "paymentType": "per_stay",
- "paymentMode": "AMOUNT",
- "channelIds": [
- 0
], - "capacities": [
- {
- "id": 0,
- "sellableUnitId": 12,
- "capacity": 30,
- "minCapacity": 1,
- "maxCapacity": 4,
- "dateRanges": [
- {
- "cultSwitchId": "string",
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "days": "[MON]",
- "isBlockOutRange": false,
- "isValidityRange": false,
- "isPriceRange": false,
- "isBookableRange": false,
- "isArrivalRange": false,
- "isDepartureRange": false,
- "unLimited": false,
- "price": 10.2
}
]
}
], - "logos": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "media": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "product": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "numberOfProducts": 0,
- "inventoryType": "string",
- "isProtected": true,
- "assignedToProduct": true,
- "isMandatory": true,
- "ratePlanId": 0,
- "ratePlanSupplierUnitId": "string",
- "translationKey": "string",
- "fileName": "string",
- "cultSwitchImportLink": "string",
- "createdBySupplierId": 0,
- "updatedBySupplierId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "iCalLink": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}{- "result": [
- {
- "id": 0,
- "roomFacilityId": 0,
- "roomFacilityName": "string",
- "otaRoomAmenityType": 0,
- "bookingExtendedLegacyCode": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 Room Facility Meta ID. Required. |
{- "result": {
- "id": 0,
- "roomFacilityId": 0,
- "roomFacilityName": "string",
- "otaRoomAmenityType": 0,
- "bookingExtendedLegacyCode": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 Room Facility Meta Facility ID. Required. |
{- "result": {
- "id": 0,
- "roomFacilityId": 0,
- "roomFacilityName": "string",
- "otaRoomAmenityType": 0,
- "bookingExtendedLegacyCode": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoints to get products related data for Type A properties.
| propertyId required | integer <int32> Property Id. |
| checkInDate required | string arrivalDate |
| checkOutDate required | string departureDate |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| language | string Default: "en" Language. |
| promoCode | string Promo Code. |
object (CreateReservationGuestCount) |
{- "propertyId": 1000003,
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "language": "en",
- "promoCode": "promo123",
- "totalGuestCounts": {
- "adults": 2,
- "children": [
- {
- "count": 1,
- "age": "7"
}
]
}
}{- "result": {
- "basicPropertyInfo": {
- "cultSwitchPropertyId": "string",
- "propertyName": "string",
- "addresses": {
- "streetNumber": "string",
- "cityName": "string",
- "postalCode": "string",
- "countryCode": "string",
- "countryName": "string"
}, - "supportedCardTypes": [
- "string"
]
}, - "products": [
- {
- "id": "string",
- "roomTypeNumberOfUnits": 0,
- "mealsIncluded": [
- {
- "id": 0,
- "code": "MPT",
- "name": "OPL",
- "codeSource": "OTA",
- "translationKey": "string"
}
], - "guarantee": 0,
- "productDescription": {
- "name": "string",
- "language": "string",
- "description": "string"
}, - "extras": [
- {
- "amount": 0.1,
- "percent": 0.1,
- "extraCode": "string",
- "name": "string"
}
], - "cancelPolicies": [
- {
- "policyCode": "string",
- "amount": 0.1,
- "percent": 0.1,
- "numberOfNights": 0,
- "basisType": "string",
- "offsetDropTime": "string",
- "offsetTimeUnit": "string",
- "offsetUnitMultiplier": 0,
- "description": {
- "name": "string",
- "language": "string",
- "description": "string"
}
}
], - "noShowPolicies": [
- {
- "policyCode": "string",
- "amount": 0.1,
- "percent": 0.1,
- "numberOfNights": 0,
- "basisType": "string",
- "offsetDropTime": "string",
- "offsetTimeUnit": "string",
- "offsetUnitMultiplier": 0,
- "description": {
- "name": "string",
- "language": "string",
- "description": "string"
}
}
], - "productPriceVariation": {
- "maxGuestApplicable": 0,
- "minGuestApplicable": 0,
- "stdGuestApplicable": 0,
- "priceVariation": [
- {
- "minAge": 0,
- "maxAge": 0,
- "amountOrPercent": 0.1,
- "isPercent": true
}
]
}, - "bookingGuaranteeCode": 0,
- "paymentPolicies": [
- {
- "amount": 0.1,
- "percent": 0.1,
- "numberOfNights": 0,
- "basisType": "string",
- "offsetDropTime": "string",
- "offsetTimeUnit": "string",
- "offsetUnitMultiplier": 0,
- "guaranteeCode": 0
}
], - "isExtra": true,
- "roomType": {
- "roomTypeCode": "string",
- "name": "string",
- "description": "string",
- "language": "string",
- "roomTypeName": "string",
- "medias": [
- {
- "id": 0,
- "sellableUnitId": 0,
- "sortOrder": 3,
}
]
}, - "roomRates": [
- {
- "occupancy": 0,
- "baseAmount": 0.1,
- "currency": "string",
- "totalAmount": 0.1,
- "discountAmount": 0.1,
- "children": [
- {
- "count": 1,
- "age": "7"
}
]
}
], - "medias": [
- {
- "id": 0,
- "sellableUnitId": 0,
- "sortOrder": 3,
}
]
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoints to get products related data for Type B properties.
| propertyId required | string PropertyId. |
| checkInDate required | string arrivalDate |
| checkOutDate required | string departureDate |
Array of objects (NuiteeRatesRoomsRequest) | |
| currency | string |
| nationality | string |
| language | string |
| refundableRatesOnly | boolean |
{- "propertyId": "1000000",
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "rooms": [
- {
- "adults": 0,
- "children": 0,
- "childAges": [
- 0
]
}
], - "currency": "string",
- "nationality": "string",
- "language": "string",
- "refundableRatesOnly": true
}{- "result": {
- "apiStatus": "string",
- "httpStatus": "string",
- "message": "string",
- "data": [
- {
- "hotelId": "string",
- "roomTypes": [
- {
- "roomTypeId": "string",
- "offerId": "string",
- "supplier": "string",
- "supplierId": 0,
- "rates": [
- {
- "rateId": "string",
- "occupancyNumber": 0,
- "name": "string",
- "maxOccupancy": 0,
- "adultCount": 0,
- "childCount": 0,
- "boardType": "string",
- "boardName": "string",
- "remarks": "string",
- "priceType": "string",
- "commission": [
- {
- "amount": null,
- "currency": null
}
], - "retailRate": {
- "total": [
- null
], - "suggestedSellingPrice": [
- null
], - "initialPrice": [
- null
], - "taxesAndFees": [
- null
]
}, - "cancellationPolicies": {
- "cancelPolicyInfos": [
- null
], - "hotelRemarks": [
- null
], - "refundableTag": "string"
}, - "mappedRoomId": 0,
- "paymentTypes": [
- "string"
], - "providerCommission": {
- "amount": 0,
- "currency": "string"
}, - "images": [
- "string"
], - "staticData": {
- "bedTypes": [
- null
], - "roomAmenities": [
- null
], - "views": [
- null
], - "bedRelation": "string"
}
}
], - "offerRetailRate": {
- "amount": 0,
- "currency": "string"
}, - "suggestedSellingPrice": {
- "amount": 0,
- "currency": "string",
- "source": "string"
}, - "offerInitialPrice": {
- "amount": 0,
- "currency": "string"
}, - "priceType": "string",
- "rateType": "string",
- "paymentTypes": [
- "string"
]
}
], - "et": 0
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyIds | Array of integers <int32> [ items <int32 > ] |
| checkIn required | string arrivalDate |
| checkOut required | string departureDate |
{- "propertyIds": [
- 0
], - "checkIn": "2024-08-18",
- "checkOut": "2024-08-19"
}{- "result": [
- {
- "propertyId": 0,
- "availability": {
- "checkIn": "string",
- "checkOut": "string",
- "hotelId": "string",
- "price": 0,
- "currency": "string",
- "lastUpdated": "string"
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> RoomDb Property Id |
| noOfRooms required | string Number of Rooms |
| noOfPersons required | string Number of Persons per room |
| checkInDate required | string <date> Check In Date in yyyy-MM-dd format |
| checkOutDate required | string <date> Check Out Date in yyyy-MM-dd format |
| isProduction | boolean Default: true Is Production, Default value true |
{- "result": {
- "response": [
- {
- "id": 0,
- "propertyId": 0,
- "availabilityId": 0,
- "baseName": "string",
- "supplierUnitId": 0,
- "roomTypeCode": "string",
- "marketCode": "string",
- "ratePlanType": "string",
- "numberOfRoomsAvailable": "string",
- "maxPersons": "string",
- "sellableUnit": {
- "id": 0,
- "propertyId": 0,
- "partnerDistributorId": 0,
- "supplierUnitId": "string",
- "roomType": "string",
- "noOfSellableUnits": 0,
- "sellableUnitTypeId": 0,
- "names": [
- {
- "text": "string",
- "languageId": 0
}
], - "ehotelCode": "string"
}, - "descriptions": [
- {
- "text": "string",
- "languageId": 0
}
], - "ratePlanCalendar": {
- "priceBeforeTax": 0,
- "priceAfterTax": 0,
- "countAvailable": 0,
- "startDate": "string",
- "endDate": "string"
}, - "cancelPolicies": {
- "nonRefundable": true,
- "penaltyDescriptions": [
- {
- "text": "string",
- "formatted": true
}
]
}, - "paymentPolicies": {
- "guaranteePayment": {
- "guaranteeType": "string",
- "guaranteeCode": "string",
- "psd2": {
- "required": true
}
}
}, - "meal": {
- "breakfast": true,
- "halfBoard": true,
- "mealPlanCodes": "string"
}, - "base": {
- "amountAfterTax": 0,
- "amountBeforeTax": 0,
- "currencyCode": "string",
- "taxes": {
- "tax": [
- {
- "type": "string"
}
]
}
}, - "total": {
- "amountBeforeTax": "string",
- "amountAfterTax": "string",
- "currencyCode": "string"
}, - "basicInfo": {
- "hotelName": "string",
- "hotelCode": "string",
- "status": "string",
- "forTesting": true,
- "latitude": "string",
- "longitude": "string",
- "street": "string",
- "city": "string",
- "postalCode": "string",
- "countryCode": "string",
- "master": true
}, - "guarantee": {
- "guaranteesAccepted": [
- {
- "paymentCards": [
- {
- "cardCode": "string",
- "cardType": "string",
- "cardToken": "string"
}
], - "directBill": {
- "directBillId": "string"
}, - "paymentTransactionTypeCode": "string"
}
]
}, - "occupancy": {
- "guestCounts": [
- {
- "ageQualifyingCode": 0,
- "count": 0
}
]
}, - "mainImage": "string",
- "roomImages": [
- "string"
], - "additionalDetails": {
- "property1": "string",
- "property2": "string"
}
}
], - "apiStatus": "string",
- "httpStatus": "string",
- "message": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> RoomDb Property Id |
| noOfRooms required | string Number of Rooms |
| noOfPersons required | string Number of Persons per room |
| checkInDate required | string <date> Check In Date in yyyy-MM-dd format |
| checkOutDate required | string <date> Check Out Date in yyyy-MM-dd format |
| isProduction | boolean Default: true Is Production, Default value true |
{- "result": {
- "response": [
- {
- "id": 0,
- "propertyId": 0,
- "roomType": "string",
- "roomTypeAvailabilities": [
- {
- "id": 0,
- "propertyId": 0,
- "availabilityId": 0,
- "baseName": "string",
- "supplierUnitId": "string",
- "roomTypeCode": "string",
- "marketCode": "string",
- "ratePlanType": "string",
- "numberOfRoomsAvailable": "string",
- "maxPersons": "string",
- "sellableUnit": {
- "id": 0,
- "propertyId": 0,
- "partnerDistributorId": 0,
- "supplierUnitId": "string",
- "roomType": "string",
- "noOfSellableUnits": 0,
- "sellableUnitTypeId": 0,
- "names": [
- {
- "text": "string",
- "languageId": 0
}
], - "ehotelCode": "string"
}, - "descriptions": [
- {
- "text": "string",
- "languageId": 0
}
], - "ratePlanCalendar": {
- "priceBeforeTax": 0,
- "priceAfterTax": 0,
- "countAvailable": 0,
- "startDate": "string",
- "endDate": "string"
}, - "cancelPolicies": {
- "nonRefundable": true,
- "penaltyDescriptions": [
- {
- "text": "string",
- "formatted": true
}
]
}, - "paymentPolicies": {
- "guaranteePayment": {
- "guaranteeType": "string",
- "guaranteeCode": "string",
- "psd2": {
- "required": true
}
}
}, - "meal": {
- "breakfast": true,
- "halfBoard": true,
- "mealPlanCodes": "string"
}, - "base": {
- "amountAfterTax": 0,
- "amountBeforeTax": 0,
- "currencyCode": "string",
- "taxes": {
- "tax": [
- {
- "type": null
}
]
}
}, - "total": {
- "amountBeforeTax": "string",
- "amountAfterTax": "string",
- "currencyCode": "string"
}, - "basicInfo": {
- "hotelName": "string",
- "hotelCode": "string",
- "status": "string",
- "forTesting": true,
- "latitude": "string",
- "longitude": "string",
- "street": "string",
- "city": "string",
- "postalCode": "string",
- "countryCode": "string",
- "master": true
}, - "guarantee": {
- "guaranteesAccepted": [
- {
- "paymentCards": [
- null
], - "directBill": {
- "directBillId": null
}, - "paymentTransactionTypeCode": "string"
}
]
}, - "occupancy": {
- "guestCounts": [
- {
- "ageQualifyingCode": 0,
- "count": 0
}
]
}, - "additionalDetails": {
- "property1": "string",
- "property2": "string"
}
}
], - "mainImage": "string",
- "roomImages": [
- "string"
]
}
], - "apiStatus": "string",
- "httpStatus": "string",
- "message": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> RoomDb Property Id |
| startDate required | string <date> Start Date in yyyy-MM-dd format |
| endDate required | string <date> End Date in yyyy-MM-dd format |
| noOfRooms required | integer <int32> Number Of Rooms |
| noOfPersons required | integer <int32> Number Of Persons |
{- "result": {
- "response": [
- {
- "id": 0,
- "propertyId": 0,
- "roomType": "string",
- "roomTypeAvailabilities": [
- {
- "id": 0,
- "propertyId": 0,
- "availabilityId": 0,
- "baseName": "string",
- "supplierUnitId": "string",
- "roomTypeCode": "string",
- "marketCode": "string",
- "ratePlanType": "string",
- "numberOfRoomsAvailable": "string",
- "maxPersons": "string",
- "sellableUnit": {
- "id": 0,
- "propertyId": 0,
- "partnerDistributorId": 0,
- "supplierUnitId": "string",
- "roomType": "string",
- "noOfSellableUnits": 0,
- "sellableUnitTypeId": 0,
- "names": [
- {
- "text": "string",
- "languageId": 0
}
], - "ehotelCode": "string"
}, - "descriptions": [
- {
- "text": "string",
- "languageId": 0
}
], - "ratePlanCalendar": {
- "priceBeforeTax": 0,
- "priceAfterTax": 0,
- "countAvailable": 0,
- "startDate": "string",
- "endDate": "string"
}, - "cancelPolicies": {
- "nonRefundable": true,
- "penaltyDescriptions": [
- {
- "text": "string",
- "formatted": true
}
]
}, - "paymentPolicies": {
- "guaranteePayment": {
- "guaranteeType": "string",
- "guaranteeCode": "string",
- "psd2": {
- "required": true
}
}
}, - "meal": {
- "breakfast": true,
- "halfBoard": true,
- "mealPlanCodes": "string"
}, - "base": {
- "amountAfterTax": 0,
- "amountBeforeTax": 0,
- "currencyCode": "string",
- "taxes": {
- "tax": [
- {
- "type": null
}
]
}
}, - "total": {
- "amountBeforeTax": "string",
- "amountAfterTax": "string",
- "currencyCode": "string"
}, - "basicInfo": {
- "hotelName": "string",
- "hotelCode": "string",
- "status": "string",
- "forTesting": true,
- "latitude": "string",
- "longitude": "string",
- "street": "string",
- "city": "string",
- "postalCode": "string",
- "countryCode": "string",
- "master": true
}, - "guarantee": {
- "guaranteesAccepted": [
- {
- "paymentCards": [
- null
], - "directBill": {
- "directBillId": null
}, - "paymentTransactionTypeCode": "string"
}
]
}, - "occupancy": {
- "guestCounts": [
- {
- "ageQualifyingCode": 0,
- "count": 0
}
]
}, - "additionalDetails": {
- "property1": "string",
- "property2": "string"
}
}
], - "mainImage": "string",
- "roomImages": [
- "string"
]
}
], - "apiStatus": "string",
- "httpStatus": "string",
- "message": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyIds | Array of integers <int32> [ items <int32 > ] |
| checkIn required | string arrivalDate |
| checkOut required | string departureDate |
{- "propertyIds": [
- 0
], - "checkIn": "2024-08-18",
- "checkOut": "2024-08-19"
}{- "result": [
- {
- "propertyId": 0,
- "availability": {
- "checkIn": "string",
- "checkOut": "string",
- "hotelId": "string",
- "price": 0,
- "currency": "string",
- "lastUpdated": "string"
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 RoomDB internal media Id. Required. |
{- "result": {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| sellableUnitId | integer <int32> >= 0 SellableUnitId. |
| sortBy | string Default: "sortOrder" Field name that should be used for sorting in paginated request. Default is 'sortOrder'. |
| sortDesc | boolean Default: false Is descending sort should be applied in sorting in paginated request. Default is 'false'. |
| mediaTypeId | string Example: mediaTypeId=1 mediaTypeId |
| isMain | string Example: isMain=false isMain |
| isLogo | string Example: isLogo=false isLogo |
| isScreenshot | string Example: isScreenshot=false isScreenshot |
| isUnassigned | string Example: isUnassigned=false isUnassigned |
| isMemo | string Example: isMemo=false isMemo |
| isFullBackgroundImage | string Example: isFullBackgroundImage=false isFullBackgroundImage |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| sellableUnitId | integer <int32> >= 0 SellableUnitId. |
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. |
| size | integer <int32> [ 1 .. 100 ] Default: 10 Size of the page in paginated request. |
| sortBy | string Default: "sortOrder" Field name that should be used for sorting in paginated request. Default is 'sortOrder'. |
| sortDesc | boolean Default: false Is descending sort should be applied in sorting in paginated request. Default is 'false'. |
| mediaTypeId | string Example: mediaTypeId=1 mediaTypeId |
| isMain | string Example: isMain=false isMain |
| isLogo | string Example: isLogo=false isLogo |
| isScreenshot | string Example: isScreenshot=false isScreenshot |
| isUnassigned | string Example: isUnassigned=false isUnassigned |
| isMemo | string Example: isMemo=false isMemo |
| isFullBackgroundImage | string Example: isFullBackgroundImage=false isFullBackgroundImage |
{- "result": {
- "content": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}{- "result": [
- {
- "id": 0,
- "code": "Width",
- "name": "Image Width",
- "predefinedValues": [
- {
- "id": 0,
- "value": "20",
- "description": "Miscellaneous"
}
], - "mediaType": {
- "id": 0,
- "code": "img",
- "name": "Image"
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| mediaTypeId required | integer <int32> >= 1 RoomDB internal media type Id. Required. |
{- "result": [
- {
- "id": 0,
- "code": "Width",
- "name": "Image Width",
- "predefinedValues": [
- {
- "id": 0,
- "value": "20",
- "description": "Miscellaneous"
}
], - "mediaType": {
- "id": 0,
- "code": "img",
- "name": "Image"
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| mediaId required | integer <int32> >= 1 RoomDB internal media Id. Required. |
{- "result": [
- {
- "id": 0,
- "mediaId": 12,
- "mediaAttributeType": {
- "id": 0,
- "code": "Width",
- "name": "Image Width",
- "predefinedValues": [
- {
- "id": 0,
- "value": "20",
- "description": "Miscellaneous"
}
], - "mediaType": {
- "id": 0,
- "code": "img",
- "name": "Image"
}
}, - "value": "720",
- "dimension": "pixel"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
This api returns first media with lowest sort order. If no media exist with sort order, it will return any one media. If no media exist for property, empty array will be returned
| cultSwitchPropertyId required | string Cultswitch property Id. Required. |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
| sellableUnitId required | string >= 1 Example: 12 Room DB internal sellable unit id. |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
If you need to access to all medias related to a property, using "paging" endpoint is strongly recommended.If the caller has sufficient privileges, this endpoint will return all media in the system related to the property ID.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. |
| size | integer <int32> >= 1 Default: 10 Size of the page in paginated request. |
{- "result": {
- "content": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
If you need access to all medias related to a property, using "paging" endpoint is strongly recommended.If the caller has sufficient privileges, this endpoint will return all media in the system related to the property ID.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| isMain required | boolean Value for isMain |
| includeScreenshot | string Example: includeScreenshot=false Include screenshot in the list |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
If you need access to all medias related to a property, using "paging" endpoint is strongly recommended.If the caller has sufficient privileges, this endpoint will return all media in the system related to the property ID.
| cultSwitchPropertyId required | string Cultswitch property Id. Required. |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
| cultSwitchPropertyId required | string Cultswitch property Id. Required. |
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. |
| size | integer <int32> [ 1 .. 100 ] Default: 10 Size of the page in paginated request. |
{- "result": {
- "content": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the media entity will be included in result.
If you need access to all medias related to a property, using "paging" endpoint is strongly recommended.If the caller has sufficient privileges, this endpoint will return all media in the system related to the property ID.
| cultSwitchPropertyId required | string Cultswitch property Id. Required. |
| isMain required | boolean Value for isMain |
| includeScreenshot | string Example: includeScreenshot=false Include screenshot in the list |
{- "result": [
- {
- "id": 0,
- "sortOrderMain": 0,
- "url": "string",
- "mediaTypeId": 0,
- "mediaTypeCode": "string",
- "mediaTypeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1 RoomDB PropertyId. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| availabilityGtThan | integer <int32> >= 0 Availability filter number. Records with availability grater than provided number will be included in result. Optional. |
| closedForSale | boolean Include in result closed for sale records. Optional. |
| channelId | integer <int32> >= 1 Channel identifier. Optional. |
| productId | Array of integers <int32> [ items <int32 > ] CSV list of Product identifiers. Optional. |
| roomId | Array of integers <int32> [ items <int32 > ] CSV list of Room identifiers. Optional. |
[- {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
]This API fetches record based on default restrictions :
availability greater than zero Or
closedForSale is true Or
closedToArrival is true Or
closedToDeparture is true Or
minLos is greater than one
| propertyId required | integer <int32> >= 1 RoomDB PropertyId. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| channelId | integer <int32> >= 1 Channel identifier. Required. |
| productId | Array of integers <int32> [ items <int32 > ] CSV list of Product identifiers. Optional. |
| roomId | Array of integers <int32> [ items <int32 > ] CSV list of Room identifiers. Optional. |
[- {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
]| propertyId required | integer <int32> >= 1 RoomDB PropertyId. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| availabilityGtThan | integer <int32> >= 0 Availability filter number. Records with availability grater than provided number will be included in result. Optional. |
| closedForSale | boolean Include in result closed for sale records. Optional. |
| channelId | integer <int32> >= 1 Channel identifier. Optional. |
| productId | Array of integers <int32> [ items <int32 > ] CSV list of Product identifiers. Optional. |
| roomId | Array of integers <int32> [ items <int32 > ] CSV list of Room identifiers. Optional. |
{- "prices": {
- "property1": 0.1,
- "property2": 0.1
}, - "closeDepartureParams": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "closeArrivalParams": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "closeSaleParams": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "currency": [
- "string"
], - "symbol": [
- "string"
], - "min_stays": {
- "property1": { },
- "property2": { }
}, - "min_stays_only": {
- "property1": { },
- "property2": { }
}, - "MinLos": {
- "property1": 0,
- "property2": 0
}, - "Cheapest": {
- "property1": {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
}
}| propertyId required | integer <int32> >= 1 RoomDB PropertyId. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
[- {
- "productId": 144308,
- "roomId": 101219,
- "roomType": "Executive Room",
- "roomName": "Executive Room Name",
- "productName": "Double Room with breakfast",
- "occupancy": 2,
- "meal": "English Breakfast",
- "mealName": "English Breakfast Name",
- "paymentPolicy": "Payment Policy",
- "cancellationPolicy": "Cancellation Policy",
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
]API endpoints for Reservations for Type A properties.
| pci-token | string |
| propertyId required | integer <int32> Property Id. |
| arrival required | string arrivalDate |
| departure required | string departureDate |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| language | string Default: "en" Language. |
required | Array of objects (CreateReservationRoomRate) |
required | object (CreateReservationGuestCount) |
| comments | Array of strings |
required | object (CreateReservationBooker) |
Array of objects (CreateReservationGuest) | |
object (CreateReservationOtaDetails) | |
object (CreateReservationCreditCardDetails) | |
| isCreditCardBooking | boolean |
{- "propertyId": 1000003,
- "arrival": "2024-08-18",
- "departure": "2024-08-19",
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "language": "en",
- "roomRates": [
- {
- "numberOfUnits": 1,
- "ratePlanId": "12345"
}
], - "totalGuestCounts": {
- "adults": 2,
- "children": [
- {
- "count": 1,
- "age": "7"
}
]
}, - "comments": [
- "string"
], - "booker": {
- "givenName": "First Name",
- "surName": "Sur Name",
- "phoneNumber": "+1111122222",
- "email": "abc@email.com",
- "addresses": [
- {
- "streetNmbr": "234",
- "cityName": "Berlin",
- "postalCode": "3R4D2E",
- "countryCode": "de",
- "countryName": "Germany",
- "companyName": "ABC Company",
- "addressLine": [
- "string"
], - "isBillingAddress": true
}
]
}, - "guests": [
- {
- "ratePlanId": "123456",
- "unit": "1",
- "givenName": "First Name",
- "surName": "Sur Name",
- "guestCounts": {
- "adults": 2,
- "children": [
- {
- "count": 1,
- "age": "7"
}
]
}
}
], - "otaDetails": {
- "bookingId": "123456789",
- "sourceOfBooking": "CultBooking Neo",
- "transactionNumber": "CBMV"
}, - "ccData": {
- "cardNumber": "string",
- "cardType": "string",
- "cardHolderName": "string",
- "expirationDate": "string",
- "cvv": "string"
}, - "isCreditCardBooking": true
}{- "result": {
- "status": "string",
- "reservationId": "string",
- "bookerReservationId": "string",
- "transactionIdentifier": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> Property Id. |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| reservationId required | string Reservation Id. |
| language | string Default: "en" Language. |
{- "propertyId": 1000003,
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "reservationId": "14253cds3bc244e",
- "language": "en"
}{- "result": {
- "status": "string",
- "reservationId": "string",
- "bookerReservationId": "string",
- "transactionIdentifier": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| pci-token | string |
| propertyId required | integer <int32> Property Id. |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| reservationId required | string Reservation Id. |
object (CreateReservationCreditCardDetails) |
{- "propertyId": 1000003,
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "reservationId": "14253cds3bc244e",
- "ccData": {
- "cardNumber": "string",
- "cardType": "string",
- "cardHolderName": "string",
- "expirationDate": "string",
- "cvv": "string"
}
}{- "result": {
- "status": "string",
- "reservationId": "string",
- "bookerReservationId": "string",
- "transactionIdentifier": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> |
| bookingId required | integer <int32> |
{- "result": {
- "reservations": [
- {
- "name": "string",
- "status": "string",
- "currency": "string",
- "booker": {
- "id": 0,
- "name": "string",
- "surname": "string",
- "phone": "string",
- "mail": "string",
- "address": {
- "street": "string",
- "country": "string",
- "city": "string",
- "address_line": [
- "string"
], - "street_number": "string",
- "country_code": "string",
- "postal_code": "string",
- "company_name": "string"
}, - "billing_address": {
- "street": "string",
- "country": "string",
- "city": "string",
- "address_line": [
- "string"
], - "street_number": "string",
- "country_code": "string",
- "postal_code": "string",
- "company_name": "string"
}
}, - "refundable": true,
- "remarks": {
- "room": [
- "string"
]
}, - "booking_id": 0,
- "hotel_code": 0,
- "booking_date": "string",
- "modification_date": "string",
- "total_price": "string",
- "travel_period": {
- "arrival": "string",
- "departure": "string"
}, - "guest_count": {
- "adults": 0,
- "children": [
- {
- "count": 0,
- "age": 0
}
]
}, - "cancellation_details": {
- "cancellation_date": "string",
- "cancelled_by": "string",
- "cancellation_reason": "string"
}, - "ota_details": {
- "id": 0,
- "booking_id": "string",
- "source_of_booking": "string",
- "booking_date_time": "string",
- "transaction_number": "string"
}, - "booked_rooms": [
- {
- "units": 0,
- "services": {
- "type": "string",
- "meal_plan_code": "string",
- "price_mode": "string"
}, - "days": [
- {
- "day": "string",
- "price": "string"
}
], - "room_id": 0,
- "room_name": "string",
- "product_id": 0,
- "product_name": "string",
- "guest_references": [
- {
- "id": 0
}
]
}
], - "services": [
- {
- "name": "string",
- "type": "string",
- "units": 0,
- "persons": 0,
- "meal_plan_code": 0,
- "price_mode": "string",
- "price_per_unit": "string",
- "total_price": "string"
}
], - "guest_details": [
- {
- "id": 0,
- "guests": [
- {
- "name": "string",
- "surname": "string",
- "phone": "string",
- "mail": "string",
- "address": {
- "street": "string",
- "country": "string",
- "city": "string",
- "address_line": [
- null
], - "street_number": "string",
- "country_code": "string",
- "postal_code": "string",
- "company_name": "string"
}
}
], - "guest_count": {
- "adults": 0,
- "children": [
- {
- "count": 0,
- "age": 0
}
]
}
}
], - "cancel_penalties": [
- {
- "id": 0,
- "deadline": {
- "time_unit": "string",
- "unit_multiplier": 0,
- "drop_time": "string"
}, - "fee": {
- "amount": 0.1,
- "percentage": 0.1,
- "basis_type": "string"
}
}
]
}
], - "success": true,
- "processing_times": {
- "csuuid": "string",
- "start_time": "string",
- "end_time": "string"
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| distributorId required | integer <int32> |
| distributorCode required | string |
| bookingId | integer <int32> |
| propertyId | integer <int32> |
| channelBookingId | string |
| start | string |
| end | string |
{- "result": {
- "reservations": [
- {
- "name": "string",
- "status": "string",
- "currency": "string",
- "booker": {
- "id": 0,
- "name": "string",
- "surname": "string",
- "phone": "string",
- "mail": "string",
- "address": {
- "street": "string",
- "country": "string",
- "city": "string",
- "address_line": [
- "string"
], - "street_number": "string",
- "country_code": "string",
- "postal_code": "string",
- "company_name": "string"
}, - "billing_address": {
- "street": "string",
- "country": "string",
- "city": "string",
- "address_line": [
- "string"
], - "street_number": "string",
- "country_code": "string",
- "postal_code": "string",
- "company_name": "string"
}
}, - "refundable": true,
- "remarks": {
- "room": [
- "string"
]
}, - "booking_id": 0,
- "hotel_code": 0,
- "booking_date": "string",
- "modification_date": "string",
- "total_price": "string",
- "travel_period": {
- "arrival": "string",
- "departure": "string"
}, - "guest_count": {
- "adults": 0,
- "children": [
- {
- "count": 0,
- "age": 0
}
]
}, - "cancellation_details": {
- "cancellation_date": "string",
- "cancelled_by": "string",
- "cancellation_reason": "string"
}, - "ota_details": {
- "id": 0,
- "booking_id": "string",
- "source_of_booking": "string",
- "booking_date_time": "string",
- "transaction_number": "string"
}, - "booked_rooms": [
- {
- "units": 0,
- "services": {
- "type": "string",
- "meal_plan_code": "string",
- "price_mode": "string"
}, - "days": [
- {
- "day": "string",
- "price": "string"
}
], - "room_id": 0,
- "room_name": "string",
- "product_id": 0,
- "product_name": "string",
- "guest_references": [
- {
- "id": 0
}
]
}
], - "services": [
- {
- "name": "string",
- "type": "string",
- "units": 0,
- "persons": 0,
- "meal_plan_code": 0,
- "price_mode": "string",
- "price_per_unit": "string",
- "total_price": "string"
}
], - "guest_details": [
- {
- "id": 0,
- "guests": [
- {
- "name": "string",
- "surname": "string",
- "phone": "string",
- "mail": "string",
- "address": {
- "street": "string",
- "country": "string",
- "city": "string",
- "address_line": [
- null
], - "street_number": "string",
- "country_code": "string",
- "postal_code": "string",
- "company_name": "string"
}
}
], - "guest_count": {
- "adults": 0,
- "children": [
- {
- "count": 0,
- "age": 0
}
]
}
}
], - "cancel_penalties": [
- {
- "id": 0,
- "deadline": {
- "time_unit": "string",
- "unit_multiplier": 0,
- "drop_time": "string"
}, - "fee": {
- "amount": 0.1,
- "percentage": 0.1,
- "basis_type": "string"
}
}
]
}
], - "success": true,
- "processing_times": {
- "csuuid": "string",
- "start_time": "string",
- "end_time": "string"
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoints for Reservations for Type B properties.
| offerId required | string |
| usePaymentSdk | boolean |
{- "offerId": "string",
- "usePaymentSdk": true
}{- "result": {
- "apiStatus": "string",
- "httpStatus": "string",
- "message": "string",
- "data": {
- "prebookId": "string",
- "offerId": "string",
- "hotelId": "string",
- "currency": "string",
- "termsAndConditions": "string",
- "roomTypes": [
- {
- "rates": [
- {
- "rateId": "string",
- "occupancyNumber": 0,
- "name": "string",
- "maxOccupancy": 0,
- "adultCount": 0,
- "childCount": 0,
- "boardType": "string",
- "boardName": "string",
- "remarks": "string",
- "priceType": "string",
- "commission": [
- {
- "amount": 0,
- "currency": "string"
}
], - "retailRate": {
- "total": [
- {
- "amount": null,
- "currency": null
}
], - "suggestedSellingPrice": [
- {
- "amount": null,
- "currency": null,
- "source": null
}
], - "initialPrice": [
- {
- "amount": null,
- "currency": null
}
], - "taxesAndFees": [
- {
- "included": null,
- "description": null,
- "amount": null,
- "currency": null
}
]
}, - "cancellationPolicies": {
- "cancelPolicyInfos": [
- {
- "cancelTime": null,
- "amount": null,
- "currency": null,
- "type": null,
- "timezone": null
}
], - "hotelRemarks": [
- "string"
], - "refundableTag": "string"
}, - "mappedRoomId": 0,
- "paymentTypes": [
- "string"
], - "providerCommission": {
- "amount": 0,
- "currency": "string"
}
}
]
}
], - "suggestedSellingPrice": 0,
- "isPackageRate": true,
- "commission": 0,
- "price": 0,
- "priceType": "string",
- "priceDifferencePercent": 0,
- "cancellationChanged": true,
- "boardChanged": true,
- "supplier": "string",
- "supplierId": 0,
- "transactionId": "string",
- "secretKey": "string",
- "paymentTypes": [
- "string"
]
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| prebookId required | string |
object (NuiteeConfirmBookingHolderRequest) | |
Array of objects (NuiteeConfirmBookingGuestsRequest) | |
object (NuiteeConfirmBookingPaymentRequest) |
{- "prebookId": "string",
- "holder": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string"
}, - "guests": [
- {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "remarks": "string",
- "occupancyNumber": 0
}
], - "payment": {
- "method": "string",
- "transactionId": "string"
}
}{- "result": {
- "apiStatus": "string",
- "httpStatus": "string",
- "message": "string",
- "data": {
- "bookingId": "string",
- "clientReference": "string",
- "supplierBookingId": "string",
- "supplierBookingName": "string",
- "supplier": "string",
- "supplierId": 0,
- "status": "string",
- "hotelConfirmationCode": "string",
- "checkin": "string",
- "checkout": "string",
- "hotel": {
- "hotelId": "string",
- "name": "string"
}, - "bookedRooms": [
- {
- "roomType": {
- "roomTypeId": "string",
- "name": "string"
}, - "boardType": "string",
- "boardName": "string",
- "adults": 0,
- "children": 0,
- "firstName": "string",
- "lastName": "string",
- "mappedRoomId": 0,
- "childrenAges": [
- { }
], - "board": "string",
- "boardCode": "string",
- "cancellationPolicies": {
- "cancelPolicyInfos": [
- {
- "cancelTime": "string",
- "amount": 0,
- "type": "string",
- "timezone": "string",
- "currency": "string"
}
], - "hotelRemarks": [
- "string"
], - "refundableTag": "string"
}, - "room_id": "string",
- "occupancy_number": 0,
- "amount": 0,
- "currency": "string",
- "children_count": 0,
- "remarks": "string",
- "guests": [
- { }
]
}
], - "holder": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string"
}, - "createdAt": "string",
- "updatedAt": "string",
- "cancellationPolicies": {
- "cancelPolicyInfos": [
- {
- "cancelTime": "string",
- "amount": 0,
- "type": "string",
- "timezone": "string",
- "currency": "string"
}
], - "hotelRemarks": [
- "string"
], - "refundableTag": "string"
}, - "specialRemarks": "string",
- "optionalFees": "string",
- "mandatoryFees": "string",
- "knowBeforeYouGo": "string",
- "price": 0,
- "commission": 0,
- "addonsTotalAmount": 0,
- "currency": "string",
- "remarks": "string",
- "voucherCode": "string",
- "voucherTotalAmount": 0,
- "addons": [
- { }
], - "guestId": 0,
- "distributorCommission": 0,
- "distributorPrice": 0,
- "trackingId": "string",
- "firstName": "string",
- "lastName": "string",
- "adults": 0,
- "children": "string",
- "childrenCount": 0,
- "prebookId": "string",
- "paymentStatus": "string",
- "paymentTransactionId": "string",
- "sellingPrice": "string",
- "exchangeRate": 0,
- "exchangeRateUsd": 0,
- "email": "string",
- "tag": "string",
- "lastFreeCancellationDate": "string",
- "apiCommission": 0,
- "userId": 0,
- "nationality": "string",
- "holderTitle": "string",
- "hotelId": "string",
- "hotelName": "string",
- "cancelledAt": "string",
- "refundedAt": "string",
- "loyaltyGuestId": 0,
- "sandbox": 0,
- "clientCommission": 0,
- "voucherId": "string",
- "voucherTransactionId": "string",
- "processingFee": 0,
- "amountRefunded": 0,
- "refundType": "string",
- "paymentScheduledAt": "string",
- "addonsRedemptions": [
- { }
], - "rebookFrom": "string",
- "agentId": "string",
- "cancelledBy": "string"
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| sellableUnitId required | integer <int32> |
| supplierUnitId required | string |
| roomTypeCode required | string |
| availabilityId required | integer <int32> |
| checkInDate required | string arrivalDate |
| checkOutDate required | string departureDate |
object (EHotelGuestDetailsRequest) | |
Array of objects (EHotelGuestDetailsRequest) | |
object (EHotelCompanyDetailsRequest) | |
| cardToken required | string Card Token. |
| isProduction required | boolean Is Production. |
| specialRequests | Array of strings |
{- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "bookerDetails": {
- "namePrefix": "Mr/Mrs",
- "firstName": "abc",
- "lastName": "def",
- "countryAccessCode": "def",
- "phoneNumber": "917777788899",
- "phoneTechType": 1,
- "email": "abc@email.com"
}, - "guestDetails": [
- {
- "namePrefix": "Mr/Mrs",
- "firstName": "abc",
- "lastName": "def",
- "countryAccessCode": "def",
- "phoneNumber": "917777788899",
- "phoneTechType": 1,
- "email": "abc@email.com"
}
], - "companyDetails": {
- "addressLine": "1235/A",
- "streetNumber": "854",
- "cityName": "Berlin",
- "postalCode": "5894",
- "countryName": "Germany",
- "countryCode": "24",
- "companyName": "def"
}, - "cardToken": "2357894646598718498",
- "isProduction": true,
- "specialRequests": [
- "string"
]
}{- "result": {
- "statusCode": "string",
- "reservationStatus": "string",
- "sellableUnitId": "string",
- "supplierUnitId": "string",
- "reservationId": "string",
- "reservationPin": "string",
- "reservationResponse": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| supplierUnitId required | string |
| roomTypeCode required | string |
| availabilityId required | integer <int32> |
| noOfRooms required | integer <int32> |
| noOfPersonsPerRoom required | integer <int32> |
| checkInDate required | string arrivalDate |
| checkOutDate required | string departureDate |
object (EHotelGuestDetailsRequest) | |
Array of objects (EHotelGuestDetailsRequest) | |
object (EHotelCompanyDetailsRequest) | |
| cardToken required | string Card Token. |
| isProduction required | boolean Is Production. |
| specialRequests | Array of strings |
{- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "bookerDetails": {
- "namePrefix": "Mr/Mrs",
- "firstName": "abc",
- "lastName": "def",
- "countryAccessCode": "def",
- "phoneNumber": "917777788899",
- "phoneTechType": 1,
- "email": "abc@email.com"
}, - "guestDetails": [
- {
- "namePrefix": "Mr/Mrs",
- "firstName": "abc",
- "lastName": "def",
- "countryAccessCode": "def",
- "phoneNumber": "917777788899",
- "phoneTechType": 1,
- "email": "abc@email.com"
}
], - "companyDetails": {
- "addressLine": "1235/A",
- "streetNumber": "854",
- "cityName": "Berlin",
- "postalCode": "5894",
- "countryName": "Germany",
- "countryCode": "24",
- "companyName": "def"
}, - "cardToken": "2357894646598718498",
- "isProduction": true,
- "specialRequests": [
- "string"
]
}{- "result": {
- "statusCode": "string",
- "reservationStatus": "string",
- "sellableUnitId": "string",
- "supplierUnitId": "string",
- "reservationId": "string",
- "reservationPin": "string",
- "reservationResponse": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| bookingId required | string |
{- "result": {
- "apiStatus": "string",
- "httpStatus": "string",
- "message": "string",
- "data": {
- "bookingId": "string",
- "clientReference": "string",
- "supplierBookingId": "string",
- "supplierBookingName": "string",
- "supplier": "string",
- "supplierId": 0,
- "status": "string",
- "hotelConfirmationCode": "string",
- "checkin": "string",
- "checkout": "string",
- "hotel": {
- "hotelId": "string",
- "name": "string",
- "parentHotelId": "string"
}, - "bookedRooms": [
- {
- "roomType": {
- "roomTypeId": "string",
- "name": "string"
}, - "boardType": "string",
- "boardName": "string",
- "adults": 0,
- "children": 0,
- "rate": {
- "rateId": "string",
- "retailRate": {
- "total": {
- "amount": 0,
- "currency": "string"
}, - "suggestedSellingPrice": {
- "amount": 0,
- "currency": "string",
- "source": "string"
}
}, - "cancellationPolicies": {
- "cancelPolicyInfos": [
- {
- "cancelTime": "string",
- "amount": 0,
- "type": "string",
- "timezone": "string",
- "currency": "string"
}
], - "hotelRemarks": [
- "string"
], - "refundableTag": "string"
}, - "maxOccupancy": 0,
- "boardType": "string",
- "boardName": "string",
- "remarks": "string"
}, - "firstName": "string",
- "lastName": "string",
- "childrenAges": [
- 0
], - "board": "string",
- "boardCode": "string",
- "cancellationPolicies": {
- "cancelPolicyInfos": [
- {
- "cancelTime": "string",
- "amount": 0,
- "type": "string",
- "timezone": "string",
- "currency": "string"
}
], - "hotelRemarks": [
- "string"
], - "refundableTag": "string"
}, - "roomId": "string",
- "occupancyNumber": 0,
- "amount": 0,
- "currency": "string",
- "childrenCount": 0,
- "remarks": "string",
- "guests": [
- {
- "occupancyNumber": 0,
- "remarks": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string"
}
]
}
], - "holder": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string"
}, - "createdAt": "string",
- "updatedAt": "string",
- "cancellationPolicies": {
- "cancelPolicyInfos": [
- {
- "cancelTime": "string",
- "amount": 0,
- "type": "string",
- "timezone": "string",
- "currency": "string"
}
], - "hotelRemarks": [
- "string"
], - "refundableTag": "string"
}, - "specialRemarks": "string",
- "optionalFees": "string",
- "mandatoryFees": "string",
- "knowBeforeYouGo": "string",
- "price": 0,
- "commission": 0,
- "addonsTotalAmount": 0,
- "currency": "string",
- "remarks": "string",
- "voucherCode": "string",
- "voucherTotalAmount": 0,
- "addons": [
- { }
], - "guestId": 0,
- "distributorCommission": 0,
- "distributorPrice": 0,
- "trackingId": "string",
- "firstName": "string",
- "lastName": "string",
- "adults": 0,
- "children": "string",
- "childrenCount": 0,
- "prebookId": "string",
- "paymentStatus": "string",
- "paymentTransactionId": "string",
- "sellingPrice": "string",
- "exchangeRate": 0,
- "exchangeRateUsd": 0,
- "email": "string",
- "tag": "string",
- "lastFreeCancellationDate": "string",
- "apiCommission": 0,
- "userId": 0,
- "nationality": "string",
- "holderTitle": "string",
- "hotelId": "string",
- "hotelName": "string",
- "cancelledAt": "string",
- "refundedAt": "string",
- "loyaltyGuestId": 0,
- "sandbox": 0,
- "clientCommission": 0,
- "voucherId": "string",
- "voucherTransactionId": "string",
- "processingFee": 0,
- "amountRefunded": 0,
- "refundType": "string",
- "paymentScheduledAt": "string",
- "addonsRedemptions": [
- { }
], - "rebookFrom": "string",
- "agentId": "string",
- "cancelledBy": { },
- "feed": "string",
- "goodwillPayment": {
- "amount": 0,
- "currency": "string",
- "description": "string"
}
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| reservationId required | string Reservation Id |
{- "result": {
- "statusCode": "string",
- "message": "string",
- "result": {
- "sellableUnitId": "string",
- "currency": "string",
- "status": "string",
- "booker": {
- "phone": "string",
- "email": "string",
- "address": {
- "countryCode": "string",
- "postalCode": "string",
- "city": "string",
- "strasse": "string"
}, - "booker_id": 0,
- "first_name": "string",
- "last_name": "string"
}, - "property_id": "string",
- "check_in": "string",
- "check_out": "string",
- "guest_name": "string",
- "supplierUnitId": "string",
- "object_id": "string",
- "channel_booking_id": "string",
- "channel_id": "string",
- "source_of_booking": "string",
- "total_price": "string",
- "travel_period": {
- "arrival": "string",
- "departure": "string"
}, - "adult_count": 0,
- "guest_details": [
- {
- "phone": "string",
- "email": "string",
- "address": {
- "countryCode": "string",
- "postalCode": "string",
- "city": "string",
- "strasse": "string"
}, - "first_name": "string",
- "last_name": "string",
- "booking_date": "string"
}
], - "booking_date": "string",
- "room_rates": [
- {
- "price": 0.1,
- "type": "string",
- "currencyCode": "string",
- "room_id": "string",
- "room_name": "string",
- "no_of_unit": 0,
- "product_id": "string",
- "product_name": "string",
- "start_date": "string",
- "end_date": "string",
- "guest_count": [
- {
- "unit": 0,
- "adultCount": 0,
- "childCount": 0
}
]
}
], - "cancellation_date": "string",
- "cancelled_by": "string",
- "cancellation_policy": "string",
- "non_refundable": "string",
- "ehotelReservationId": "string",
- "ehotelReservationPin": "string"
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoints for Cancellations for Type A properties.
| propertyId required | integer <int32> Property Id. |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| reservationId required | string Reservation Id. |
| bookerReservationId required | string Booker Reservation Id. |
| language | string Default: "en" Language. |
| cancellationReasonLanguage | string Default: "en" Cancellation Reason Language. |
| cancellationReason | string Cancellation Reason. |
{- "propertyId": 1000003,
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "reservationId": "14253cds3bc244e",
- "bookerReservationId": "14253cds3bc244e",
- "language": "en",
- "cancellationReasonLanguage": "en",
- "cancellationReason": "Not Interested anymore"
}{- "result": {
- "status": "string",
- "reservationId": "string",
- "bookerReservationId": "string",
- "transactionIdentifier": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| bookingId required | integer <int32> BookingId. Required. |
| language required | string language. Required. |
{- "result": [
- {
- "id": 0,
- "name": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoints for Cancellations for Type B properties.
| bookingId required | string |
| reason | string |
{- "bookingId": "string",
- "reason": "string"
}{- "result": {
- "apiStatus": "string",
- "httpStatus": "string",
- "message": "string",
- "data": {
- "bookingId": "string",
- "cancellation_fee": 0,
- "currency": "string",
- "refund_amount": 0,
- "status": "string"
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| supplierUnitId required | string Supplier Unit Id |
| reservationId required | string Reservation Id |
| reservationPin required | string Reservation Pin |
| isProduction | boolean Default: true Is Production, Default value true |
{- "result": {
- "statusCode": "string",
- "cancellationStatus": "string",
- "timestamp": "string",
- "reservationId": "string",
- "confirmationId": "string",
- "cancellationId": "string",
- "message": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoint to generate new token.
| distributorId required | string |
| distributorSecret required | string |
{- "tokenType": "string",
- "expiresIn": 0,
- "accessToken": "string",
- "executionTime": 0
}This API can be used by authorized users to get new token.
Potentially could be used to avoid token expire, just need to refresh before expiration time.
{- "tokenType": "string",
- "expiresIn": 0,
- "accessToken": "string",
- "executionTime": 0
}This API can be used to get all information about distributor account.
This endpoint available only for distributors, administrators should use other endpoint and provide distributor name parameter.
{- "result": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}This API can be used to get all information about distributor account.
This endpoint available only for admin, distributor should use other endpoint.
| name required | string [ 1 .. 255 ] characters Distributor name. Required. |
{- "result": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}{- "result": [
- {
- "code": "string",
- "name": "string",
- "latitude": 0,
- "longitude": 0,
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| code required | string = 2 characters Two letters continent code (ISO 3166 Alpha-2). Required. |
{- "result": {
- "code": "string",
- "name": "string",
- "latitude": 0,
- "longitude": 0,
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}If you need other codes please use endpoint with codeFormat parameter.
Language code parameter used for name and full name language.
| langCode | string = 2 characters Default: "en" Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": [
- {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| countryId required | integer <int32> >= 1 RoomDB internal country Id. Required. |
| langCode | string = 2 characters Default: "en" Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| code required | string = 2 characters Two letters country code (ISO 3166 Alpha-2). Required. |
| langCode | string = 2 characters Default: "en" Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}Valid values for codeFormat are:
- "all" to include ISO 3166 Alpha-2, Alpha-2 and Numeric code
- "alpha2" to include ISO 3166 Alpha-2 code
- "alpha3" to include ISO 3166 Alpha-3 code
- "numeric" to include ISO 3166 Numeric code
Language code parameter used for name and full name language.
| codeFormat required | string Enum: "ALL" "ALPHA2" "ALPHA3" "NUMERIC" |
| langCode | string = 2 characters Default: "en" Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": [
- {
- "id": 0,
- "name": "Germany",
- "fullName": "the Federal Republic of Germany",
- "code": "de",
- "codeA3": "deu",
- "codeNumeric": "276",
- "latitude": 0,
- "longitude": 0,
- "continentCode": "string",
- "noOfProperties": 0,
- "noOfPropertiesWithDistributorType": 0,
- "lastUpdate": "2019-08-24T14:15:22Z"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the State entity will be included in result.
{- "result": [
- {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| stateId required | integer <int32> >= 1 RoomDB internal state Id. Required. |
{- "result": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| countryCode required | string = 2 characters Two letters country code (ISO 3166 Alpha-2). Required. |
{- "result": [
- {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| code required | string [ 2 .. 8 ] characters State code (ISO 3166-2). Required. |
{- "result": {
- "id": 0,
- "countryCode": "us",
- "code": "US-CA",
- "name": "California",
- "localName": "Local name for California",
- "languageCode": "en",
- "subdivisionCategory": "state"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the Currency entity will be included in result.
| langCode | string = 2 characters Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": [
- {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 RoomDB internal currency Id. Required. |
| langCode | string = 2 characters Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| code required | integer <int32> [ 1 .. 999 ] Numeric currency code (ISO 4217). Required. |
| langCode | string = 2 characters Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| code required | string = 3 characters Three letters currency code (ISO 4217). Required. |
| langCode | string = 2 characters Two letters language code (ISO 639-1). Optional. Default language is english. |
{- "result": {
- "id": 0,
- "code": "USD",
- "name": "United States dollar",
- "numericCode": 840,
- "minorUnit": 2,
- "locale": "string",
- "symbol": "$"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the Room Type entity will be included in result.
{- "result": [
- {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 RoomDB internal room type Id. Required. |
{- "result": {
- "id": 0,
- "cultSwitchId": "1232",
- "bookingDotComId": 3,
- "name": "Apartment",
- "notes": "string",
- "translationToolKeyName": "string",
- "translationToolKeyNotes": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the Property Type entity will be included in result.
{- "result": [
- {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 RoomDB internal property type Id. Required. |
{- "result": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| code required | string [ 1 .. 4 ] characters Code (OTA, Booking, CultSwitch) for specific Property Type. Required. |
{- "result": {
- "id": 0,
- "code": "string",
- "name": "string",
- "codeSource": "string",
- "alternativeName": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the Meal Type entity will be included in result.
{- "result": [
- {
- "id": 0,
- "code": "MPT",
- "name": "OPL",
- "codeSource": "OTA",
- "translationKey": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 RoomDB internal meal type Id. Required. |
{- "result": {
- "id": 0,
- "code": "MPT",
- "name": "OPL",
- "codeSource": "OTA",
- "translationKey": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| token required | string Token. Required. |
| sessionData | string |
| userIp | string |
| userHostName | string |
| userMacAddress | string |
| userOs | string |
| userPhysicalLocation | string |
{- "sessionData": "string",
- "userIp": "string",
- "userHostName": "string",
- "userMacAddress": "string",
- "userOs": "string",
- "userPhysicalLocation": "string"
}{- "result": {
- "id": 0,
- "token": "string",
- "sessionData": "string",
- "userIp": "string",
- "userHostName": "string",
- "userMacAddress": "string",
- "userOs": "string",
- "userPhysicalLocation": "string",
- "tokenCreated": "string",
- "tokenExpired": "string",
- "tokenValidity": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> Id. Required. |
{- "result": {
- "id": 0,
- "emailData": "string",
- "ewsEmailId": "string",
- "sentAt": "string",
- "createdAt": "string",
- "updatedAt": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int64> Id. Required. |
| emailData | string |
| ewsEmailId | string |
| sentAt | string |
{- "emailData": "string",
- "ewsEmailId": "string",
- "sentAt": "string"
}{- "result": {
- "id": 0,
- "emailData": "string",
- "ewsEmailId": "string",
- "sentAt": "string",
- "createdAt": "string",
- "updatedAt": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| sessionData | string |
| userIp | string |
| userHostName | string |
| userMacAddress | string |
| userOs | string |
| userPhysicalLocation | string |
{- "sessionData": "string",
- "userIp": "string",
- "userHostName": "string",
- "userMacAddress": "string",
- "userOs": "string",
- "userPhysicalLocation": "string"
}{- "result": {
- "id": 0,
- "token": "string",
- "sessionData": "string",
- "userIp": "string",
- "userHostName": "string",
- "userMacAddress": "string",
- "userOs": "string",
- "userPhysicalLocation": "string",
- "tokenCreated": "string",
- "tokenExpired": "string",
- "tokenValidity": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| reservationId | string |
| logMessage | string |
| hostName | string |
{- "reservationId": "string",
- "logMessage": "string",
- "hostName": "string"
}{- "result": {
- "id": 0,
- "reservationId": "string",
- "logMessage": "string",
- "hostName": "string",
- "createdAt": "string",
- "updatedAt": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| queueEntryId | integer <int64> |
| type | integer <int32> |
{- "queueEntryId": 0,
- "type": 0
}{- "result": {
- "id": 0,
- "queueEntryId": 0,
- "type": 0,
- "createdAt": "string",
- "updatedAt": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| ewsEmailId | string ewsEmail id |
| reservationId | string reservation id |
| provider | string provider |
{- "ewsEmailId": "5f008c72c61bb04",
- "reservationId": "123456",
- "provider": "ews1"
}{- "result": {
- "id": 0,
- "ewsEmailId": "string",
- "reservationId": "string",
- "provider": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| offsetDropTime | string |
| offsetTimeUnit | string |
| offsetUnitMultiplier | string |
| basisType | string |
| nights | integer <int32> |
| percentOrAmount | integer <int32> |
| isPercent | boolean |
| csCancelPolicyId | integer <int32> |
| cultBookingBookingId | string |
| cultSwitchBookingId | string |
| oldCancellationPolicyId | string |
{- "offsetDropTime": "string",
- "offsetTimeUnit": "string",
- "offsetUnitMultiplier": "string",
- "basisType": "string",
- "nights": 0,
- "percentOrAmount": 0,
- "isPercent": true,
- "csCancelPolicyId": 0,
- "cultBookingBookingId": "string",
- "cultSwitchBookingId": "string",
- "oldCancellationPolicyId": "string"
}{- "result": {
- "id": 0,
- "offsetDropTime": "string",
- "offsetTimeUnit": "string",
- "offsetUnitMultiplier": "string",
- "basisType": "string",
- "nights": 0,
- "percentOrAmount": 0,
- "isPercent": true,
- "csCancelPolicyId": 0,
- "cultBookingBookingId": "string",
- "cultSwitchBookingId": "string",
- "oldCancellationPolicyId": "string",
- "createdAt": "string",
- "updatedAt": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| token required | string Token. Required. |
{- "result": {
- "id": 0,
- "token": "string",
- "sessionData": "string",
- "userIp": "string",
- "userHostName": "string",
- "userMacAddress": "string",
- "userOs": "string",
- "userPhysicalLocation": "string",
- "tokenCreated": "string",
- "tokenExpired": "string",
- "tokenValidity": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "roomDbPropertyId": 0,
- "messages": [
- {
- "languageCode": "string",
- "message": "string",
- "url": "string",
- "translationKey": "string"
}
], - "translationKey": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| token required | string Session Token. Required. |
{- "result": {
- "id": 0,
- "token": "string",
- "sessionData": "string",
- "userIp": "string",
- "userHostName": "string",
- "userMacAddress": "string",
- "userOs": "string",
- "userPhysicalLocation": "string",
- "tokenCreated": "string",
- "tokenExpired": "string",
- "tokenValidity": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| cultSwitchBookingId required | string CultSwitchBookingId. Required. |
{- "result": [
- {
- "id": 0,
- "cultBookingBookingId": "string",
- "cultSwitchBookingId": "string",
- "cultSwitchPropertyId": "string",
- "bookingCode": "string",
- "agentSine": "string",
- "checkIn": "string",
- "checkOut": "string",
- "totalPrice": 0.1,
- "currencyForTotalPrice": "string",
- "mailStatus": "string",
- "emailChecked": true,
- "totalNumberOfPersons": 0,
- "totalNumberOfRooms": 0,
- "totalNumberOfExtras": 0,
- "isMigratedFromDb": true,
- "isCancellationFromDb": true,
- "status": "PENDING/CONFIRMED/CANCELLED",
- "pendingTime": "string",
- "confirmationTime": "string",
- "cancellationTime": "string",
- "paymentId": "string",
- "paymentProvider": "string",
- "paymentStatus": "string",
- "trvReference": "string",
- "products": {
- "property1": "string",
- "property2": "string"
}, - "additionalExtras": {
- "property1": "string",
- "property2": "string"
}, - "cancellationText": [
- "string"
], - "cancelPolicies": [
- {
- "productCode": 0,
- "cancelPolicyId": 0
}
], - "createdAt": "string",
- "updatedAt": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| cultBookingBookingId required | string CultBookingBookingId Id. Required. |
{- "result": [
- {
- "id": 0,
- "cultBookingBookingId": "string",
- "cultSwitchBookingId": "string",
- "cultSwitchPropertyId": "string",
- "bookingCode": "string",
- "agentSine": "string",
- "checkIn": "string",
- "checkOut": "string",
- "totalPrice": 0.1,
- "currencyForTotalPrice": "string",
- "mailStatus": "string",
- "emailChecked": true,
- "totalNumberOfPersons": 0,
- "totalNumberOfRooms": 0,
- "totalNumberOfExtras": 0,
- "isMigratedFromDb": true,
- "isCancellationFromDb": true,
- "status": "PENDING/CONFIRMED/CANCELLED",
- "pendingTime": "string",
- "confirmationTime": "string",
- "cancellationTime": "string",
- "paymentId": "string",
- "paymentProvider": "string",
- "paymentStatus": "string",
- "trvReference": "string",
- "products": {
- "property1": "string",
- "property2": "string"
}, - "additionalExtras": {
- "property1": "string",
- "property2": "string"
}, - "cancellationText": [
- "string"
], - "cancelPolicies": [
- {
- "productCode": 0,
- "cancelPolicyId": 0
}
], - "createdAt": "string",
- "updatedAt": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| page | integer <int32> >= 0 Default: 0 Page number in paginated request. Default is 0. |
| size | integer <int32> [ 1 .. 1000 ] Default: 10 Size of the page in paginated request. Default is 10. |
| sortDesc | boolean Default: true Is descending sort should be applied in sorting in paginated request(sort on id). Default is 'true'. |
| confirmationTime required | string Confirmation Time Less Than or Equal To Requested Time |
| emailChecked | boolean Default: true Email Checked, default value is true |
{- "result": {
- "content": [
- {
- "id": 0,
- "cultBookingBookingId": "string",
- "cultSwitchBookingId": "string",
- "cultSwitchPropertyId": "string",
- "bookingCode": "string",
- "agentSine": "string",
- "checkIn": "string",
- "checkOut": "string",
- "totalPrice": 0.1,
- "currencyForTotalPrice": "string",
- "mailStatus": "string",
- "emailChecked": true,
- "totalNumberOfPersons": 0,
- "totalNumberOfRooms": 0,
- "totalNumberOfExtras": 0,
- "isMigratedFromDb": true,
- "isCancellationFromDb": true,
- "status": "PENDING/CONFIRMED/CANCELLED",
- "pendingTime": "string",
- "confirmationTime": "string",
- "cancellationTime": "string",
- "paymentId": "string",
- "paymentProvider": "string",
- "paymentStatus": "string",
- "trvReference": "string",
- "products": {
- "property1": "string",
- "property2": "string"
}, - "additionalExtras": {
- "property1": "string",
- "property2": "string"
}, - "cancellationText": [
- "string"
], - "cancelPolicies": [
- {
- "productCode": 0,
- "cancelPolicyId": 0
}
], - "createdAt": "string",
- "updatedAt": "string"
}
], - "number": 0,
- "size": 0,
- "totalElements": 0,
- "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "last": true,
- "totalPages": 0,
- "sort": {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}, - "first": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "roomDbPropertyId": 0,
- "translationKey": "string",
- "messages": [
- {
- "languageCode": "string",
- "message": "string",
- "translationKey": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "enabled": true,
- "propertyName": "string",
- "noOfGuest": 0,
- "messages": [
- {
- "heading": "string",
- "additionalText": "string",
- "languageCode": "string"
}
], - "translationKey": "string",
- "channels": {
- "property1": "string",
- "property2": "string"
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "id": 0,
- "roomDbPropertyId": 0,
- "paymentProvider": "string",
- "apiKey": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| paymentProvider required | string Enum: "MOLLIE" "STRIPE" |
{- "result": {
- "id": 0,
- "roomDbPropertyId": 0,
- "paymentProvider": "string",
- "apiKey": "string",
- "createdAt": "string",
- "updatedAt": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "roomDbPropertyId": 0,
- "numberFormatType": "calendar , productList",
- "numberFormat": "123.456,7",
- "numberMultiplier": "10",
- "displayDimension": true,
- "numberFormatId": "10",
- "maximumFractionDigits": 3
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| cultBookingBookingId required | string CultBookingBookingId. Required. |
{- "result": [
- {
- "id": 0,
- "cultBookingBookingId": "string",
- "cultSwitchBookingId": "string",
- "bookerFirstName": "string",
- "bookerLastName": "string",
- "guestFirstName": "string",
- "guestLastName": "string",
- "emailAddress": "string",
- "street": "string",
- "houseNumber": "string",
- "postCode": "string",
- "city": "string",
- "country": "string",
- "phone": "string",
- "comment": "string",
- "countryCode": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "roomDbPropertyId": 0,
- "translationKey": "string",
- "messages": [
- {
- "languageCode": "string",
- "introduction": "string",
- "body": "string",
- "signature": "string",
- "translationKey": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "roomDbPropertyId": 0,
- "translationKey": "string",
- "messages": [
- {
- "languageCode": "string",
- "message": "string",
- "translationKey": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| reservationId required | string Reservation Id. Required. |
{- "result": [
- {
- "id": 0,
- "ewsEmailId": "string",
- "reservationId": "string",
- "provider": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| langCode | string Default: "en" Language Code, Default value en |
{- "result": {
- "currencies": [
- "string"
], - "currencyData": [
- {
- "code": "string",
- "name": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "roomDbPropertyId": 0,
- "translationKey": "string",
- "messages": [
- {
- "languageCode": "string",
- "message": "string",
- "translationKey": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "template_background_colour_top": "string",
- "template_background_colour_bottom": "string",
- "header_background_colour_top": "string",
- "header_background_colour_bottom": "string",
- "date_colour": "string",
- "date_background_colour": "string",
- "title_bar_colour": "string",
- "title_bar_background_colour": "string",
- "other_buttons_background_colour_top": "string",
- "other_buttons_background_hover_colour_top": "string",
- "other_buttons_background_colour_bottom": "string",
- "other_buttons_background_hover_colour_bottom": "string",
- "product_background_colour_top": "string",
- "product_background_colour_bottom": "string",
- "promo_code_show": true,
- "mainBackgroundColorType": "FLAT",
- "mainBackgroundColor": "string",
- "headerBackgroundColorType": "FLAT",
- "headerBackgroundColor": "string",
- "roomTypeBackgroundColorType": "FLAT",
- "roomTypeBackgroundColor": "string",
- "languageSelectionColor": "string",
- "checkInOutLabelColor": "string",
- "checkInOutInputColor": "string",
- "checkInOutInputBackgroundColor": "string",
- "roomTypeTitleColor": "string",
- "roomTypeTitleFontStyle": "NORMAL",
- "mealsIncludedColor": "string",
- "mealsExcludedColor": "string",
- "bookingSummaryFontColor": "string",
- "bookingSummaryBackgroundColor": "string",
- "personsInfoFontColor": "string",
- "personsInfoFontStyle": "NORMAL",
- "productPriceFontColor": "string",
- "productPriceFontStyle": "NORMAL",
- "searchButtonFontColor": "string",
- "searchButtonNormalStateBackgroundColor": "string",
- "searchButtonMouseHoverBackgroundColor": "string",
- "bookNowButtonColorType": "FLAT",
- "bookNowButtonNormalStateColor": "string",
- "bookNowButtonMouseHoverColor": "string",
- "descriptionRoomRateFontColor": "string",
- "bookNowButtonFontColor": "string",
- "inputFieldsBackgroundColor": "string",
- "inputFieldsFontColor": "string",
- "inputFieldsErrorColor": "string",
- "calendarCheckInOutFontColor": "string",
- "calendarCheckInOutBackgroundColor": "string",
- "calendarCheckInOutBetweenFontColor": "string",
- "calendarCheckInOutBetweenBackgroundColor": "string",
- "inputFieldsSuccessColor": "string",
- "infoBoxBackgroundColor": "string",
- "infoBoxFontColor": "string",
- "confirmationEmailTopLineColor": "string",
- "confirmationEmailResponseButtonBackgroundColor": "string",
- "confirmationEmailResponseButtonFontColor": "string",
- "showOnMapButtonColorType": "FLAT",
- "showOnMapButtonNormalStateColor": "string",
- "showOnMapButtonMouseHoverColor": "string",
- "showOnMapButtonFontColor": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "id": 0,
- "roomDbPropertyId": 0,
- "translationKey": "string",
- "messages": [
- {
- "languageCode": "string",
- "introduction": "string",
- "body": "string",
- "signature": "string",
- "translationKey": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| languageCode required | string = 2 characters |
{- "result": {
- "languageCode": "string",
- "introduction": "string",
- "body": "string",
- "signature": "string",
- "translationKey": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> Booking Cancel Policies. Required. |
{- "result": {
- "id": 0,
- "offsetDropTime": "string",
- "offsetTimeUnit": "string",
- "offsetUnitMultiplier": "string",
- "basisType": "string",
- "nights": 0,
- "percentOrAmount": 0,
- "isPercent": true,
- "csCancelPolicyId": 0,
- "cultBookingBookingId": "string",
- "cultSwitchBookingId": "string",
- "oldCancellationPolicyId": "string",
- "createdAt": "string",
- "updatedAt": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "colorCustomisation": {
- "template_background_colour_top": "string",
- "template_background_colour_bottom": "string",
- "header_background_colour_top": "string",
- "header_background_colour_bottom": "string",
- "date_colour": "string",
- "date_background_colour": "string",
- "title_bar_colour": "string",
- "title_bar_background_colour": "string",
- "other_buttons_background_colour_top": "string",
- "other_buttons_background_hover_colour_top": "string",
- "other_buttons_background_colour_bottom": "string",
- "other_buttons_background_hover_colour_bottom": "string",
- "product_background_colour_top": "string",
- "product_background_colour_bottom": "string",
- "promo_code_show": true,
- "mainBackgroundColorType": "FLAT",
- "mainBackgroundColor": "string",
- "headerBackgroundColorType": "FLAT",
- "headerBackgroundColor": "string",
- "roomTypeBackgroundColorType": "FLAT",
- "roomTypeBackgroundColor": "string",
- "languageSelectionColor": "string",
- "checkInOutLabelColor": "string",
- "checkInOutInputColor": "string",
- "checkInOutInputBackgroundColor": "string",
- "roomTypeTitleColor": "string",
- "roomTypeTitleFontStyle": "NORMAL",
- "mealsIncludedColor": "string",
- "mealsExcludedColor": "string",
- "bookingSummaryFontColor": "string",
- "bookingSummaryBackgroundColor": "string",
- "personsInfoFontColor": "string",
- "personsInfoFontStyle": "NORMAL",
- "productPriceFontColor": "string",
- "productPriceFontStyle": "NORMAL",
- "searchButtonFontColor": "string",
- "searchButtonNormalStateBackgroundColor": "string",
- "searchButtonMouseHoverBackgroundColor": "string",
- "bookNowButtonColorType": "FLAT",
- "bookNowButtonNormalStateColor": "string",
- "bookNowButtonMouseHoverColor": "string",
- "descriptionRoomRateFontColor": "string",
- "bookNowButtonFontColor": "string",
- "inputFieldsBackgroundColor": "string",
- "inputFieldsFontColor": "string",
- "inputFieldsErrorColor": "string",
- "calendarCheckInOutFontColor": "string",
- "calendarCheckInOutBackgroundColor": "string",
- "calendarCheckInOutBetweenFontColor": "string",
- "calendarCheckInOutBetweenBackgroundColor": "string",
- "inputFieldsSuccessColor": "string",
- "infoBoxBackgroundColor": "string",
- "infoBoxFontColor": "string",
- "confirmationEmailTopLineColor": "string",
- "confirmationEmailResponseButtonBackgroundColor": "string",
- "confirmationEmailResponseButtonFontColor": "string",
- "showOnMapButtonColorType": "FLAT",
- "showOnMapButtonNormalStateColor": "string",
- "showOnMapButtonMouseHoverColor": "string",
- "showOnMapButtonFontColor": "string"
}, - "languages": {
- "roomDbPropertyId": 0,
- "defaultLanguageCode": "string",
- "supportedLanguages": [
- "string"
], - "autoTranslatedLanguages": [
- "string"
]
}, - "priceComparisonWidgetLanguages": {
- "id": 0,
- "enabled": true,
- "propertyName": "string",
- "noOfGuest": 0,
- "messages": [
- {
- "heading": "string",
- "additionalText": "string",
- "languageCode": "string"
}
], - "translationKey": "string",
- "channels": {
- "property1": "string",
- "property2": "string"
}
}, - "additionalFeatures": {
- "promoCode": true,
- "propertyLogo": true,
- "cvcField": true,
- "prices": true,
- "currency": true,
- "currencySymbol": true,
- "reservationEmailToProperty": true,
- "streetNo": true,
- "postCode": true,
- "footerAddress": true,
- "language": true,
- "poweredByCb": true,
- "smartCalendar": true,
- "mandatoryPhone": true,
- "city": true,
- "country": true,
- "showOnMapButton": true,
- "textInsideInputFields": true,
- "cookieFree": true,
- "GTMContainerID": "string",
- "ga4Code": "string",
- "customDomainEmail": "string",
- "customEmailFromAddress": "string",
- "customEmailFromName": "string",
- "bookingEngineLogoUrl": "string",
- "bookingEngineMarketingUrl": "string",
- "calendarToolTipType": "string",
- "googleAdsLabel": "string",
- "googleAdsConversionID": "string",
- "googleApiSecretsKey": "string",
- "googleBudgetName": "string",
- "googleBudgetAmountMicros": "string",
- "customDomainUrl": "string",
- "fbPixelId": "string",
- "vatIncluded": true,
- "fontWebsite": "string",
- "fontSizeWebsite": "string",
- "fontEmailConfirmation": "string",
- "fontSizeEmailConfirmation": "string"
}, - "currency": {
- "currencies": [
- "string"
], - "currencyData": [
- {
- "code": "string",
- "name": "string"
}
]
}, - "numberFormat": [
- {
- "roomDbPropertyId": 0,
- "numberFormatType": "calendar , productList",
- "numberFormat": "123.456,7",
- "numberMultiplier": "10",
- "displayDimension": true,
- "numberFormatId": "10",
- "maximumFractionDigits": 3
}
], - "images": {
- "sourceId": "string",
- "sourceType": "string",
- "images": [
- {
- "id": 0,
- "image": "string",
- "sortOrder": 0
}
]
}, - "paymentGateways": [
- {
- "id": 0,
- "roomDbPropertyId": 0,
- "paymentProvider": "string",
- "apiKey": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
], - "intlNumberFormat": [
- {
- "id": 0,
- "numberFormat": "string",
- "name": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| listId required | integer <int32> List Id. Required. |
{- "result": {
- "colorCustomisation": {
- "navbarText": "string",
- "navbarBackground": "string",
- "navbarTextHover": "string",
- "footerText": "string",
- "footerBackground": "string",
- "footerTextHover": "string",
- "socialColor": "string",
- "socialBackground": "string",
- "socialHoverColor": "string",
- "socialHoverBackground": "string",
- "primaryColor": "string",
- "pageText": "string",
- "pageBackground": "string",
- "dropdownText": "string",
- "dropdownBorder": "string",
- "dropdownBackground": "string",
- "dropdownOptionsText": "string",
- "dropdownOptionsBackground": "string",
- "dropdownOptionsHoverText": "string",
- "dropdownOptionsHoverBackground": "string",
- "dropdownOptionsSelectedText": "string",
- "dropdownOptionsSelectedBackground": "string",
- "primaryButtonText": "string",
- "primaryButtonBorder": "string",
- "primaryButtonBackground": "string",
- "primaryButtonHoverText": "string",
- "primaryButtonHoverBorder": "string",
- "primaryButtonHoverBackground": "string",
- "secondaryButtonText": "string",
- "secondaryButtonBorder": "string",
- "secondaryButtonBackground": "string",
- "secondaryButtonHoverText": "string",
- "secondaryButtonHoverBorder": "string",
- "secondaryButtonHoverBackground": "string",
- "outlineButtonText": "string",
- "outlineButtonBorder": "string",
- "outlineButtonBackground": "string",
- "outlineButtonHoverText": "string",
- "outlineButtonHoverBorder": "string",
- "outlineButtonHoverBackground": "string",
- "tertiaryButtonText": "string",
- "tertiaryButtonBorder": "string",
- "tertiaryButtonBackground": "string",
- "tertiaryButtonHoverText": "string",
- "tertiaryButtonHoverBorder": "string",
- "tertiaryButtonHoverBackground": "string",
- "breadcrumbsText": "string",
- "breadcrumbsHover": "string",
- "breadcrumbsBackground": "string",
- "breadcrumbsDivider": "string",
- "checkboxBorder": "string",
- "checkboxBackground": "string",
- "checkboxCheckedBorder": "string",
- "checkboxCheckedBackground": "string",
- "badgeText": "string",
- "badgeBackground": "string",
- "ratingText": "string",
- "ratingBackground": "string",
- "inputText": "string",
- "inputBorder": "string",
- "inputBackground": "string",
- "searchWidgetText": "string",
- "searchWidgetBackground": "string",
- "cartWidgetBackground": "string",
- "cartWidgetText": "string",
- "checkoutCardBackground": "string",
- "checkoutCardText": "string",
- "checkoutCardBorder": "string",
- "calendarWidgetDay": "string",
- "calendarWidgetText": "string",
- "calendarWidgetPrice": "string",
- "calendarWidgetBorder": "string",
- "calendarWidgetBackground": "string",
- "calendarWidgetControlsText": "string",
- "calendarWidgetControlsBorder": "string",
- "calendarWidgetControlsBackground": "string",
- "calendarWidgetControlsHoverText": "string",
- "calendarWidgetControlsHoverBorder": "string",
- "calendarWidgetControlsHoverBackground": "string",
- "calendarWidgetRangeBackground": "string",
- "calendarWidgetRangeDay": "string",
- "calendarWidgetRangePrice": "string",
- "calendarWidgetActiveText": "string",
- "calendarWidgetActiveBackground": "string",
- "calendarWidgetFooterText": "string",
- "calendarWidgetFooterBackground": "string",
- "calendarWidgetFooterCurrencyText": "string",
- "calendarWidgetPriceControlColor": "string",
- "calendarWidgetPriceControlBackground": "string",
- "calendarWidgetPriceControlCheckedColor": "string",
- "calendarWidgetPriceControlCheckedBackground": "string"
}, - "linkSettings": {
- "listId": 0,
- "navLinkMap": true,
- "navLinkHelp": true,
- "navLinkLogin": true,
- "navLinkRegister": true,
- "navLinkPropertyList": true,
- "navLinkHowItWorks": true,
- "footerLinkBlog": true,
- "footerLinkAboutUs": true,
- "footerLinkContact": true,
- "footerLinkTermsOfUse": true,
- "footerLinkLegalNotice": true,
- "footerLinkListProperty": true,
- "footerLinkPrivacyPolicy": true,
- "footerLinkBuildBookingEngine": true,
- "footerCompanyTitleKey": "string",
- "footerCompanyDisplay": true,
- "footerLegalTitleKey": "string",
- "footerLegalDisplay": true,
- "footerInformationTitleKey": "string",
- "footerInformationDisplay": true,
- "footerGlovelerTitleKey": "string",
- "footerGlovelerDisplay": true,
- "customNavLinks": {
- "property1": { },
- "property2": { }
}, - "customFooterLinks": {
- "property1": { },
- "property2": { }
}
}, - "generalSettings": {
- "listId": 0,
- "title": "string",
- "logo": "string",
- "favicon": "string",
- "logoLink": "string",
- "showListingCount": true,
- "supportedFacilities": [
- 0
], - "supportedLanguages": [
- "string"
], - "mail": "string",
- "phone": "string",
- "linkedin": "string",
- "facebook": "string",
- "twitter": "string",
- "instagram": "string",
- "snapchat": "string",
- "mapZoomLevel": "string",
- "mapCentreLatitude": "string",
- "mapCentreLongitude": "string"
}
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "promoCode": true,
- "propertyLogo": true,
- "cvcField": true,
- "prices": true,
- "currency": true,
- "currencySymbol": true,
- "reservationEmailToProperty": true,
- "streetNo": true,
- "postCode": true,
- "footerAddress": true,
- "language": true,
- "poweredByCb": true,
- "smartCalendar": true,
- "mandatoryPhone": true,
- "city": true,
- "country": true,
- "showOnMapButton": true,
- "textInsideInputFields": true,
- "cookieFree": true,
- "GTMContainerID": "string",
- "ga4Code": "string",
- "customDomainEmail": "string",
- "customEmailFromAddress": "string",
- "customEmailFromName": "string",
- "bookingEngineLogoUrl": "string",
- "bookingEngineMarketingUrl": "string",
- "calendarToolTipType": "string",
- "googleAdsLabel": "string",
- "googleAdsConversionID": "string",
- "googleApiSecretsKey": "string",
- "googleBudgetName": "string",
- "googleBudgetAmountMicros": "string",
- "customDomainUrl": "string",
- "fbPixelId": "string",
- "vatIncluded": true,
- "fontWebsite": "string",
- "fontSizeWebsite": "string",
- "fontEmailConfirmation": "string",
- "fontSizeEmailConfirmation": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1 Identifier of the property that is used in External system. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| availabilityGtThan | integer <int32> >= 0 Availability filter number. Records with availability grater than provided number will be included in result. Optional. |
| closedForSale | boolean Include in result closed for sale records. Optional. |
| channelId | integer <int32> >= 1 Channel identifier. Optional. |
| productId | Array of integers <int32> [ items <int32 > ] CSV list of Product identifiers. Optional. |
| roomId | Array of integers <int32> [ items <int32 > ] CSV list of Room identifiers. Optional. |
[- {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
]This API fetches record based on default restrictions :
availability greater than zero Or
closedForSale is true Or
closedToArrival is true Or
closedToDeparture is true Or
minLos is greater than one
| propertyId required | integer <int32> >= 1 Identifier of the property that is used in External system. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| channelId | integer <int32> >= 1 Channel identifier. Required. |
| productId | Array of integers <int32> [ items <int32 > ] CSV list of Product identifiers. Optional. |
| roomId | Array of integers <int32> [ items <int32 > ] CSV list of Room identifiers. Optional. |
[- {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
]| propertyId required | integer <int32> >= 1 Identifier of the property that is used in External system. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| availabilityGtThan | integer <int32> >= 0 Availability filter number. Records with availability grater than provided number will be included in result. Optional. |
| closedForSale | boolean Include in result closed for sale records. Optional. |
| channelId | integer <int32> >= 1 Channel identifier. Optional. |
| productId | Array of integers <int32> [ items <int32 > ] CSV list of Product identifiers. Optional. |
| roomId | Array of integers <int32> [ items <int32 > ] CSV list of Room identifiers. Optional. |
{- "prices": {
- "property1": 0.1,
- "property2": 0.1
}, - "closeDepartureParams": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "closeArrivalParams": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "closeSaleParams": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "currency": [
- "string"
], - "symbol": [
- "string"
], - "min_stays": {
- "property1": { },
- "property2": { }
}, - "min_stays_only": {
- "property1": { },
- "property2": { }
}, - "MinLos": {
- "property1": 0,
- "property2": 0
}, - "Cheapest": {
- "property1": {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}, - "property2": {
- "productId": 144308,
- "roomId": 101219,
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
}
}| propertyId required | integer <int32> >= 1 Identifier of the property that is used in External system. Required. |
| startDate | string <date> Start date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
| endDate | string <date> End date to filter calendar data. In 'yyyy-MM-dd' format. Optional. |
[- {
- "productId": 144308,
- "roomId": 101219,
- "roomType": "Executive Room",
- "roomName": "Executive Room Name",
- "productName": "Double Room with breakfast",
- "occupancy": 2,
- "meal": "English Breakfast",
- "mealName": "English Breakfast Name",
- "paymentPolicy": "Payment Policy",
- "cancellationPolicy": "Cancellation Policy",
- "date": "2021-09-16",
- "availability": 30,
- "minLos": 1,
- "maxLos": 7,
- "closedForSale": false,
- "closedToArrival": true,
- "closedToDeparture": true,
- "currency": "EUR",
- "symbol": "$",
- "prices": {
- "property1": 0,
- "property2": 0
}
}
]| propertyId required | integer <int32> Property Id. |
| checkInDate required | string arrivalDate |
| checkOutDate required | string departureDate |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| language | string Default: "en" Language. |
| promoCode | string Promo Code. |
object (CreateReservationGuestCount) |
{- "propertyId": 1000003,
- "checkInDate": "2024-08-18",
- "checkOutDate": "2024-08-19",
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "language": "en",
- "promoCode": "promo123",
- "totalGuestCounts": {
- "adults": 2,
- "children": [
- {
- "count": 1,
- "age": "7"
}
]
}
}| channel_id | integer <int32> |
| object_id | integer <int32> |
| room_ids | Array of integers <int32> [ items <int32 > ] |
{- "channel_id": 0,
- "object_id": 0,
- "room_ids": [
- 0
]
}{- "result": [
- 0
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> Property Id. |
| arrival required | string arrivalDate |
| departure required | string departureDate |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| language | string Default: "en" Language. |
required | Array of objects (CreateReservationRoomRate) |
required | object (CreateReservationGuestCount) |
| comments | Array of strings |
required | object (CreateReservationBooker) |
Array of objects (CreateReservationGuest) | |
object (CreateReservationOtaDetails) | |
object (CreateReservationCreditCardDetails) | |
| isCreditCardBooking | boolean |
{- "propertyId": 1000003,
- "arrival": "2024-08-18",
- "departure": "2024-08-19",
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "language": "en",
- "roomRates": [
- {
- "numberOfUnits": 1,
- "ratePlanId": "12345"
}
], - "totalGuestCounts": {
- "adults": 2,
- "children": [
- {
- "count": 1,
- "age": "7"
}
]
}, - "comments": [
- "string"
], - "booker": {
- "givenName": "First Name",
- "surName": "Sur Name",
- "phoneNumber": "+1111122222",
- "email": "abc@email.com",
- "addresses": [
- {
- "streetNmbr": "234",
- "cityName": "Berlin",
- "postalCode": "3R4D2E",
- "countryCode": "de",
- "countryName": "Germany",
- "companyName": "ABC Company",
- "addressLine": [
- "string"
], - "isBillingAddress": true
}
]
}, - "guests": [
- {
- "ratePlanId": "123456",
- "unit": "1",
- "givenName": "First Name",
- "surName": "Sur Name",
- "guestCounts": {
- "adults": 2,
- "children": [
- {
- "count": 1,
- "age": "7"
}
]
}
}
], - "otaDetails": {
- "bookingId": "123456789",
- "sourceOfBooking": "CultBooking Neo",
- "transactionNumber": "CBMV"
}, - "ccData": {
- "cardNumber": "string",
- "cardType": "string",
- "cardHolderName": "string",
- "expirationDate": "string",
- "cvv": "string"
}, - "isCreditCardBooking": true
}| propertyId required | integer <int32> Property Id. |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| reservationId required | string Reservation Id. |
| language | string Default: "en" Language. |
{- "propertyId": 1000003,
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "reservationId": "14253cds3bc244e",
- "language": "en"
}| propertyId required | integer <int32> Property Id. |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| reservationId required | string Reservation Id. |
object (CreateReservationCreditCardDetails) |
{- "propertyId": 1000003,
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "reservationId": "14253cds3bc244e",
- "ccData": {
- "cardNumber": "string",
- "cardType": "string",
- "cardHolderName": "string",
- "expirationDate": "string",
- "cvv": "string"
}
}| propertyId required | integer <int32> Property Id. |
| distributorId required | string Distributor Id. |
| distributorCode required | string Distributor Code. |
| reservationId required | string Reservation Id. |
| bookerReservationId required | string Booker Reservation Id. |
| language | string Default: "en" Language. |
| cancellationReasonLanguage | string Default: "en" Cancellation Reason Language. |
| cancellationReason | string Cancellation Reason. |
{- "propertyId": 1000003,
- "distributorId": "58078",
- "distributorCode": "14253cds3bc244e",
- "reservationId": "14253cds3bc244e",
- "bookerReservationId": "14253cds3bc244e",
- "language": "en",
- "cancellationReasonLanguage": "en",
- "cancellationReason": "Not Interested anymore"
}| distributorId required | integer <int32> DistributorId. Required. |
{- "result": {
- "name": "string",
- "agent_id": 0,
- "agent_code": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| id required | integer <int32> >= 1 RoomDB internal product Id. Required. |
{- "result": {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}It will return array of the identifiers if supplier has access to the product
| productId required | integer <int32> >= 1 RoomDB internal product Id. Required. |
{- "result": [
- {
- "productId": 123,
- "identifier": "40",
- "source": {
- "id": 0,
- "abbreviation": "exp",
- "name": "Expedia"
}
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the Product entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}Two params are needed: External System Abbreviation and External System Id.
| source required | string [ 1 .. 255 ] characters External System Abbreviation - abbreviation that is used in RoomDb to identify External system. In models known as IdentifierSource - abbreviation. Required. |
| id required | string [ 1 .. 255 ] characters External System Id - identifier that is used in External system. Required. |
{- "result": {
- "id": 0,
- "name": "Single room.",
- "basketId": 1,
- "ratePlanId": 1,
- "propertyId": 1,
- "pricingModelId": 1,
- "isPublic": false,
- "isPackage": false,
- "supplierUnitId": "string"
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoints to access Rate Plans (Products) for the product.
| id required | integer <int32> >= 1 RoomDB internal rate plan Id. Required. |
{- "result": {
- "id": 0,
- "baseName": "Rate Plan for single rooms.",
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "propertyId": 1000003,
- "cultSwitchCancellationPolicyIds": [
- 0
], - "cultSwitchPaymentPolicyIds": [
- 0
], - "cultSwitchBookingGuaranteeId": 0,
- "cultSwitchNoShowCancellationPolicyId": 0,
- "channelIds": [
- 0
], - "sellableUnits": [
- {
- "sellableUnitId": 1,
- "quantity": 1
}
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "isValidityRange": false,
- "isUnlimited": false
}
], - "restrictions": {
- "mode": 1,
- "modeIds": [
- 0
], - "minLengthOfStay": 0,
- "maxLengthOfStay": 0,
- "fromDay": 2,
- "toDay": 3,
- "until": 1,
- "within": 3,
- "geographicValidCountries": [
- "string"
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31"
}
], - "arrivalDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "bookableDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "departureDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}
}, - "ratePlanPrice": {
- "pricePlanType": "STANDARD_PRODUCT_PRICE/OCCUPANCY_PRODUCT_PRICE/STANDARD_ROOM_PRICE/OCCUPANCY_ROOM_PRICE/FIXED_PRICE/ANOTHER_PRODUCT_PRICE",
- "fixedPrice": 100,
- "sellableUnitId": 123,
- "ratePlanId": 345,
- "stdSurcharge": 0,
- "stdChargeMode": "PERCENTAGE/AMOUNT",
- "stdReduction": 0,
- "stdReductionMode": "PERCENTAGE/AMOUNT",
- "guestSurcharge": 10,
- "guestReduction": 10,
- "guestChargeMode": "PERCENTAGE/AMOUNT",
- "guestChargeReductionMode": "PERCENTAGE/AMOUNT",
- "standardPriceCharges": { },
- "guestCharges": { },
- "extraBedsInfo": [
- {
- "age": 5,
- "charge": 10,
- "mode": "PERCENTAGE/AMOUNT"
}
], - "minGuest": 1,
- "stdGuest": 3,
- "maxGuest": 5
}, - "commission": 55.9,
- "supplierUnitId": "string",
- "isPackage": true,
- "displayOccupancyPricesOnCalendar": true,
- "translationKey": "string",
- "roundingRuleId": 0,
- "originalRatePlanId": 0,
- "fileName": "string",
- "rooms": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "meals": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "extras": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "promotions": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchPromotionId": "string",
- "name": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "contracts": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchContractId": "string",
- "name": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "linkedPromotionProducts": [
- {
- "promotionId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "linkedContractProducts": [
- {
- "contractId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": 0,
- "products": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": "string"
}
]
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
{- "result": {
- "propertyId": 0,
- "rooms": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": 0,
- "capacities": [
- {
- "id": 0,
- "capacity": 0,
- "minCapacity": 0,
- "maxCapacity": 0,
- "dateRanges": [
- {
- "fromDate": "2019-08-24",
- "toDate": "2019-08-24",
- "days": [
- "string"
], - "isBlockOutRange": true,
- "isValidityRange": true,
- "isPriceRange": true,
- "isBookableRange": true,
- "isArrivalRange": true,
- "isDepartureRange": true,
- "unLimited": true,
- "price": 0
}
]
}
], - "products": [
- {
- "id": 0,
- "name": "string",
- "originalRatePlanId": 0,
- "supplierUnitId": "string",
- "promotions": [
- {
- "id": 0,
- "name": "string",
- "cultswitchPromotionId": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
], - "contracts": [
- {
- "id": 0,
- "name": "string",
- "cultswitchContractId": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
]
}
]
}
], - "extras": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "name": "string"
}
], - "meals": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "name": "string"
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| supplierUnitId required | string Rate plan Supplier Unit Id. Required. |
{- "result": {
- "id": 0,
- "baseName": "Rate Plan for single rooms.",
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "propertyId": 1000003,
- "cultSwitchCancellationPolicyIds": [
- 0
], - "cultSwitchPaymentPolicyIds": [
- 0
], - "cultSwitchBookingGuaranteeId": 0,
- "cultSwitchNoShowCancellationPolicyId": 0,
- "channelIds": [
- 0
], - "sellableUnits": [
- {
- "sellableUnitId": 1,
- "quantity": 1
}
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "isValidityRange": false,
- "isUnlimited": false
}
], - "restrictions": {
- "mode": 1,
- "modeIds": [
- 0
], - "minLengthOfStay": 0,
- "maxLengthOfStay": 0,
- "fromDay": 2,
- "toDay": 3,
- "until": 1,
- "within": 3,
- "geographicValidCountries": [
- "string"
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31"
}
], - "arrivalDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "bookableDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "departureDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}
}, - "ratePlanPrice": {
- "pricePlanType": "STANDARD_PRODUCT_PRICE/OCCUPANCY_PRODUCT_PRICE/STANDARD_ROOM_PRICE/OCCUPANCY_ROOM_PRICE/FIXED_PRICE/ANOTHER_PRODUCT_PRICE",
- "fixedPrice": 100,
- "sellableUnitId": 123,
- "ratePlanId": 345,
- "stdSurcharge": 0,
- "stdChargeMode": "PERCENTAGE/AMOUNT",
- "stdReduction": 0,
- "stdReductionMode": "PERCENTAGE/AMOUNT",
- "guestSurcharge": 10,
- "guestReduction": 10,
- "guestChargeMode": "PERCENTAGE/AMOUNT",
- "guestChargeReductionMode": "PERCENTAGE/AMOUNT",
- "standardPriceCharges": { },
- "guestCharges": { },
- "extraBedsInfo": [
- {
- "age": 5,
- "charge": 10,
- "mode": "PERCENTAGE/AMOUNT"
}
], - "minGuest": 1,
- "stdGuest": 3,
- "maxGuest": 5
}, - "commission": 55.9,
- "supplierUnitId": "string",
- "isPackage": true,
- "displayOccupancyPricesOnCalendar": true,
- "translationKey": "string",
- "roundingRuleId": 0,
- "originalRatePlanId": 0,
- "fileName": "string",
- "rooms": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "meals": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "extras": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "promotions": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchPromotionId": "string",
- "name": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "contracts": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchContractId": "string",
- "name": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "linkedPromotionProducts": [
- {
- "promotionId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "linkedContractProducts": [
- {
- "contractId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the Rate Plan entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| page | integer <int32> >= 0 Default: 0 Page number in paginated request. |
| size | integer <int32> [ 1 .. 1000 ] Default: 10 Size of the page in paginated request. |
| sortBy | string Default: "id" Field name that should be used for sorting in paginated request. Default is 'id'. |
| sortDesc | boolean Default: true Is descending sort should be applied in sorting in paginated request. Default is 'true'. |
| search | string Search on id, supplierUnitId, name. |
| excludeExpiredProducts | boolean excludeExpiredProducts |
| language | string Default: "en" language, Default is 'en'. |
{- "result": {
- "totalElements": 0,
- "totalPages": 0,
- "size": 0,
- "content": [
- {
- "id": 0,
- "baseName": "Rate Plan for single rooms.",
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "propertyId": 1000003,
- "cultSwitchCancellationPolicyIds": [
- 0
], - "cultSwitchPaymentPolicyIds": [
- 0
], - "cultSwitchBookingGuaranteeId": 0,
- "cultSwitchNoShowCancellationPolicyId": 0,
- "channelIds": [
- 0
], - "sellableUnits": [
- {
- "sellableUnitId": 1,
- "quantity": 1
}
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "isValidityRange": false,
- "isUnlimited": false
}
], - "restrictions": {
- "mode": 1,
- "modeIds": [
- 0
], - "minLengthOfStay": 0,
- "maxLengthOfStay": 0,
- "fromDay": 2,
- "toDay": 3,
- "until": 1,
- "within": 3,
- "geographicValidCountries": [
- "string"
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31"
}
], - "arrivalDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "bookableDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "departureDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}
}, - "ratePlanPrice": {
- "pricePlanType": "STANDARD_PRODUCT_PRICE/OCCUPANCY_PRODUCT_PRICE/STANDARD_ROOM_PRICE/OCCUPANCY_ROOM_PRICE/FIXED_PRICE/ANOTHER_PRODUCT_PRICE",
- "fixedPrice": 100,
- "sellableUnitId": 123,
- "ratePlanId": 345,
- "stdSurcharge": 0,
- "stdChargeMode": "PERCENTAGE/AMOUNT",
- "stdReduction": 0,
- "stdReductionMode": "PERCENTAGE/AMOUNT",
- "guestSurcharge": 10,
- "guestReduction": 10,
- "guestChargeMode": "PERCENTAGE/AMOUNT",
- "guestChargeReductionMode": "PERCENTAGE/AMOUNT",
- "standardPriceCharges": { },
- "guestCharges": { },
- "extraBedsInfo": [
- {
- "age": 5,
- "charge": 10,
- "mode": "PERCENTAGE/AMOUNT"
}
], - "minGuest": 1,
- "stdGuest": 3,
- "maxGuest": 5
}, - "commission": 55.9,
- "supplierUnitId": "string",
- "isPackage": true,
- "displayOccupancyPricesOnCalendar": true,
- "translationKey": "string",
- "roundingRuleId": 0,
- "originalRatePlanId": 0,
- "fileName": "string",
- "rooms": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "meals": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "extras": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "promotions": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchPromotionId": "string",
- "name": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "contracts": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchContractId": "string",
- "name": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "linkedPromotionProducts": [
- {
- "promotionId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "linkedContractProducts": [
- {
- "contractId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
]
}
], - "number": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "pageable": {
- "offset": 0,
- "sort": [
- {
- "direction": "string",
- "nullHandling": "string",
- "ascending": true,
- "property": "string",
- "ignoreCase": true
}
], - "paged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "unpaged": true
}, - "first": true,
- "last": true,
- "numberOfElements": 0,
- "empty": true
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| channelId required | integer <int32> Channel Id. Required. |
{- "result": {
- "propertyId": 0,
- "rooms": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": 0,
- "products": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": "string",
- "isMapped": true,
- "promotions": [
- {
- "id": 0,
- "name": "string",
- "cultswitchPromotionId": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
], - "contracts": [
- {
- "id": 0,
- "name": "string",
- "cultswitchContractId": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
], - "dateRanges": [
- {
- "id": 0,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "isUnlimited": true,
- "isValidityRange": true
}
]
}
]
}
], - "meals": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": 0,
- "products": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": "string",
- "isMapped": true,
- "promotions": [
- {
- "id": 0,
- "name": "string",
- "cultswitchPromotionId": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
], - "contracts": [
- {
- "id": 0,
- "name": "string",
- "cultswitchContractId": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
], - "dateRanges": [
- {
- "id": 0,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "isUnlimited": true,
- "isValidityRange": true
}
]
}
]
}
], - "extras": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": 0,
- "products": [
- {
- "id": 0,
- "name": "string",
- "supplierUnitId": "string",
- "isMapped": true,
- "promotions": [
- {
- "id": 0,
- "name": "string",
- "cultswitchPromotionId": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
], - "contracts": [
- {
- "id": 0,
- "name": "string",
- "cultswitchContractId": "string",
- "promocode": "string",
- "colour": "string",
- "discountValue": 0,
- "discountMode": "string"
}
], - "dateRanges": [
- {
- "id": 0,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "isUnlimited": true,
- "isValidityRange": true
}
]
}
]
}
]
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}All fields of the Rate Plan entity will be included in result.
| propertyId required | integer <int32> >= 1000000 RoomDB internal property Id. Required. |
| language | string Default: "en" language, Default is 'en'. |
{- "result": [
- {
- "id": 0,
- "baseName": "Rate Plan for single rooms.",
- "names": [
- {
- "id": 0,
- "nameType": {
- "id": 0,
- "code": "su",
- "name": "Sellable Unit"
}, - "text": "Room with single bed",
- "language": {
- "name": "German"
}
}
], - "descriptions": [
- {
- "text": "string",
- "descriptionType": {
- "code": "poi",
- "name": "Point Of Interest"
}, - "language": {
- "name": "German"
}
}
], - "propertyId": 1000003,
- "cultSwitchCancellationPolicyIds": [
- 0
], - "cultSwitchPaymentPolicyIds": [
- 0
], - "cultSwitchBookingGuaranteeId": 0,
- "cultSwitchNoShowCancellationPolicyId": 0,
- "channelIds": [
- 0
], - "sellableUnits": [
- {
- "sellableUnitId": 1,
- "quantity": 1
}
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31",
- "isValidityRange": false,
- "isUnlimited": false
}
], - "restrictions": {
- "mode": 1,
- "modeIds": [
- 0
], - "minLengthOfStay": 0,
- "maxLengthOfStay": 0,
- "fromDay": 2,
- "toDay": 3,
- "until": 1,
- "within": 3,
- "geographicValidCountries": [
- "string"
], - "dateRanges": [
- {
- "fromDate": "2021-09-01",
- "toDate": "2021-10-31"
}
], - "arrivalDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "bookableDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}, - "departureDays": {
- "mon": true,
- "tue": true,
- "weds": true,
- "thur": true,
- "fri": true,
- "sat": true,
- "sun": true
}
}, - "ratePlanPrice": {
- "pricePlanType": "STANDARD_PRODUCT_PRICE/OCCUPANCY_PRODUCT_PRICE/STANDARD_ROOM_PRICE/OCCUPANCY_ROOM_PRICE/FIXED_PRICE/ANOTHER_PRODUCT_PRICE",
- "fixedPrice": 100,
- "sellableUnitId": 123,
- "ratePlanId": 345,
- "stdSurcharge": 0,
- "stdChargeMode": "PERCENTAGE/AMOUNT",
- "stdReduction": 0,
- "stdReductionMode": "PERCENTAGE/AMOUNT",
- "guestSurcharge": 10,
- "guestReduction": 10,
- "guestChargeMode": "PERCENTAGE/AMOUNT",
- "guestChargeReductionMode": "PERCENTAGE/AMOUNT",
- "standardPriceCharges": { },
- "guestCharges": { },
- "extraBedsInfo": [
- {
- "age": 5,
- "charge": 10,
- "mode": "PERCENTAGE/AMOUNT"
}
], - "minGuest": 1,
- "stdGuest": 3,
- "maxGuest": 5
}, - "commission": 55.9,
- "supplierUnitId": "string",
- "isPackage": true,
- "displayOccupancyPricesOnCalendar": true,
- "translationKey": "string",
- "roundingRuleId": 0,
- "originalRatePlanId": 0,
- "fileName": "string",
- "rooms": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "meals": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "extras": [
- {
- "id": 0,
- "supplierUnitId": 0,
- "typeId": 0,
- "name": "string",
- "mealType": "string"
}
], - "promotions": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchPromotionId": "string",
- "name": "string",
- "marketingName": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "contracts": [
- {
- "productId": 0,
- "id": 0,
- "cultswitchContractId": "string",
- "name": "string",
- "promocode": "string",
- "colour": "string",
- "discountMode": "AMOUNT",
- "discountValue": 0
}
], - "linkedPromotionProducts": [
- {
- "promotionId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "linkedContractProducts": [
- {
- "contractId": 0,
- "products": [
- {
- "id": 0,
- "name": "string"
}
]
}
]
}
], - "status": "string",
- "message": "string",
- "executionTime": 0
}API endpoint to generate new token.
| supplierId required | string |
| supplierSecret required | string |
{- "tokenType": "string",
- "expiresIn": 0,
- "accessToken": "string",
- "executionTime": 0
}This API can be used by authorized users to get new token.
Potentially could be used to avoid token expire, just need to refresh before expiration time.
{- "tokenType": "string",
- "expiresIn": 0,
- "accessToken": "string",
- "executionTime": 0
}This API can be used to get all information about supplier account.
This endpoint available only for suppliers, administrators should use other endpoint and provide supplier name parameter.
{- "result": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}This API can be used to get all information about supplier account.
This endpoint available only for admin, supplier should use other endpoint.
| name required | string [ 1 .. 255 ] characters Supplier name. Required. |
{- "result": {
- "id": 0,
- "name": "Extranet application",
- "isActive": true,
- "extranetPartnerId": 0
}, - "status": "string",
- "message": "string",
- "executionTime": 0
}