Request laboratory investigation(s)

This endpoint allows you to make an investigation request for a user in any of the laboratories on the platform

Log in to see full request history

🚧

This endpoint is authenticated by the public API key

📘

Request Mode

At the moment, we only allow for in-person laboratory requests. An update will include the pick-up mode with a corresponding address field for sample pickup location.

📘

Metadata

Laboratory investigation orders allows you to add a metadata field to include details about consult and recommending provider.

"metadata" : {"address": "Number 23, My street, Ikeja", \n "phone" : "09099009900" }

📘

Response codes

201: Laboratory request created successfully
400: User not found
400: Balance is not enough to fulfil this request
400: Laboratory does not offer investigation $Id specified
400: Invalid investigations
400: Laboratory does not perform any investigations yet
404: Laboratory/Investigations not found
500: Internal server error

Body Params
string
required

Id of the laboratory the investigation is required from

string
required
Defaults to hay8tauk1ivlovi

ID of the user

string
required
Defaults to in-person
investigations
array of int32s
required

ID(s) indicating which investigation(s) should to be ordered

investigations*
json
Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain