Body

Lab result as JSON object. Body must include either external or internal order numbers. In the case of internal, lab ID is taken from authorization headers.

  • result string Required

    The lab result.

    Values are POSITIVE, WEAK_POSITIVE, NEGATIVE, INVALID, or IN_PROGRESS.

Responses

  • Result uploaded successfully

  • API key invalid or missing

    Hide headers attribute Show headers attribute
  • no order for external order number found

  • General error response body

    Hide response attribute Show response attribute object
PUT /results/json
curl \
 -X PUT https://api.labres.dev.healthmetrix.com/v1/results/json \
 -H "Authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"result":"POSITIVE"}'
Request example
{
  "result": "POSITIVE"
}
Request examples
{
  "result": "POSITIVE"
}
Response examples (500)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}