query Incidents {
incidents {
actions {
assigned {
allowedLocations {
__typename
}
avatarUrl
department
email
firstName
groups {
__typename
}
}
assignment {
action {
__typename
}
actionId
assignment {
__typename
}
assignmentId
present
progressPct
}
canChangeStatus
completedDate
createdAt
dueDate
}
biologicalsDetails
cause
chemicalsDetails
createdBy {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
description
}
}{
"data": {
"incidents": [
{
"actions": [
{
"assigned": {
"allowedLocations": [
{
"__typename": "Location"
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"__typename": "UserGroup"
}
]
},
"assignment": {
"action": {
"__typename": "Action"
},
"actionId": "id",
"assignment": {
"__typename": "TrainingAssignment"
},
"assignmentId": "id",
"present": true,
"progressPct": 1
},
"canChangeStatus": true,
"completedDate": "value",
"createdAt": "value",
"dueDate": "value"
}
],
"biologicalsDetails": "string",
"cause": "string",
"chemicalsDetails": "string",
"createdBy": {
"allowedLocations": [
{
"children": [
{
"__typename": "Location"
}
],
"id": 1,
"isSite": true,
"location": "string",
"parentId": 1,
"tags": [
"string"
]
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"createdAt": "value",
"id": "string",
"name": "string",
"users": [
{
"__typename": "User"
}
]
}
]
},
"description": "string"
}
]
}
}incidents
The incidents in the caller’s organization.
incidents: [Incident!]!Returns
Follow-up actions linked to the incident, the review task included. Empty if there are no follow-up actions.
Description of the biologicals involved.
Cause of the incident.
Description of the chemicals involved.
The user who reported the incident.
Description of what happened.
Description of the equipment involved.
When the incident happened.
Id of the incident.
Description of the exposure or injury that occurred.
Users who took part in the immediate medical response. Empty if there are no users who took part in the immediate medical response.
Description of the immediate medical response.
Whether the injury must be recorded for OSHA.
Whether the injury must be reported to OSHA.
Medical treatment given for the exposure or injury.
Users involved in the incident. Empty if there are no users involved.
The location where the incident happened.
Short title of the incident.
The organization the incident belongs to.
Photos of the incident. Empty if there are no photos.
Id of the incident's review task, which closeIncident completes.
One of 'SEVERE' (Severe), 'MODERATE' (Moderate) or 'MINOR' (Minor).
'IN_REVIEW' until the incident is closed, then 'CLOSED'.
One of 'INCIDENT' (Incident), 'NEAR_MISS' (Near miss) or 'GOOD_CATCH' (Good catch).
Users who witnessed the incident. Empty if there are no witnesses.
query Incidents {
incidents {
actions {
assigned {
allowedLocations {
__typename
}
avatarUrl
department
email
firstName
groups {
__typename
}
}
assignment {
action {
__typename
}
actionId
assignment {
__typename
}
assignmentId
present
progressPct
}
canChangeStatus
completedDate
createdAt
dueDate
}
biologicalsDetails
cause
chemicalsDetails
createdBy {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
description
}
}{
"data": {
"incidents": [
{
"actions": [
{
"assigned": {
"allowedLocations": [
{
"__typename": "Location"
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"__typename": "UserGroup"
}
]
},
"assignment": {
"action": {
"__typename": "Action"
},
"actionId": "id",
"assignment": {
"__typename": "TrainingAssignment"
},
"assignmentId": "id",
"present": true,
"progressPct": 1
},
"canChangeStatus": true,
"completedDate": "value",
"createdAt": "value",
"dueDate": "value"
}
],
"biologicalsDetails": "string",
"cause": "string",
"chemicalsDetails": "string",
"createdBy": {
"allowedLocations": [
{
"children": [
{
"__typename": "Location"
}
],
"id": 1,
"isSite": true,
"location": "string",
"parentId": 1,
"tags": [
"string"
]
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"createdAt": "value",
"id": "string",
"name": "string",
"users": [
{
"__typename": "User"
}
]
}
]
},
"description": "string"
}
]
}
}