cURL
curl --request PUT \ --url https://api-{region}.sesametime.com/contract/v1/workday-types/{workdayTypeId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "2023-12-25" } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "editable": true } }
API token obtained from Sesame HR Dashboard > Settings > Integrations > API
Workday Type ID
Workday type object that needs to be updated
Name of the workday type
Workday Type
Show child attributes
Suggestions