Skip to main content
POST
/
project
/
v1
/
planned-tasks-assignations
Assign an Entity (Employee, Office, Department or EntityGroup) to a planned task
curl --request POST \
  --url https://api-{region}.sesametime.com/project/v1/planned-tasks-assignations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plannedTaskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "entityReference": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "employee"
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

API token obtained from Sesame HR Dashboard > Settings > Integrations > API

Body

application/json

Entity object to assign for the task that needs

plannedTaskId
string<uuid>
required

The id of the planned task

entityReference
object
required

Response

200 - application/json

Object

id
string<uuid>