Validate a 911 Record

/validate

Full Url:

https://apiv1.teleapi.net/911/validate

Arguments:

  • token (string, required)
  • address (string, required)
  • city (string, required)
  • state (char(2), required)
  • zip (string, required)

Info: If you want to validate that an address before trying to create or update.

Example Success:

{
    "code": 200,
    "status": "success",
    "data": "Address is validated"
}

Example Error:

{
    "code": 300,
    "status": "suggest",
    "data": {
        "address": "123 SOME STREET",
        "city": "ENGLEWOOD",
        "error": "newaddress",
        "state": "CO",
        "status": "invalid",
        "zip": "80112"
    }
}

Example Error 2 (we couldn't find a suggestion):

{
    "code": "500",
    "status": "error",
    "data": "Address is not validated"
}

results matching ""

    No results matching ""