7️⃣7️⃣ GET - System DN Summary

my_api.get.system_dn_summary()

Returns all numbers assigned to system.

Returns

  • List: List of all Service Providers/ Enterprises and numbers assigned in ranges.

How To Use:

from odins_spear import api

my_api= api.Api(base_url="https://base_url/api/vx", username="john.smith", password="ODIN_INSTANCE_1")
my_api.authenticate()

my_api.get.system_dn_summary()

Example Returned Data (Formatted)

[
  {
    "isEnterprise": true,
    "serviceProviderId": "ent.odin",
    "min": "+1-5131111110",
    "max": "+1-5131111120"
  },
  {
    "isEnterprise": true,
    "serviceProviderId": "ent.odin",
    "min": "+1-6143334444",
    "max": "+1-6143334448"
  }
]

Last updated