---
title: "Get an evacuation plan map of a location"
method: GET
path: "/locations/{locationId}/evacuationmaps"
tags: ["Locations"]
---

# Get an evacuation plan map of a location

`GET /locations/{locationId}/evacuationmaps`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/locations/{locationId}/evacuationmaps`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/locations/:locationId/evacuationmaps/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns evacuation plan map attachments details for the specified location.
            <br /> Visit ServiceChannel University to learn about [Location Emergency Evacuation Plan Map(s)](https://servicechannel.atlassian.net/wiki/spaces/SCU/pages/710312376/Location+Emergency+Evacuation+Plan+Map+s).

## Path parameters

- `locationId` integer, required

## Response `200`

Location evacuation plan maps are in the response.

- ServiceChannelServicesMessagingLocationGetLocationAttachmentsResponse
  - `LocationAttachments` ServiceChannelServicesMessagingLocationLocationAttachment[]
    - `Id` integer: Numeric identifier of the location attachment.
    - `LocationId` integer: Unique ID of the location to which the attachment is added.
    - `StoreId` string: StoreId
    - `FileName` string: Filename of the evacuation plan map attachment.
    - `FilePath` string: File’s position in the subscriber’s location.
    - `Description` string: Description of the evacuation plan map attachment added by the user.
    - `UploadDate` string, date-time: Date and time when the attachment was added.
    - `UserId` integer: ID of the user who added the attachment to the location.
    - `UserName` string: Username of the user who added the attachment.
    - `AttachmentType` 'EvacuationPlan': Numeric identifier of the attachment added. Possible values: `1` - EvacuationPlan.
    - `GetFileLink` string
  - `ErrorCode` integer: Numeric identifier that determines the nature of an error. Possible values: `0` - success, otherwise - error.
  - `Message` string: Defines that the file’s remote storage is unavailable or its URL cannot be found.

## Other responses

- `401`: The request is not authorized. <br/>Error codes: 504 — API call rejected by security permissions
- `500`: The server was unable to complete the request due to an internal error.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
