v3 — ลงทะเบียนและตั้งค่าที่อยู่สำหรับ E911

ฟังก์ชัน API นี้ช่วยให้คุณลงทะเบียนหมายเลขโทรศัพท์กับระบบ E911 ได้
การเรียกใช้ฟังก์ชันนี้หลายครั้งโดยใช้พารามิเตอร์ "tn" ของ E911 เดิมจะทำให้ที่อยู่ของหมายเลขนี้ได้รับการอัปเดต

URI:

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

พารามิเตอร์:

- tn : 10 digit phone number (Example: 8886868581)
- name : Subscriber full name
- streetNum : Street number (Example: "100"  for "100 Main St" address)
- streetInfo : Street name (Example: "Main St" for "100 Main St" address)
- location: Specific location (Example: Suite 650) - 20 characters maximum length , field is optional
- city : City part of the address (Example: Royal Oak)
- state : State part of the address ,as "2" alpha isocode (Example "MI" for "Michigan", "NY" for "New York")
- postalCode : Zip/Postal Code part of the address (Example: 48068)

วิธีการ:

POST


ตัวอย่างผลลัพธ์เมื่อสำเร็จ:

{
  "status": {
    "code": 200,
    "msg": ""
  },
  "response": {
    "tn": "8886868581",
    "name": "MultiTEL"
    "origStreetNum": "100",
    "origStreetInfo": "Main Street",
    "origLocation": "Suite 650",
    "origCity": "Royal Oak",
    "origState": "MI",
    "origPostalCode": "48068",
    "origPostalCodePlusFour":"",
    "provisionMsg":"VALID", 
    "provisionResult":0, 
    "provisionedStreetNum":"100", 
    "provisionedStreetInfo":"Main St", 
    "provisionedLocation":"Ste 650", 
    "provisionedCity":"Royal Oak", 
    "provisionedState":"MI", 
    "provisionedPostalCode":"48068", 
    "provisionedPostalCodePlusFour":""
  }
}

ตัวอย่างผลลัพธ์ข้อผิดพลาด:

{
  "status": {
    "code":"403",
    "msg":"Error: 'tn' parameter not provided"
  },
  "response":""
}

รหัสข้อผิดพลาดอื่น ๆ:

401 - no auth (wrong authentication parameters)
403 - forbidden (your account is not allowed to run this API function)
414 - wrong parameters provided (parameters missing or failing validation)
404 - address not found / could not validate
202 - address corrected

ค้นหาเอกสาร