Skip to main content
GET
Get a service

Authorizations

Authorization
string
header
required

Origin One API token. Pass it in the Authorization header: Authorization: Bearer <token>.

Path Parameters

id
string
required

Unique identifier of the resource.

Example:

"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"

Response

Success.

id
string
required

Unique identifier of the service.

Example:

"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"

name
string
required

Service name.

Example:

"5 Panel Urine Drug Screen"

object
enum<string>
required

Object type; always service.

Available options:
service
Example:

"service"

type
required

Service type. New values may be added.

Available options:
additionalService,
backgroundCheckService,
breathAlcoholTest,
clinical,
confirmationTest,
injuryCareService,
instantDrugTest,
labBasedToxicology,
occupationalHealthService,
safetyTraining,
vaccination,
mroService,
unknown
Example:

"labBasedToxicology"

attributes
object | null
required

Testing category and specimen type; null when the service has neither.

isDot
boolean
required

Whether the service is a DOT-regulated test.

Example:

false

url
string<uri-reference>
required

Canonical path of this resource, relative to the API origin.

Example:

"/api/v2/services/a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"