API reference
/- Update 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
Create a functional area type
Read 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
Update a functional area...
Updates the fields supplied and returns the type in the same shape as reading it. Only the fields sent are touched, so an empty body is a valid request that changes nothing.
Renaming a type does not affect which functional areas are filed under it.
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/{id}
- Your Rosterfy accounthttps://example.rosterfy.com/api/v2/headcount/functionalarea/type/{id}
curl -i -X PUT \
'https://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/headcount/functionalarea/type/{id}' \
-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 } }