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'.
get/inventory/v1/unit-groups/{id}
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 endpoint across all 1 revision of this API.