UnitGroup
Get a unit group
Get a unit group by id.<br>You must have at least one of these scopes: 'unitgroups.read, setup.read, setup.manage'.<br>For fine-grained clients, you must have this permission: 'core.unit_groups.read'.
get/inventory/v1/unit-groups/{id}
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/inventory/v1/unit-groups/{id}
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: unitgroups.read, setup.read, setup.manage, admin
Path parameters
idstring required
The id of the unit group.
Query parameters
languagesstring[]
'all' or comma separated list of two-letter language codes (ISO Alpha-2)
expandstring[]
List of all embedded resources that should be expanded in the response. Possible values are: property, connectedUnitGroups. All other values will be silently ignored.
Response
Return all the unit group data.
Example response
{
"id": "MUC-DBL",
"code": "DBL",
"property": {
"id": "MUC",
"code": "MUC",
"name": "Demo Hotel Munich",
"description": "This is the demo hotel Munich"
},
"name": {
"en": "Double Room",
"de": "Doppelzimmer"
},
"memberCount": 0,
"description": {
"en": "This is a nice room with as kingsize bed and flat screen",
"de": "Dies ist ein schönes Zimmer mit Kingsize-Bett und Flachbildschirm"
},
"maxPersons": 4,
"rank": 2,
"type": "BedRoom"
}Changes
No recorded changes to this operation across all 4 revisions of this API.