Skip to main content

API reference

Stratech Booking API (v1)

Download OpenAPI specification:Download

Stratech Booking

Channel manager - booking

Calculate a booking

Calculate a booking

path Parameters
channelReference
required
string

The external reference of the channel

version
required
string
Request Body schema: application/json

The calculate request object

arrivalDate
required
string <date-time>
departureDate
required
string <date-time>
productId
required
string non-empty
required
object (TravelCompositionRequest)
required
Array of objects (ArticleRequest)

List with optional articles, can be empty.

sessionId
string or null

To create a session, a session id can be passed here. When empty no session will be used.

Responses

Request samples

Content type
application/json
{
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "articles": [ ]
}

Response samples

Content type
application/json
{
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "calculatedArticles": [
    ],
  • "optionalArticles": [
    ],
  • "nettPrice": 18,
  • "discount": -2,
  • "deposit": 0
}

Create a booking

Create a booking

path Parameters
channelReference
required
string

The external reference of the channel

version
required
string
Request Body schema: application/json

The create booking request object

required
object (GuestBase)
otaReservationNumber
string or null [ 0 .. 50 ] characters
otaLabel
string or null [ 0 .. 80 ] characters
guestRemark
string or null [ 0 .. 2000 ] characters
arrivalDate
required
string <date-time>
departureDate
required
string <date-time>
productId
required
string non-empty
required
object (TravelCompositionRequest)
required
Array of objects (ArticleRequest)

List with optional articles, can be empty.

sessionId
string or null

To create a session, a session id can be passed here. When empty no session will be used.

Responses

Request samples

Content type
application/json
{
  • "guest": {
    },
  • "guestRemark": "A remark or message from the guest",
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "articles": [
    ]
}

Response samples

Content type
application/json
{
  • "reservationNumber": "202200176",
  • "otaReservationNumber": "qyb1zsl0tw",
  • "paymentTerms": [
    ],
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "calculatedArticles": [
    ],
  • "nettPrice": 23,
  • "discount": -2,
  • "deposit": 0
}

Get the status of all bookings with a creation date between the start and end date for a channel

Get the status of all bookings with a creation date between the start and end date for a channel

path Parameters
version
required
string
query Parameters
startDate
string <date-time>

The start date of the period of bookings to get

endDate
string <date-time>

The end date of the period of bookings to get

channelReference
string

(Optional) The external reference of the channel

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Channel manager - price-availability

Get a los pricing dataset

Get the length of stay pricing dataset for an OTA channel

path Parameters
resortId
required
string

The id of the resort

channelReference
required
string

The external reference of the channel

key
required
string

The key of the los dataset ({yyyy-mm-dd}-v1)

version
required
string

Responses

Response samples

Content type
application/json
{
  • "reference": "Booking",
  • "products": [
    ]
}

Channel-manager

Get relevant organizations per OTA channel

Get per OTA channel the organizations and their resorts that distribute to this OTA channel.

path Parameters
version
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Organization

Get organization details

path Parameters
version
required
string

Responses

Response samples

Content type
application/json
{
  • "name": "Leisure Parks B.V.",
  • "featureCategories": [
    ],
  • "paymentMethods": [
    ],
  • "referrals": [
    ],
  • "salutations": [
    ],
  • "resorts": [
    ],
  • "distributionChannels": [
    ]
}

Partner

Get available organizations for partner

path Parameters
version
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Web partner - booking

Calculate a booking

Calculate a booking

path Parameters
channelId
required
string

The id of the channel

version
required
string
Request Body schema: application/json

The calculate request object

preferredUnitId
string or null
promotionalCode
string or null
arrivalDate
required
string <date-time>
departureDate
required
string <date-time>
productId
required
string non-empty
required
object (TravelCompositionRequest)
required
Array of objects (ArticleRequest)

List with optional articles, can be empty.

sessionId
string or null

To create a session, a session id can be passed here. When empty no session will be used.

Responses

Request samples

Content type
application/json
{
  • "preferredUnitId": "unit_n06q6gx0",
  • "promotionalCode": "Promotion22",
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "articles": [ ]
}

Response samples

Content type
application/json
{
  • "preferredUnitId": "unit_n06q6gx0",
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "calculatedArticles": [
    ],
  • "optionalArticles": [
    ],
  • "nettPrice": 18,
  • "discount": -2,
  • "deposit": 0
}

