curl --request PATCH \
--url https://api.eka.care/dr/v2/appointment/{appointment_id} \
--header 'Content-Type: application/json' \
--header 'auth: <auth>' \
--data '{
"clinic_id": "6742984",
"doctor_id": "6742984",
"patient_id": "6742984",
"appointment_details": {
"start_time": 1730189586,
"end_time": 1730189586,
"mode": "VIDEO",
"custom_attributes": {},
"video_connect": {
"vendor": "other",
"url": "https://meet.google.com/landing"
}
},
"partner_meta": {
"key1": "value1"
},
"patient_details": {
"dob": "1987-01-06",
"designation": "Mr.",
"first_name": "Test",
"partner_patient_id": "6742984",
"middle_name": "",
"last_name": "Patient",
"mobile": "+919999999999",
"gender": "M",
"address": {
"city": "Bangalore",
"pincode": 560049
}
},
"display_meta": {}
}'
This response does not have an example.
This API endpoint is used to update an existing appointment.
curl --request PATCH \
--url https://api.eka.care/dr/v2/appointment/{appointment_id} \
--header 'Content-Type: application/json' \
--header 'auth: <auth>' \
--data '{
"clinic_id": "6742984",
"doctor_id": "6742984",
"patient_id": "6742984",
"appointment_details": {
"start_time": 1730189586,
"end_time": 1730189586,
"mode": "VIDEO",
"custom_attributes": {},
"video_connect": {
"vendor": "other",
"url": "https://meet.google.com/landing"
}
},
"partner_meta": {
"key1": "value1"
},
"patient_details": {
"dob": "1987-01-06",
"designation": "Mr.",
"first_name": "Test",
"partner_patient_id": "6742984",
"middle_name": "",
"last_name": "Patient",
"mobile": "+919999999999",
"gender": "M",
"address": {
"city": "Bangalore",
"pincode": 560049
}
},
"display_meta": {}
}'
This response does not have an example.
"auth"
If set to 1 then appointment_id in path parameter should be partner_appointment_id else eka apppointment_id
"1"
The body is of type object
.
OK
Was this page helpful?