List E911 Record Details

Returns details on a specified E911 record ID.

Endpoint

GET /e911s/:e911_id

Path Parameter

  • e911_id
    integer REQUIRED

    The unique identifier for the E911 record you want to retrieve.

Response Fields

On success, the HTTP status code in the response header is 200 OK and the response body contains a detailed e911 record in JSON format. On error, the header status code is an error code and the response body contains an array of error objects.

  • data
    object

    Data object for the E911 record.

    • attributes
      object

      Attributes object associated with the specified E911 record. For an explanation of the different attributes, see E911 Attributes on "List Account E911 Addresses".

    • id
      integer

      Unique identifier of the E911 record.

    • links
      object

      Links object pointing to the E911 address record's URI. For example, https://api.flowroute.com/v2/e911s/20155.

    • type
      string

      This will always be e911.

Example Request

GET /v2/e911s/20155 HTTP/1.1
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json

                            

Example Request

curl -X GET https://api.flowroute.com/v2/e911s/20155 -u accessKey:secretKey

                        

Example Request

This assumes that you have the Python API Wrapper installed and set up. The following example is from cnam_demo.py. Please make sure to use neutral (vertical) quotes in your request. Smart quotes are known to cause errors.

e911_id = 20155
print("\n--Get Details for a specific E911 Record")
result = e911s_controller.get_e911(e911_id)
pprint.pprint(result)

                        

Example Responses

200 OK

{
  "data": {
    "attributes": {
      "address_type": "",
      "address_type_number": "",
      "city": "Seattle",
      "country": "US",
      "first_name": "Mario",
      "label": "changed my mind",
      "last_name": "B",
      "state": "WA",
      "street_name": "University Ave",
      "street_number": "123",
      "zip": "98311"
    },
    "id": "20155",
    "links": {
      "self": "https://api.flowroute.com/v2/e911s/20155"
    },
    "type": "e911"
  }
}

            

422 UNPROCESSABLE ENTITY

{
  "errors": [
    {
      "detail": {
        "limit": [
          "Not a valid integer."
        ]
      },
      "id": "4de849a7-6b27-49da-b053-144dc738b282",
      "status": 422
    }
  ]
}