This article lists the ToolWatch API request for safety trainers: Retrieve List. Every request needs an authorization token. To get one, see ToolWatch API: Authorization.
Retrieve List
Request
URI
https://api.{cluster}.toolwatch.net/safetytrainersAllowable querystring parameters
None
Http Method
GET
Headers
Authorization: {token}
Request Body
Not allowed for GET
Response
200 Ok
Field | Type | Description |
EntityId | guid | Entity id of the trainer. |
FullName | string | Trainer full name. |
string | Trainer email address. |
Example response body:
[
{
"EntityId": "{entityId}",
"FullName": "Trainer Name",
"Email": "trainer@example.com"
}
]
404 Not Found
Triggered when field parameters in querystring are not allowed.
Response body will contain error message
{"Message":"Criteria is invalid","Type":"Exception"}