There are a couple of different ways to get office information.
GET /offices
office:read
owner
Response: Paginated Array
id
- string: Office Idname
- string: Office nametotal_desks
- number: Sum of all desks currently in the officetotal_meeting_rooms
- number: Sum of all meeting rooms currently in the officeExample
$ http GET 'http://localhost:5000/offices' 'X-Tactic-Orgz: ORGANIZATION_SLUG' 'Authorization: Bearer ACCESS_TOKEN'HTTP/1.1 200 OK{"cursor": "offi_444c6631-0968-4797-a123-8c75b3393f56","elements": [{"id": "offi_444c6631-0968-4797-a123-8c75b3393f56","name": "Parma Heights","total_desks": 0,"total_meeting_rooms": 0}]}
GET /offices/:id
office:read
owner
Response: Paginated Array
id
- string: Office Idname
- string: Office nametotal_desks
- number: Sum of all desks currently in the officetotal_meeting_rooms
- number: Sum of all meeting rooms currently in the officeExample
$ http GET 'http://localhost:5000/offices/offi_444c6631-0968-4797-a123-8c75b3393f56' 'X-Tactic-Orgz: ORGANIZATION_SLUG' 'Authorization: Bearer ACCESS_TOKEN'HTTP/1.1 200 OK{"id": "offi_444c6631-0968-4797-a123-8c75b3393f56","name": "Parma Heights","total_desks": 55,"total_meeting_rooms": 0}