---
title: "Get Network Map"
method: GET
path: "/restapi/v1.0/account/{accountId}/emergency-address-auto-update/networks"
tags: ["Automatic Location Updates"]
---

# Get Network Map

`GET /restapi/v1.0/account/{accountId}/emergency-address-auto-update/networks`

## Request

- Base URL: `https://platform.ringcentral.com`
- URL: `https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/emergency-address-auto-update/networks`
- Auth: OAuth 2
  - Authorization code: `https://platform.ringcentral.com/restapi/oauth/authorize`
  - Token URL: `https://platform.ringcentral.com/restapi/oauth/token`
- TypeScript: <https://skmtc.dev/ringcentral/apis/ringcentral-api/docs/restapi/v1.0/account/:accountId/emergency-address-auto-update/networks/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a corporate network map with emergency addresses assigned
to the current account.

## Path parameters

- `accountId` string, required

## Query parameters

- `siteId` string[]
- `searchString` string
- `orderBy` string
- `perPage` integer
- `page` integer

## Response `200`

Network map

- NetworksList
  - `uri` string, uri: Link to a networks resource
  - `records` NetworkInfo[]
    - `id` string: Internal identifier of a network
    - `uri` string, uri: Link to a network resource
    - `name` string
    - `site` AutomaticLocationUpdatesSiteInfo: Site data. If multi-site feature is turned on for the account, then ID of a site must be specified. In order to assign a wireless point to the main site (company) site ID should be set to `main-site`
      - `id` string: Internal identifier of a site
      - `uri` string, uri: Link to a site resource
      - `name` string: Name of a site
      - `code` string: Site code value. Returned only if specified
    - `publicIpRanges` PublicIpRangeInfo[]
      - `id` string
      - `startIp` string
      - `endIp` string
      - `matched` boolean
    - `privateIpRanges` PrivateIpRangeInfo[]
      - `id` string
      - `startIp` string
      - `endIp` string
      - `name` string: Network name
      - `emergencyAddress` union
        - CommonEmergencyLocationAddressInfoDefault
          - `country` string: Country name
          - `countryId` string: Internal identifier of a country
          - `countryIsoCode` string: ISO code of a country
          - `countryName` string: Full name of a country
          - `state` string: State/Province name. Mandatory for the USA, the UK and Canada
          - `stateId` string: Internal identifier of a state
          - `stateIsoCode` string: ISO code of a state
          - `stateName` string: Full name of a state
          - `city` string: City name
          - `street` string: First line address
          - `street2` string: Second line address (apartment, suite, unit, building, floor, etc.)
          - `zip` string: Postal (Zip) code
          - `customerName` string: Customer name
        - CommonEmergencyLocationAddressInfoAu
          - `country` string: Country name
          - `countryId` string: Internal identifier of a country
          - `countryIsoCode` string: ISO code of a country
          - `countryName` string: Full name of a country
          - `state` string: State/Province name. Mandatory for the USA, the UK and Canada
          - `stateId` string: Internal identifier of a state
          - `stateIsoCode` string: ISO code of a state
          - `stateName` string: Full name of a state
          - `city` string: City name
          - `street` string: The name of the street (the field is utilized as 'streetName' field for AU addresses)
          - `companyName` string: Company name
          - `buildingName` string: (Optional) Building name
          - `streetType` string: Street type
          - `buildingNumber` string: Building/street number
          - `street2` string: Second line address (apartment, suite, unit, building, floor, etc.)
          - `zip` string: Postal (Zip) code
          - `customerName` string: Customer name
        - CommonEmergencyLocationAddressInfoFr
          - `country` string: Country name
          - `countryId` string: Internal identifier of a country
          - `countryIsoCode` string: ISO code of a country
          - `countryName` string: Full name of a country
          - `state` string: State/Province name. Mandatory for the USA, the UK and Canada
          - `stateId` string: Internal identifier of a state
          - `stateIsoCode` string: ISO code of a state
          - `stateName` string: Full name of a state
          - `city` string: City name
          - `street` string: The name of the street (The field is utilized as 'streetName' field for FR addresses)
          - `companyName` string: Company name
          - `buildingName` string: (Optional) Building name
          - `buildingNumber` string: Building/street number
          - `street2` string: Second line address (apartment, suite, unit, building, floor, etc.)
          - `zip` string: Postal (Zip) code
          - `customerName` string: Customer name
      - `emergencyLocationId` string: Emergency response location (address) internal identifier. Only one of a pair `emergencyAddress` or `emergencyLocationId` should be specified, otherwise an error is returned
      - `matched` boolean
      - `emergencyLocation` EmergencyLocationInfo: Emergency response location information
        - `id` string, required: Internal identifier of an emergency response location
        - `name` string: Emergency response location name
        - `addressFormatId` string: Address format ID
  - `navigation` PageNavigationModel: Links to other pages of the current result set
    - `firstPage` PageNavigationUri
      - `uri` string, uri: Canonical URI to retrieve the particular page of the result set
    - `nextPage` PageNavigationUri
      - `uri` string, uri: Canonical URI to retrieve the particular page of the result set
    - `previousPage` PageNavigationUri
      - `uri` string, uri: Canonical URI to retrieve the particular page of the result set
    - `lastPage` PageNavigationUri
      - `uri` string, uri: Canonical URI to retrieve the particular page of the result set
  - `paging` EnumeratedPagingModel
    - `perPage` integer, required: Current page size, describes how many items are in each page. Matches "perPage" parameter from the request.
    - `page` integer: The current page number. 1-indexed, so the first page is 1 by default. May be omitted if result is empty (because non-existent page was specified or perPage=0 was requested)
    - `pageStart` integer: The zero-based number of the first element on the current page. Omitted if the page is omitted or result is empty
    - `pageEnd` integer: The zero-based index of the last element on the current page. Omitted if the page is omitted or result is empty
    - `totalPages` integer: The total number of pages in a dataset. May be omitted for some resources due to performance reasons
    - `totalElements` integer: The total number of elements in a dataset. May be omitted for some resource due to performance reasons

---

[API](https://skmtc.dev/ringcentral/apis/ringcentral-api.md) - [All operations](https://skmtc.dev/ringcentral/apis/ringcentral-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ringcentral/apis/ringcentral-api/revisions/8d602198ec97?raw)
