curl --location --globoff --request PUT 'https://.daftra.com/api2/work_order_appointments/2415' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"WorkOrderAppointment": {
"item_id": 1820,
"date": "2026-07-01 10:00:00",
"end_date": "2026-03-02",
"duration": "1",
"action_id": 5,
"staff_id": 0,
"body": "Recurring work order appointment",
"status": 2,
"recurring": true,
"share_with_partner": false
},
"RecurringAppointment": {
"period_unit": 3,
"unit_count": 2,
"unit_name": "weekly",
"end_date": "2026-12-01"
}
}'