v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB

Retrieve patient profile by username

Retrieves patient profile using username in a workspace.

get/profiles/v1/patient/{username}/username/?flatten=true

Path parameters

usernamestring required
Example:exampleusername

Headers

client-idstring required
Example:eka-doc

Response

Patient profile details

oidstring
widstring
psstring
c_ateinteger
u_ateinteger
genstring
dobstring date
is_ageboolean
fnstring
lnstring
flnstring
bgstring
mobilestring
ccdstring
emailstring email
usernamestring
sstring
abhastring

Example response

[
  {
    "oid": "175074536120088",
    "wid": "77088166996724",
    "ps": "P",
    "c_ate": 1750745358,
    "u_ate": 1750745358,
    "gen": "M",
    "dob": "2000-01-02",
    "is_age": true,
    "fn": "Eka",
    "ln": "User",
    "fln": "Eka User",
    "bg": "B+",
    "mobile": "1201201201",
    "ccd": "+91",
    "email": "eka.user@example.com",
    "username": "ABC001",
    "s": "Mr.",
    "abha": "example@abdm"
  }
]