API Laboratories

See API Specification

See Laboratories for more information.

Laboratories GET (single)

Version Added: 24.2.33

Gets a single laboratory.

LaboratoryNum: Required in URL.

Example Request:
GET /laboratories/1

Example Response:
{
"LaboratoryNum": 1,
"Description": "Go Smiles Lab",
"Phone": "(503)240-1910",
"Notes": "",
"Slip": 0,
"Address": "231 Hoyt Rd",
"City": "Glendale",
"State": "OR",
"Zip": "91124",
"Email": "",
"WirelessPhone": "",
"IsHidden": "false"
}

200 OK
404 NotFound (with explanation)

Laboratories GET (multiple)

Version Added: 24.2.33

Gets a list of laboratories.

Example Request:
GET /laboratories

Example Responses:
[
{
"LaboratoryNum": 1,
"Description": "Go Smiles Lab",
"Phone": "(503)240-1910",
"Notes": "",
"Slip": 0,
"Address": "231 Hoyt Rd",
"City": "Glendale",
"State": "OR",
"Zip": "91124",
"Email": "",
"WirelessPhone": "",
"IsHidden": "false"
},
{
"LaboratoryNum": 2,
"Description": "Lab",
"Phone": "(503)555-1810",
"Notes": "",
"Slip": 0,
"Address": "",
"City": "",
"State": "",
"Zip": "",
"Email": "",
"WirelessPhone": "",
"IsHidden": "false"
},
etc...
]

200 OK