curl --request POST \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/init \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"billing": {
"address": {
"city": "<string>",
"country": "<string>",
"door": "<string>",
"locality": "<string>",
"name": "<string>",
"state": "<string>"
},
"name": "<string>",
"phone": "<string>"
},
"doctor_id": "<string>",
"end_time": "<string>",
"facility_id": "<string>",
"price": {
"currency": "<string>",
"value": "<string>"
},
"provider_id": "<string>",
"slot_id": "<string>",
"start_time": "<string>",
"transaction_id": "<string>"
}'
{
"order_id": "<string>",
"provider_id": "<string>",
"txn_id": "<string>"
}
This api is used to Initiate the Booking.
curl --request POST \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/init \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"billing": {
"address": {
"city": "<string>",
"country": "<string>",
"door": "<string>",
"locality": "<string>",
"name": "<string>",
"state": "<string>"
},
"name": "<string>",
"phone": "<string>"
},
"doctor_id": "<string>",
"end_time": "<string>",
"facility_id": "<string>",
"price": {
"currency": "<string>",
"value": "<string>"
},
"provider_id": "<string>",
"slot_id": "<string>",
"start_time": "<string>",
"transaction_id": "<string>"
}'
{
"order_id": "<string>",
"provider_id": "<string>",
"txn_id": "<string>"
}
The API requires a Bearer token (JWT) for authentication.
Eka User ID (OID)
Partner User ID
Partner HIP ID
OK
The response is of type object
.
Was this page helpful?