Skip to main content
PATCH
/
profiles
/
v1
/
emr-user
/
{oid}
Update EMR user profile
curl --request PATCH \
  --url https://api.eka.care/profiles/v1/emr-user/{oid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'client-id: <client-id>' \
  --data '
{
  "mobile": "+919876543210",
  "email": "testuser@eka.care",
  "gen": "M",
  "dob": "2000-01-02",
  "fn": "eka",
  "mn": "kumar",
  "ln": "user",
  "fln": "eka user",
  "bg": "B+",
  "s": "Mr",
  "extras": {
    "preferred_language": "en",
    "city": "Bangalore"
  }
}
'
{
  "message": "Profile updated successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

client-id
string
required
Example:

"EC_1431"

Path Parameters

oid
string
required
Example:

18661861868168

Body

application/json
mobile
string

Mobile number in E.164 format

Example:

"+919876543210"

email
string<email>
Example:

"testuser@eka.care"

gen
enum<string>

Gender

Available options:
M,
F,
O
Example:

"M"

dob
string<date>
Example:

"2000-01-02"

fn
string

First name

Example:

"eka"

mn
string

Middle name

Example:

"kumar"

ln
string

Last name

Example:

"user"

fln
string

Full name

Example:

"eka user"

bg
enum<string>

Blood group

Available options:
A+,
A-,
B+,
B-,
AB+,
AB-,
O+,
O-
Example:

"B+"

s
string

Salutation

Example:

"Mr"

extras
object

Additional arbitrary data as JSON

Example:
{
  "preferred_language": "en",
  "city": "Bangalore"
}

Response

Profile updated successfully

message
string
Example:

"Profile updated successfully"