Get IPD Setup Data
curl --request GET \
--url https://api.eka.care/ipd/v1/service/ipd \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/v1/service/ipd"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/v1/service/ipd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eka.care/ipd/v1/service/ipd",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"auth: <auth>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eka.care/ipd/v1/service/ipd"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("auth", "<auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/v1/service/ipd")
.header("auth", "<auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/v1/service/ipd")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"beds": [
{
"id": "66f1c4d2e4b0a1b2c3d4e702",
"name": "ICU-04",
"room": "66f1c3b7e4b0a1b2c3d4e601",
"updatedAt": "2026-10-07T09:50:00.000Z"
}
],
"rooms": [
{
"id": "66f1c3b7e4b0a1b2c3d4e601",
"name": "ICU Room 1",
"category": "66f1c2a9e4b0a1b2c3d4e5f6",
"updatedAt": "2026-10-07T09:45:00.000Z"
}
],
"categories": [
{
"id": "66f1c2a9e4b0a1b2c3d4e5f6",
"name": "ICU",
"description": "Intensive Care Unit",
"updatedAt": "2026-10-07T09:30:00.000Z"
}
]
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}IPD API
Get IPD Setup Data
Overview
This API returns your workspace’s IPD setup data in one call: beds, rooms, categories, rate plans, rate plan inclusions, and the bed and rate plan links to clinics. Only active (not deleted) items are returned.
Both query parameters are optional:
keys— comma-separated list of the collections to return (for examplebeds,rooms). Unknown keys are ignored. When omitted, all collections are returned.from— return only items updated after this date-time, to sync changes since your last call.
Deletions are not returned. Deleted items are left out of every response, including with
from. To detect deletions, compare against a full fetch withoutfrom.
GET
/
ipd
/
v1
/
service
/
ipd
Get IPD Setup Data
curl --request GET \
--url https://api.eka.care/ipd/v1/service/ipd \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/v1/service/ipd"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/v1/service/ipd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eka.care/ipd/v1/service/ipd",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"auth: <auth>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.eka.care/ipd/v1/service/ipd"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("auth", "<auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/v1/service/ipd")
.header("auth", "<auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/v1/service/ipd")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"beds": [
{
"id": "66f1c4d2e4b0a1b2c3d4e702",
"name": "ICU-04",
"room": "66f1c3b7e4b0a1b2c3d4e601",
"updatedAt": "2026-10-07T09:50:00.000Z"
}
],
"rooms": [
{
"id": "66f1c3b7e4b0a1b2c3d4e601",
"name": "ICU Room 1",
"category": "66f1c2a9e4b0a1b2c3d4e5f6",
"updatedAt": "2026-10-07T09:45:00.000Z"
}
],
"categories": [
{
"id": "66f1c2a9e4b0a1b2c3d4e5f6",
"name": "ICU",
"description": "Intensive Care Unit",
"updatedAt": "2026-10-07T09:30:00.000Z"
}
]
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}Headers
Query Parameters
Comma-separated collections to return: beds, bedclinicrelations, rooms, categories, rateplans, rateplaninclusions, rateplanclinicrelations. All when omitted.
Only items updated after this date-time (ISO-8601).
Was this page helpful?

