مخزون 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

البحث في الوثائق