Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
"androiddoc"
Body
First name (will be converted and stored in lowercase)
"eka"
"2000-01-02"
Gender
M
, F
, O
"M"
Middle name (will be converted and stored in lowercase)
"eka"
Last name (will be converted and stored in lowercase)
"user"
Full name (will be converted and stored in lowercase)
"eka user"
Salutation (optional)
"Dr"
Blood group of the patient
A+
, A-
, B+
, B-
, AB+
, AB-
, O+
, O-
"A+"
Mobile number of the patient ( with country code )
"+916000000000"
Email address of the patient (will be converted and stored in lowercase)
"testuser@eka.care"
Unique UHID| partner id | username for the patient
"UH0001"
ABHA address of the patient
"xyz@abdm"
Additional arbitrary data as a JSON object
{ "dummyKey": "Dummy Value" }
Response
Patient created successfully
Unique identifier for the patient. Use this ID to retrieve the patient profile.
"1876816818618681"