Skip to main content
POST
/
patient
/
{patientId}
/
results
cURL
curl --request POST \
  --url https://om-staging.mylifeforce.com/api/m2m/patient/{patientId}/results \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "received_date": "2022-04-18T09:46:00Z",
  "collected_date": "2022-04-18T09:46:00Z",
  "report_generated_date": "2022-04-18T09:46:00Z",
  "markers": [
    {
      "name": "<string>",
      "result": "<string>",
      "unit": "<string>",
      "result_level": "<string>",
      "lab_comments": "<string>"
    }
  ]
}
'
{
  "patient_id": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

patientId
string<uuid>
required

The id of the patient in question A universally unique identifier.

Example:

"29ea9012-c622-4851-a57a-9327abd21198"

Body

application/json
received_date
string<date-time>
required
Example:

"2022-04-18T09:46:00Z"

collected_date
string<date-time>
required
Example:

"2022-04-18T09:46:00Z"

report_generated_date
string<date-time>
required
Example:

"2022-04-18T09:46:00Z"

markers
object[]
required

Response

Successful ingestion of biomarker results

patient_id
string
required

The ID of the patient

success
boolean
required

Indicates if the operation was successful