Get hazard locations.
get
/connectedWorker/clientapi/v2/orgs/{orgId}/projects/{projectId}/hazards/{hazardId}/locations
This operation retrieves locations for a hazard.
Request
Path Parameters
-
hazardId: string
Hazard identifier
-
orgId: string
Organization identifier
-
projectId: string
Project identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Hazard locations were successfully retrieved.
Root Schema : HazardLocations
Type:
Show Source
object
-
items:
array items
-
links(optional):
array links
Read Only:
true
Nested Schema : HazardLocation
Type:
Show Source
object
-
links(optional):
array links
-
locationId(optional):
string
Read Only:
true
Identifier of the location within the hazardExample:51
-
status(optional):
string
Read Only:
true
Allowed Values:[ "OPEN", "RESOLVED" ]
Status of the hazard locationExample:OPEN
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The target resource's URI
-
rel:
string
Relation type