v1.0 REST Endpoints

Sites and Depots/Labs/v1.0
The operations from the Sites and Depots/Labs/v1.0 category.
Add an association between a lab and a site
Method: post
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/siteslabs
Create or update lab normals
Method: put
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs/{labId}/labnormals
Delete lab if site association with lab does not exist
Method: delete
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs/{id}
Delete the lab's association with the given site
Method: delete
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/siteslabs
Deprecated: Create a lab
Method: post
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs
Get all lab normals
Method: get
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs/{id}/labnormals
Get all lab normals for given subject
Method: get
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs/{labId}/labnormals/lookup
Get all labs associated with a given site
Method: get
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs
Get lab details of a given lab ID
Method: get
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs/{id}
Get lab history for the given labId
Method: get
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs/{id}/history
Update a lab
Method: put
Path: /ec-site-svc/rest/v1.0/studies/{studyId}/{mode}/labs/{id}