Maxxton External API

Sections

Get accommodationtypes detail

Query Parameters

brandstring

Brand to filter records based on brand.

endDatestring

Date to filter records based on end date. Date should be added using ISO 8601 standard(yyyy-MM-dd).

resourceIdsarray

List of resourceIds to fetch the details.

returnSectionsarray

List of constant strings to return only the selected sections in the response. The possible values are ADDRESS, AMENITYCATEGORYSETS, CAPACITIES, CAPACITYREQUIREMENTS, DYNAMICFIELDS, IMAGES, ROOMS, VIDEOS, TRANSLATIONS. For example, returnSections=IMAGES,DYNAMICFIELDS will only return images and dynamicfields sections in the response. This is recommended to use to reduce the size of the response body and improve the performance of the call.

Enum values:
ADDRESSAMENITYCATEGORYSETSCAPACITIESCAPACITYREQUIREMENTSDYNAMICFIELDSIMAGESROOMSVIDEOSTRANSLATIONSUNITS
... 1 other enums
Allow unique items
true
returnWorkOrderTypesboolean
startDatestring

Date to filter records based on start date. Date should be added using ISO 8601 standard(yyyy-MM-dd).

pageinteger

Page number

sizeinteger

Size of the current page

sortstring

Sort parameter

filterarray

Following fields can be used for filtering response.
resourceId:0,
code:String,
ledgerGroupId:0,
locationId:0,
priority:0,
nrOfBedrooms:0.0,
nrOfBathrooms:0.0,
hasObjects:true,
path:String,
checkinTime:07:53:24,
checkoutTime:07:53:24,
lateCheckoutTime:07:53:24,
earlyCheckinTime:07:53:24,
archivedFrom:2026-04-02,
ledgerId:0,
parentId:0,
numberOfPersons:0,
accotypeKindId:0,
origin:String,
originId:String, <br...

Response

200
Object
The request is completed successfully without any errors

Response Attributes

totalElementsinteger

Total number of elements available in the whole response.

totalPagesinteger

Total number of pages the response has.

sizeinteger

Size of the current page.

contentarray

Show child attributes

numberinteger

Page number currently accessed.

sortobject

Show child attributes

firstboolean

Boolean field to specify if its the first page or not.

lastboolean

Boolean field to specify if its the last page or not.

numberOfElementsinteger

Total number of elements in the current page.

emptyboolean
500
Object
Error occurred while fetching AccommodationTypeUnitDetail.

GET

/

Select
1

Response