Maxxton External API

Sections

Get all capacities for a unit

Query Parameters

returnWorkOrderUnitsboolean

Work order type units or their capacities are not returned by default. To get work order type units, this request parameter can be used with true value

filterarray

Following fields can be used for filtering response.
capacityId:0,
managerId:0,
capacity:0,
subjectId:0,
startDate:2026-04-02,
endDate:2026-04-02,
maxAge:0For more information, check: Filtering

Path Parameters

unitIdinteger Required

UnitId to fetch capacities

Response

200
Object
The request is completed successfully without any errors

Response Attributes

capacityIdinteger

Unique id associated with each capacity

capacityinteger

Number of subjects(people) who will come for stay

subjectIdinteger

Unique id asociated with each subject

startDatestring

Date from which the subject will be available for reservation. Date should be added using ISO 8601 standard(yyyy-MM-dd)

endDatestring

Date till which the subject will be available for reservation. Date should be added using ISO 8601 standard(yyyy-MM-dd)

namestring

Name of the subject

500
Object
Error occurred while fetching capacities for unit.

GET

/

Select
1

Response