Maxxton External API

Sections

Create additions for a offer

Path Parameters

resourceIdinteger Required

Addition resource id of offer, which is an addition on a resource specified by resourceId in the request body.

Body Parameters

additionIdinteger

Unique id associated with each addition

additionResourceIdinteger
additionFastboolean

If the checkbox of additionfast is selected in the system then the value for the field is true else false

mandatoryResourceboolean

If the addition is mandatory for the customer then the value for the field is true else false

maxQuantityinteger

The maximum number of additions that a guest can reserve in all the reservations he makes

maxReservableinteger

The maximum number of additions that a guest can reserve in a reservation

maxTotalQuantityinteger
unitIdinteger

Unique id associated with the unit for which the additions can be reserved

priceCompareboolean

If there is more than one cashflowrule is available for an addition and guest can compare the rates available then the value for the field is true else false

resourceIdinteger Required

Unique id associated with the accommodationtype for which the addition is valid

supplierAdditionIdinteger

If a location is linked to a supplier system, then creating a booking on this location will also create a reservation in supplier system and the supplier's addition id will be available in this field.

validFromstring

Date from which the addition will be applicable for reservation. The format of the date will be in ISO 8601 standard(yyyy-MM-dd)

validTostring

Date till which the addition is valid. The format of the date will be in ISO 8601 standard(yyyy-MM-dd)

resourceMomentarray

It is the show moment of the resource

Show child attributes

typestring

It is the type of the resource. The possible values can be: RESOURCEACTIVITY, ACCOMMODATIONTYPE, ACTIVITY, PRODUCTTYPE, EXTRA, SPECIAL, COMPOSITION

Enum values:
ACCOMMODATIONTYPERESOURCEACTIVITYACTIVITYPRODUCTTYPEEXTRASPECIALCOMPOSITION
translationsarray

Information of the additions which depends on a language and is translatable by the user. Multiple entries for different language can exist.

Show child attributes

addonTypestring

It is the type of the addon.

bookDateFromstring

Date from which the addition is bookable. The format of the date will be in ISO 8601 standard(yyyy-MM-ddThh:mm:sssZ)

bookDateTostring

Date till which the addition is bookable. The format of the date will be in ISO 8601 standard(yyyy-MM-ddThh:mm:sssZ)

i18narray
writeOnly

Show child attributes

Response

200
Object
The request is completed successfully without any errors

Response Attributes

additionIdinteger

Unique id associated with each addition

additionResourceIdinteger
additionFastboolean

If the checkbox of additionfast is selected in the system then the value for the field is true else false

mandatoryResourceboolean

If the addition is mandatory for the customer then the value for the field is true else false

maxQuantityinteger

The maximum number of additions that a guest can reserve in all the reservations he makes

maxReservableinteger

The maximum number of additions that a guest can reserve in a reservation

maxTotalQuantityinteger
unitIdinteger

Unique id associated with the unit for which the additions can be reserved

priceCompareboolean

If there is more than one cashflowrule is available for an addition and guest can compare the rates available then the value for the field is true else false

resourceIdinteger Required

Unique id associated with the accommodationtype for which the addition is valid

supplierAdditionIdinteger

If a location is linked to a supplier system, then creating a booking on this location will also create a reservation in supplier system and the supplier's addition id will be available in this field.

validFromstring

Date from which the addition will be applicable for reservation. The format of the date will be in ISO 8601 standard(yyyy-MM-dd)

validTostring

Date till which the addition is valid. The format of the date will be in ISO 8601 standard(yyyy-MM-dd)

resourceMomentarray

It is the show moment of the resource

Show child attributes

typestring

It is the type of the resource. The possible values can be: RESOURCEACTIVITY, ACCOMMODATIONTYPE, ACTIVITY, PRODUCTTYPE, EXTRA, SPECIAL, COMPOSITION

Enum values:
ACCOMMODATIONTYPERESOURCEACTIVITYACTIVITYPRODUCTTYPEEXTRASPECIALCOMPOSITION
locationArticleboolean

If true, the add-on should be paid upon arrival at the location. The price is not included in the total price of the bill but listed separately.

readOnly
translationsarray

Information of the additions which depends on a language and is translatable by the user. Multiple entries for different language can exist.

Show child attributes

addonTypestring

It is the type of the addon.

bookDateFromstring

Date from which the addition is bookable. The format of the date will be in ISO 8601 standard(yyyy-MM-ddThh:mm:sssZ)

bookDateTostring

Date till which the addition is bookable. The format of the date will be in ISO 8601 standard(yyyy-MM-ddThh:mm:sssZ)

500
Object
Error occurred while fetching addition.

POST

/

Select
1

Response