Create schedule item
Create a new schedule item with data provided in the request body. JSON format is expected. Similar schedule items cannot exist with same project, task type, and object.
POST
/data/schedule-items/
curl \
--request POST 'http://api.example.com/data/schedule-items/' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"project_id":"a24a6ea4-ce75-4665-a070-57453082c25","task_type_id":"b24a6ea4-ce75-4665-a070-57453082c25","object_id":"c24a6ea4-ce75-4665-a070-57453082c25","man_days":10.5}'
Request examples
{
"project_id": "a24a6ea4-ce75-4665-a070-57453082c25",
"task_type_id": "b24a6ea4-ce75-4665-a070-57453082c25",
"object_id": "c24a6ea4-ce75-4665-a070-57453082c25",
"man_days": 10.5
}
Response examples (201)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"project_id": "b24a6ea4-ce75-4665-a070-57453082c25",
"task_type_id": "c24a6ea4-ce75-4665-a070-57453082c25",
"object_id": "d24a6ea4-ce75-4665-a070-57453082c25",
"man_days": 10.5,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}