curl --location --request PATCH 'https://api.travtus.com/task/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"identifier": "2b1d4c71-766c-4834-a671-bea629e9af39",
"status": "completed",
"due_datetime": "2023-11-11 20:00:00",
"notes": "Some notes"
}'
{
"request_id": "5dc8327b-ebcb-4185-a0d0-5a5d40c56ed2"
}
This endpoint allows users to update a task created by Adam.
curl --location --request PATCH 'https://api.travtus.com/task/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"identifier": "2b1d4c71-766c-4834-a671-bea629e9af39",
"status": "completed",
"due_datetime": "2023-11-11 20:00:00",
"notes": "Some notes"
}'
{
"request_id": "5dc8327b-ebcb-4185-a0d0-5a5d40c56ed2"
}
identifier parameter or an external reference via the external_ref attribute.
All datetime fields included in the body parameters need to be specified as ISO8601-formatted date strings.
Datetime fields should follow a “YYYY-MM-DDThh:mm:ss” format.
identifier or external_ref to update a task.identifier or external_ref to update a task.created, in_progress, completed, or deletedlow, normal, high, very_high.curl --location --request PATCH 'https://api.travtus.com/task/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
"identifier": "2b1d4c71-766c-4834-a671-bea629e9af39",
"status": "completed",
"due_datetime": "2023-11-11 20:00:00",
"notes": "Some notes"
}'
{
"request_id": "5dc8327b-ebcb-4185-a0d0-5a5d40c56ed2"
}