API reference
/- Create a location type
List functional areas
Create a functional area
Read a functional area
Update a functional area
Delete a functional area
List job titles
Create a job title
Read a job title
Update a job title
Delete a job title
List functional area types
Create a functional area type
Read a functional area type
Update a functional area type
Delete a functional area type
Add people to a functional area
List locations
Create a location
Read a location
Update a location
Delete a location
List a location's venues
Create a venue
Read a venue
Update a venue
Delete a venue
List location types
Read a location type
Update a location type
Delete a location type
Create a location type
Adds a category that locations can be filed under. Point a location at it with headcount_location_type_id on the create or update endpoint for that location.
A type created without sort_order comes back without that field, rather than with its stored default of 0. Read the type back if you need its complete state.
Security
default
- Mock serverhttps://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/headcount/location/type
- Your Rosterfy accounthttps://example.rosterfy.com/api/v2/headcount/location/type
curl -i -X POST \
https://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/headcount/location/type \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Rosterfy-Platform: admin' \
-d '{
"name": "Stadium",
"sort_order": 1
}'Response
{ "object": { "id": 1, "name": "Stadium", "sort_order": 1, "uuid": "bf46e175-87a9-4968-8e58-21efec6873a2" }, "nice": [], "relations": [], "permissions": { "read": true, "update": true, "delete": true } }