API reference
/- Create a functional area 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
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
Create a location type
Read a location type
Update a location type
Delete a location type
Create a functional area...
Adds a category that functional areas can be filed under. Point a functional area at it with headcount_functional_area_type_id on the create or update endpoint for that area.
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
The name of the group type. Required. Sending a plain string sets the name for the account's default language; it is returned as a plain string in the language of the request.
- Mock serverhttps://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/headcount/functionalarea/type
- Your Rosterfy accounthttps://example.rosterfy.com/api/v2/headcount/functionalarea/type
curl -i -X POST \
https://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/headcount/functionalarea/type \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Rosterfy-Platform: admin' \
-d '{
"name": "Operations",
"sort_order": 1
}'Response
{ "object": { "id": 1, "name": "Operations", "sort_order": 1, "uuid": "f5d2192c-e3b6-4162-8e6c-5bc6f65900e9" }, "nice": [], "relations": [], "permissions": { "read": true, "update": true, "delete": true } }