# Read a location

Returns one location with its code, the type it is filed under and the training
assigned to anyone who accepts a role there.
`permissions.delete` reflects whether this particular location can be removed, which
depends on whether roles are still recruiting at its venues.

Endpoint: GET /api/v2/headcount/location/{id}
Version: 2.0.0
Security: default

## Path parameters:

  - `id` (integer, required)
    The ID of the location.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `object` (object)

  - `object.id` (integer)

  - `object.account_id` (integer)

  - `object.headcount_location_type_id` (integer)

  - `object.name` (string)

  - `object.frontend_name` (string)

  - `object.code` (string)

  - `object.training_ids` (array)

  - `object.is_system` (integer)

  - `object.deleted_at` (string | null)

  - `object.created_at` (string)

  - `object.updated_at` (string)

  - `object.uuid` (string)

  - `nice` (object)

  - `nice.rrn` (string)

  - `nice.headcount_location_type_name` (string)

  - `relations` (object)

  - `relations.headcount_location_type` (object)

  - `relations.headcount_location_type.object` (object)

  - `relations.headcount_location_type.object.id` (integer)

  - `relations.headcount_location_type.object.name` (string)

  - `relations.headcount_location_type.object.sort_order` (integer)

  - `relations.headcount_location_type.object.uuid` (string)

  - `relations.headcount_location_type.nice` (array)

  - `relations.headcount_location_type.permissions` (object)

  - `relations.headcount_location_type.permissions.read` (boolean)

  - `relations.headcount_location_type.permissions.update` (boolean)

  - `relations.headcount_location_type.permissions.delete` (boolean)

  - `permissions` (object)

  - `permissions.read` (boolean)

  - `permissions.update` (boolean)

  - `permissions.delete` (boolean)

