Retrieve detailed information about a lab including all test components.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/lab/{labId}
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/location/{locationId}/lab/{labId}
curl -i -X GET \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/lab/{labId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Lab found and returned successfully
Response
{ "appointmentId": 0, "collectedOn": "2025-01-15T09:30:00Z", "completedOn": "2025-01-16T14:00:00Z", "createdAt": "2025-01-15T14:00:00Z", "drawnBy": "Jane Smith", "entryOn": "2025-01-15T10:00:00Z", "externalResult": true, "id": 12345, "locationId": 111, "locked": true, "manual": false, "notes": "Fasting specimen", "patientId": 67890, "patientName": "John Doe", "status": "COMPLETE", "testComponents": [ { … } ], "thirdPartyLabId": "string", "updatedAt": "2025-01-15T14:00:00Z", "vendorName": "Labcorp", "vendorType": "LABCORP" }