POST
/
mr
/
api
/
v1
/
cases
Create Case
curl --request POST \
  --url https://api.eka.care/mr/api/v1/cases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Pt-Oid: <x-pt-oid>' \
  --data '{
  "id": "CASE_ID",
  "display_name": "Leg Injury",
  "type": "OPConsultation"
}'
{
  "id": "case_12345"
}

Authorizations

Authorization
string
header
required

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

Headers

X-Pt-Oid
string
required

Patient ID

Body

application/json

Response

200
application/json

Case created successfully

The response is of type object.