Fungsi API ini memberi Anda daftar nomor/alamat yang dikonfigurasi di akun Anda untuk keperluan E911.
URI:
https://api.multitel.net/v3/tn911inventory
Parameter:
no parameters are required
Metode:
GET or POST
Contoh output berhasil:
{"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"}]}Contoh keluaran kesalahan:
{
"status": {
"code":"404",
"msg":"No results found"
},
}Kode kesalahan lainnya:
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