Maxxton External API

Sections

Create accommodationtype

Body Parameters

accotypeKindIdinteger Required

Unique id associated with each kind of accommodationtype

brandIdinteger

Unique id associated with each brand

codestring Required

Unique code associated with each accommodationtype

Min length
1
Max length
2147483647
nrOfBathroomsnumber

Number of bathrooms that an accommodationtype can possess

nrOfBedroomsnumber

Number of bedrooms that an accommodationtype possess

parentIdinteger

If the accommodationtype is child to another accommodationtype

priorityinteger

The sequence in which the accommodationtype will be visible to the user

locationIdinteger Required

Unique id associated with each location to which the accommodationtype belong

translationsarray

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

Show child attributes

addressobject

Details of the address where the accommodationtype is situated

Show child attributes

originstring

Origin name of the resource

Max length
10
originIdstring

Origin Id of the resource

Response

200
Object
The request is completed successfully without any errors

Response Attributes

resourceIdinteger

Unique id associated with each accommodationtype

ledgerGroupIdinteger
typestring

Type of the resource i.e ACCOMMODATIONTYPE

Enum values:
ACCOMMODATIONTYPERESOURCEACTIVITYACTIVITYPRODUCTTYPEEXTRASPECIALCOMPOSITION
codestring

Unique code associated with each accommodationtype

locationIdinteger

Unique id associated with each location to which the accommodationtype belong

parentIdinteger

If the accommodationtype is child to another accommodationtype then the id of the parent accommodationtype is displayed in response

pathstring

The field denotes where the accommodationtype is located

hasObjectsboolean

If an accommodation is to be created having some predefined units then hasObjects check-box is checked and the value is true else the value is false.

dependsOnLedgerGroupboolean

If the accommodationtype ledger depends on a ledger group then the field is true else false

priorityinteger

The sequence in which the accommodationtype will be visible to the user

numberOfPersonsinteger

Total number of persons which an accommodationtype can accommodate

nrOfBedroomsnumber

Number of bedrooms that an accommodationtype possess

nrOfBathroomsnumber

Number of bathrooms that an accommodationtype can possess

accotypeKindIdinteger

Unique id associated with each kind of accommodationtype

translationsarray

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

Show child attributes

addressobject

Details of the address where the accommodationtype is situated

Show child attributes

archivedFromstring

Date from which the accommodationtype was archived. The accommodationtypes will not be displayed if the accommodationtype is archived. Thus for all accommodationtypes which are being displayed the value will be null.The format of the date will be in ISO 8601 standard(yyyy-MM-dd)

ledgerIdinteger
brandstring

Label associated with the accommodationtype by which an accommodationtype can be sold out. It can vary from website to website for same accommodationtype.

originstring
originIdstring
powerplayGroupIdinteger
groupIdinteger
qualityLevelIdinteger
previousPmsIdstring

Primary key of the entity it used to have in the previous pms used by the client. This is generally imported once while migrating from another PMS to Maxxton

accotypeDoorlockinteger

Number cards/keys for accommodation

accotypeBarrierinteger

Number of access cards for entry barrier at a location

linkedWithSupplierboolean

Identifier if the Resource is Linked with the Supplier or not

accommodationTypeKindCodestring

Unique code associated with each accommodationkind

500
Object
Error occurred while adding new accommodation type.

POST

/

Select
1

Response