Get the location details.

get

/connectedWorker/clientapi/v2/orgs/{orgId}/projects/{projectId}/locations/{locationId}

This operation retrieves the location details within a specific project.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Location was successfully retrieved.
Body ()
Root Schema : Location
Type: object
Show Source
  • Description of the location
    Example: Description of the location
  • Flag describing the origin of a location. If false, location is part of the project view and can be created only by IoTCWProjectManager or IoTCWAdministrator. Otherwise, it describes a custom location, not displayable in project view. Generated location can be created by any employee.
    Example: false
  • Geofence identifier associated with the location
    Example: 828EDB09-A516-4485-AB60-CE1CFF5D8D8E
  • Read Only: true
    True if the location has been marked as hazardous, false otherwise
    Example: false
  • Read Only: true
    The unique id of the object
    Example: 53
  • links
  • Id of the location plan, the location is associated with
    Example: 51
  • Minimum Value: 1
    Maximum amount of employees that can be in the location without penalty. Note that both maxEmployeeCount and maxEmployeeTime must be set together to null or not null values. If set to null, there is no restriction
    Example: 51
  • Minimum Value: 0
    The amount of time that the number of employees can be higher than maxEmployeeCount in a location without any penalty. Note that both maxEmployeeCount and maxEmployeeTime must be set together to null or not null values. If set to null, there is no restriction
    Example: 51
  • Minimum Length: 0
    Maximum Length: 255
    Name of the location. It must be unique per project, max length is 255 characters
    Example: My location name
  • Parent location specified by its identifier
    Example: 51
  • Minimum Value: 0
    Amount of time that employee must spend outside the location to reenter it again. If set to null, there is no restriction
    Example: 51
  • Minimum Value: 1
    Maximum amount of time that employee can spend in the location in seconds. If set to null, there is no restriction
    Example: 51
  • tags
    Unique Items Required: true
    Tags associated with the location
  • Time zone where of the location
    Example: Europe/Paris
  • Read Only: true
    Allowed Values: [ "REGULAR", "ASSET" ]
    Type of the location. This field indicates whether the location was created from REST endpoint (REGULAR) or from integration (INTEGRATION). Location(s) of type REGULAR are updatable
    Example: REGULAR
Nested Schema : tags
Type: array
Unique Items Required: true
Tags associated with the location
Show Source
Example:
[
    "tag1",
    "tag2"
]
Back to Top