x-api-key: ********************
{ "status": "fulfilled", "description": "Examination", "start": "2025-02-07T13:28:17.239+02:00", "end": "2025-02-07T17:30:17.239+02:00", "minutes_duration": 62 }
curl --location --request PUT 'https://staging.onyeone.com/api/emr/appointment/' \ --header 'Content-Type: application/json' \ --header 'x-api-key;' \ --data-raw '{ "status": "fulfilled", "description": "Examination", "start": "2025-02-07T13:28:17.239+02:00", "end": "2025-02-07T17:30:17.239+02:00", "minutes_duration": 62 }'
{ "message": "Appointment resource updated successfully.", "resource_id": "339d4678-8482-5d81-b000-346edfd86484", "updated_fields": { "status": "fulfilled", "description": "Examination", "start": "2025-02-07T13:28:17.239+02:00", "end": "2025-02-07T17:30:17.239+02:00", "minutesDuration": 62 } }