curl --request PUT \
--url https://api.twine.se/v1/org/time-reports/{time_report_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"employee_id": "018eae56-8f9d-7ca0-bea3-17f3db6cf75b",
"end_date": "2021-06-01",
"source_external_time_type_id": "018eae56-8f9d-7ca0-bea3-17f3db6cf75b, VACATION, etc",
"source_system_slug": "twine",
"start_date": "2021-06-01",
"child_id": "018eae56-8f9d-7ca0-bea3-17f3db6cf75b",
"child_name": "John",
"comment": "Worked on project X",
"extent": 0.5,
"from_time": "08:00",
"minutes": [
480,
480
],
"time_report_request_status": "unknown",
"to_time": "17:00"
},
"job_options": {
"date_range": {
"end_date": "2021-06-30",
"start_date": "2021-06-01"
},
"domain_mapping_id": "018eae56-8f9d-7ca0-bea3-17f3db6cf75b",
"queue_job": true,
"schedule_in": 120
}
}
'