Get Confirm
curl --request GET \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"doctor_info": {
"education": "<string>",
"experience": "<string>",
"gender": "<string>",
"id": "<string>",
"languages": [
"<string>"
],
"name": "<string>"
},
"order_id": "<string>",
"pin": "<string>",
"slot": {
"end": "<string>",
"slot_id": "<string>",
"start": "<string>"
},
"state": "<string>"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Physical Consultation
Get Confirm
Retrieve booking confirmation details, including the OTP that must be presented to the doctor before consultation.
GET
/
abdm
/
uhi
/
v1
/
physical-consultation
/
booking
/
confirm
Get Confirm
curl --request GET \
--url https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/confirm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"doctor_info": {
"education": "<string>",
"experience": "<string>",
"gender": "<string>",
"id": "<string>",
"languages": [
"<string>"
],
"name": "<string>"
},
"order_id": "<string>",
"pin": "<string>",
"slot": {
"end": "<string>",
"slot_id": "<string>",
"start": "<string>"
},
"state": "<string>"
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"source_error": {
"code": "<string>",
"message": "<string>"
}
}Was this page helpful?

