v3 E911 — 已登记号码和地址清单

此 API 函数为您提供帐户中为 E911 目的预配的号码/地址列表。

URI:

https://api.multitel.net/v3/tn911inventory

参数:

no parameters are required

方法:

GET or POST


成功输出示例:

{"status": {"code": 200,
"msg": ""},
"response": [{"tn": "8886868581",
"name": "MULTITEL",
"address": "100 Main St",
"location": "Suite 100",
"city": "ACME CITY",
"postalCode": "12345",
"state": "MI",
"date_created": "2015-04-02 19:59:06"},
{"tn": "8881110000",
"name": "TEST ACCOUNT",
"address": "200 Main St",
"location": "Suite 200",
"city": "ACME TWP",
"postalCode": "54321",
"state": "TX",
"date_created": "2016-04-29 18:54:01"}]}

错误输出示例:

{
  "status": {
    "code":"404",
    "msg":"No results found"
  },
}

其他错误代码:

401 - no auth (wrong authentication parameters)
403 - forbidden (your account is not allowed to run this API function)
404 - your account has no numbers provisioned with E911

搜索文档