Αυτή η λειτουργία 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