curl --request POST \
--url https://api-sandbox.timeking.nl/api/external/v1/task \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"additionalwork": [
{
"item_id": 123,
"item_type": "<string>",
"pricings": [
{
"amount": "<string>",
"price_per": "<string>",
"unit_custom_name": "<string>",
"unit_id": 123
}
]
}
],
"administration_id": 123,
"amount_amount": "<string>",
"amount_custom_name": "<string>",
"amount_id": 123,
"amount_unit_custom_name": "<string>",
"amount_unit_id": 123,
"amounts": [
{
"amount": "<string>",
"amount_custom_name": "<string>",
"amount_id": 123,
"unit_custom_name": "<string>",
"unit_id": 123
}
],
"arrangements": {
"commute": "<string>",
"daily_allowance": "<string>",
"distance_amount": "<string>",
"foreman_allowance": "<string>",
"nightly_allowance": "<string>",
"parking_fees": "<string>",
"travel_allowance_personal": "<string>"
},
"arrival_load_location": "2023-11-07T05:31:56Z",
"arrival_unload_location": "2023-11-07T05:31:56Z",
"at_same_time": 123,
"buyer_custom_name": "<string>",
"buyer_id": 123,
"capacity_plan_capacity_id": 123,
"capacity_plan_id": 123,
"client_custom_name": "<string>",
"client_id": 123,
"color": "<string>",
"components": [
{
"amount": "<string>",
"material_custom_name": "<string>",
"material_id": 123,
"unit_custom_name": "<string>",
"unit_id": 123
}
],
"conceptdate": "2023-11-07T05:31:56Z",
"confirmed": 123,
"confirmed_date": "2023-12-25",
"coordinates": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": 123,
"created_by_type": "<string>",
"custom_status1": 123,
"custom_status2": 123,
"customfield1": "<string>",
"customfield2": "<string>",
"customfield3": "<string>",
"customfield4": "<string>",
"customfield5": "<string>",
"date": "2023-12-25",
"debits": [
{
"amount": "<string>",
"expense_custom_name": "<string>",
"expense_id": 123
}
],
"deleted_at": "2023-11-07T05:31:56Z",
"departure_load_location": "2023-11-07T05:31:56Z",
"departure_unload_location": "2023-11-07T05:31:56Z",
"description": "<string>",
"distances": [
{
"amount": "<string>",
"amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"at_same_time": "<string>",
"end_mileage": 123,
"hours_stand": 123,
"operating_hours": "<string>",
"start_mileage": 123,
"vehicle_custom_name": "<string>",
"vehicle_id": 123
}
],
"distances2": [
{
"amount": "<string>",
"amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"at_same_time": "<string>",
"end_mileage": 123,
"hours_stand": 123,
"operating_hours": "<string>",
"start_mileage": 123,
"vehicle_custom_name": "<string>",
"vehicle_id": 123
}
],
"distances3": [
{
"amount": "<string>",
"amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"at_same_time": "<string>",
"end_mileage": 123,
"hours_stand": 123,
"operating_hours": "<string>",
"start_mileage": 123,
"vehicle_custom_name": "<string>",
"vehicle_id": 123
}
],
"drawee_custom_name": "<string>",
"drawee_id": 123,
"end_mileage": 123,
"end_time": "2023-11-07T05:31:56Z",
"entry": {
"comment": "<string>",
"date": "2023-12-25",
"id": 123,
"user": {
"activated_at": "2023-11-07T05:31:56Z",
"activation_code": "<string>",
"add_hours_mail": 123,
"address": "<string>",
"avatar_url": "<string>",
"banned_at": "2023-11-07T05:31:56Z",
"banned_reason": "<string>",
"clock_type": "<string>",
"contactperson": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_ip_address": "<string>",
"custom_message": 123,
"custom_message_history": "<string>",
"date_of_birth": "2023-12-25",
"default_administration_id": 123,
"default_client_id": 123,
"default_extrawork_id": 123,
"default_operation_category_id": 123,
"default_operation_id": 123,
"default_order_id": 123,
"default_task_type_slug": "<string>",
"default_travel_time": 123,
"default_user_group_id": 123,
"default_vehicle2_id": 123,
"default_vehicle3_id": 123,
"default_vehicle_id": 123,
"deleted_at": "2023-11-07T05:31:56Z",
"deleted_by": 123,
"description": "<string>",
"dont_save_images_to_gallery": 123,
"email": "<string>",
"employee_number": "<string>",
"extra_data": {},
"first_name": "<string>",
"groups": [
{
"code": "<string>",
"color": "<string>",
"description": "<string>",
"id": 123,
"name": "<string>",
"pivot": {
"user_group_id": 123,
"user_id": 123
},
"sort_order": 123
}
],
"house_number": "<string>",
"id": 123,
"initials": "<string>",
"is_guest": 123,
"is_mail_blocked": 123,
"is_support_active": 123,
"keep_screen_active": 123,
"language_preference": "<string>",
"last_ip_address": "<string>",
"last_name": "<string>",
"last_seen": "2023-11-07T05:31:56Z",
"location_administration": 123,
"location_automatic": 123,
"location_coordinates": "<string>",
"location_lastseen": "2023-11-07T05:31:56Z",
"location_whoiswhere": 123,
"mails": {},
"new_tasks_mail": 123,
"note_entries": [
{
"date": "<string>",
"description": "<string>",
"title": "<string>"
}
],
"notes": "<string>",
"notification_frequency": "<string>",
"open_pdf_external": 123,
"open_url_external": 123,
"phone": "<string>",
"postal_code": "<string>",
"primary_group_id": 123,
"push_token": "<string>",
"residence": "<string>",
"settings_location": 123,
"settings_notification": 123,
"social_security_number": "<string>",
"sort_order": 123,
"superadmin_description": "<string>",
"supplier_id": 123,
"task_color": "<string>",
"task_newtask": 123,
"task_showclients": 123,
"task_showoperations": 123,
"task_workedhours": 123,
"tasktypes_blocked": [
"<any>"
],
"times_enable_minimal_pause_minutes": 123,
"times_enable_minimal_work_hours": 123,
"times_minimal_pause_minutes": "<string>",
"times_minimal_work_hours": "<string>",
"two_factor_confirmed_at": "2023-11-07T05:31:56Z",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"username": "<string>",
"version": "<string>"
},
"user_id": 123
},
"entry_id": 123,
"expense_amount": "<string>",
"expense_custom_name": "<string>",
"expense_id": 123,
"external_ids": {},
"extrawork_custom_name": "<string>",
"extrawork_id": 123,
"finished": 123,
"from_portal": 123,
"group_identifier": "<string>",
"has_read": 123,
"has_sent": 123,
"hours_stand": 123,
"id": 123,
"identifier": "<string>",
"internal_description": "<string>",
"invoice_items": [
{
"customfield1": "<string>",
"customfield2": "<string>",
"customfield3": "<string>",
"customfield4": "<string>",
"customfield5": "<string>",
"datetime": "2023-11-07T05:31:56Z",
"description": "<string>",
"discount": 123,
"external_ids": {},
"id": 123,
"invoice_id": 123,
"invoice_item_id": 123,
"item_id": 123,
"item_pricing_id": 123,
"item_type": "<string>",
"price": 123,
"quantity": 123,
"source_id": 123,
"source_type": "<string>",
"unit": "<string>",
"vat_rate_id": 123
}
],
"invoiced": 123,
"invoiced_time": "2023-11-07T05:31:56Z",
"klic_links": [
{
"klic_link": "<string>"
}
],
"last_edited_by": 123,
"load_amount": "<string>",
"load_coordinates": "<string>",
"load_location": "<string>",
"load_location_id": 123,
"load_material_custom_name": "<string>",
"load_material_id": 123,
"load_reference": "<string>",
"load_storage_number": "<string>",
"load_unit_custom_name": "<string>",
"load_unit_id": 123,
"load_unload_customfield1": "<string>",
"loading_unloading": [
{
"arrival_load_location": "2023-11-07T05:31:56Z",
"arrival_unload_location": "2023-11-07T05:31:56Z",
"buyer_custom_name": "<string>",
"buyer_id": 123,
"departure_load_location": "2023-11-07T05:31:56Z",
"departure_unload_location": "2023-11-07T05:31:56Z",
"drawee_custom_name": "<string>",
"drawee_id": 123,
"load_amount": "<string>",
"load_coordinates": "<string>",
"load_location": "<string>",
"load_material_custom_name": "<string>",
"load_material_id": 123,
"load_reference": "<string>",
"load_storage_number": "<string>",
"load_unit_custom_name": "<string>",
"load_unit_id": 123,
"load_unload_customfield1": "<string>",
"supplier_custom_name": "<string>",
"supplier_id": 123,
"unload_amount": "<string>",
"unload_coordinates": "<string>",
"unload_location": "<string>",
"unload_reference": "<string>",
"unload_storage_number": "<string>"
}
],
"location": "<string>",
"locations": [
{
"coordinates": "<string>",
"location": "<string>",
"reference": "<string>"
}
],
"logbook": [
{
"comment": "<string>",
"date": "<string>"
}
],
"man_day_id": 123,
"manure_code": "<string>",
"manure_codes": [
{
"code": "<string>"
}
],
"material_amount": "<string>",
"material_custom_name": "<string>",
"material_id": 123,
"material_unit_custom_name": "<string>",
"material_unit_id": 123,
"operating_hours": "2023-11-07T05:31:56Z",
"operation_amount": "<string>",
"operation_amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"operation_category_id": 123,
"operation_custom_name": "<string>",
"operation_id": 123,
"operations": [
{
"amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"at_same_time": "<string>",
"operation_category_id": 123,
"operation_custom_name": "<string>",
"operation_id": 123,
"operation_type": "<string>",
"time": "<string>"
}
],
"order_id": 123,
"ordernumber": "<string>",
"parent_id": 123,
"part_amount": "<string>",
"part_custom_name": "<string>",
"part_id": 123,
"part_unit_custom_name": "<string>",
"part_unit_id": 123,
"parts": [
{
"amount": "<string>",
"description": "<string>",
"part_custom_name": "<string>",
"part_id": 123,
"unit_custom_name": "<string>",
"unit_id": 123
}
],
"pause_time": 123,
"pause_times": [
{
"from": "<string>",
"to": "<string>"
}
],
"pricelist_id": 123,
"pricing_zone_double_calculate_transport": 123,
"pricing_zone_id": 123,
"pricing_zone_locked": 123,
"pricing_zone_price": "<string>",
"processed": 123,
"processed_time": "2023-11-07T05:31:56Z",
"range_end_date": "2023-12-25",
"reference": "<string>",
"repair_time": 123,
"repair_times": [
{
"from": "<string>",
"to": "<string>"
}
],
"repeats": 123,
"row_id": "<string>",
"send_changes": 123,
"sent_by_mail": 123,
"sign_off_sheet_id": 123,
"start_mileage": 123,
"start_time": "2023-11-07T05:31:56Z",
"storage_number": 123,
"subcontractor_custom_email": "<string>",
"subcontractor_custom_name": "<string>",
"subcontractor_custom_phone": "<string>",
"subcontractor_id": 123,
"suborder_custom_name": "<string>",
"suborder_id": 123,
"subuser_id": 123,
"supplier_custom_name": "<string>",
"supplier_id": 123,
"timer_is_running": 123,
"timer_start_time": "2023-11-07T05:31:56Z",
"timer_type": "<string>",
"travel_time": 123,
"travel_time_machine": "2023-11-07T05:31:56Z",
"travel_times": [
{
"from": "<string>",
"to": "<string>",
"type": "<string>"
}
],
"type": "<string>",
"unload_amount": "<string>",
"unload_coordinates": "<string>",
"unload_location": "<string>",
"unload_location_id": 123,
"unload_reference": "<string>",
"unload_storage_number": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"user_group_id": 123,
"users": [
{
"confirmed": "<string>",
"end_time": "2023-11-07T05:31:56Z",
"has_read": true,
"has_sent": true,
"operation_id": 123,
"pause_time": 123,
"start_time": "2023-11-07T05:31:56Z",
"subuser_id": 123,
"travel_time": 123,
"user_id": 123,
"vehicle_id": 123
}
],
"vehicle2_amount": "<string>",
"vehicle2_amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"vehicle2_at_same_time": 123,
"vehicle2_custom_name": "<string>",
"vehicle2_end_mileage": 123,
"vehicle2_hours_stand": 123,
"vehicle2_id": 123,
"vehicle2_operating_hours": "2023-11-07T05:31:56Z",
"vehicle2_start_mileage": 123,
"vehicle3_amount": "<string>",
"vehicle3_amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"vehicle3_at_same_time": 123,
"vehicle3_custom_name": "<string>",
"vehicle3_end_mileage": 123,
"vehicle3_hours_stand": 123,
"vehicle3_id": 123,
"vehicle3_operating_hours": "2023-11-07T05:31:56Z",
"vehicle3_start_mileage": 123,
"vehicle_amount": "<string>",
"vehicle_amounts": [
{
"amount": "<string>",
"pricing_id": 123
}
],
"vehicle_custom_name": "<string>",
"vehicle_id": 123,
"version": 123,
"wait_time": 123,
"wait_times": [
{
"from": "<string>",
"to": "<string>"
}
],
"weather": "<string>",
"work_description": "<string>",
"work_inventory_id": 123
}
'