Create a booking

Create a booking

path Parameters
channelId
required
string

The id of the channel

version
required
string
Request Body schema: application/json

The create booking request object

preferredUnitId
string or null
promotionalCode
string or null
licensePlates
Array of strings or null
required
object (WebPartnerGuest)
otaReservationNumber
string or null [ 0 .. 50 ] characters
otaLabel
string or null [ 0 .. 80 ] characters
guestRemark
string or null [ 0 .. 2000 ] characters
arrivalDate
required
string <date-time>
departureDate
required
string <date-time>
productId
required
string non-empty
required
object (TravelCompositionRequest)
required
Array of objects (ArticleRequest)

List with optional articles, can be empty.

sessionId
string or null

To create a session, a session id can be passed here. When empty no session will be used.

Responses

Request samples

Content type
application/json
{
  • "preferredUnitId": "unit_n06q6gx0",
  • "promotionalCode": "Promotion22",
  • "licensePlates": [
    ],
  • "guest": {
    },
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "articles": [
    ]
}

Response samples

Content type
application/json
{
  • "preferredUnitId": "unit_n06q6gx0",
  • "reservationNumber": "202200176",
  • "paymentTerms": [
    ],
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    },
  • "calculatedArticles": [
    ],
  • "nettPrice": 23,
  • "discount": -2,
  • "deposit": 0
}

Get available units

Get available units

path Parameters
channelId
required
string

The id of the channel

version
required
string
Request Body schema: application/json

The available units request object

arrivalDate
required
string <date-time>
departureDate
required
string <date-time>
productId
required
string non-empty
object (TravelCompositionRequest)
sessionId
string or null

Responses

Request samples

Content type
application/json
{
  • "arrivalDate": "2023-10-25T00:00:00+02:00",
  • "departureDate": "2023-11-01T00:00:00+01:00",
  • "productId": "prod_t3qvyvtp",
  • "travelComposition": {
    }
}

Response samples

Content type
application/json
{
  • "unitIds": [
    ]
}

Returns the reservation payment terms if the total amount is greater than 0

Returns the reservation payment terms

path Parameters
reservationNumber
required
string

The reservationnumber of which the paymentterms are to be returned

version
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create payment at booking

Create payment at booking

path Parameters
reservationNumber
required
string

The id of the channel

version
required
string
Request Body schema: application/json

The create payment request object

paymentDate
required
string <date-time>
paymentMethodId
required
string non-empty
amount
required
number <double>
description
string or null

Responses

Request samples

Content type
application/json
{
  • "paymentDate": "2023-10-18T00:00:00+02:00",
  • "paymentMethodId": "pm_w3gf38",
  • "amount": 123.45,
  • "description": "Preferably a payment reference"
}

Web partner - guest

Get the guest

Get details of the guest

path Parameters
version
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "gst_cnsj8qmy",
  • "surname": "Smith",
  • "firstName": "John",
  • "initials": "J",
  • "dateOfBirth": "1988-04-14",
  • "salutationTranslations": [
    ],
  • "languageCode": "NL",
  • "iban": "NL18RABO0123459876",
  • "bic": "RABONL2U",
  • "emailAddresses": [
    ],
  • "phoneNumbers": [
    ]
}

Get reservations

Get reservations belonging to the guest

path Parameters
version
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get a reservation

Get details of the reservation from the reservation number

path Parameters
reservationNumber
required
string

The reservation number

version
required
string

Responses

Response samples

Content type
application/json
{
  • "reservationNumber": "202200176",
  • "bookingDate": "2023-10-18T00:00:00+02:00",
  • "status": "reservation",
  • "pricePeriod": {
    },
  • "stayPeriod": {
    },
  • "product": {
    },
  • "unit": {
    },
  • "travelComposition": [
    ],
  • "financial": {
    },
  • "remarks": {
    },
  • "articles": [
    ],
  • "paymentTerms": [
    ],
  • "payments": [
    ],
  • "licensePlates": [
    ]
}

Web partner - price-availability

Get a los pricing dataset

Get the length of stay pricing dataset for a distribution channel

path Parameters
resortId
required
string

The reference of the resort

channelId
required
string

The id of the channel

key
required
string

The key of the los dataset ({yyyy-mm-dd}-v1)

version
required
string

Responses

Response samples

Content type
application/json
{
  • "reference": "Booking",
  • "products": [
    ]
}