Odin's Spear
  • Welcome
  • What's New
  • Getting Started
    • Getting the Essentials
    • Create API Object
  • API Coverage
  • Docs
    • API Object
    • Standard Methods
      • Administrators
        • POST - Service Provider Admin
        • PUT - Service Provider Admin Policies
        • POST - Group Admin Polices Bulk
        • POST - Group Admin
      • Alternate Numbers
        • GET - User Alternate Numbers
      • Authentication
        • PUT - User Web Authentication Password
        • PUT - User Authentication Service
      • Auto Attendants
        • GET - Auto Attendants
        • POST - Auto Attendant
        • GET - Auto Attendant
        • GET - Auto Attendant User
        • POST - Auto Attendant Remove User
        • PUT - Auto Attendant
        • DELETE - Auto Attendant
        • GET - Auto Attendant Submenus
        • POST - Auto Attendant Submenu
        • GET - Auto Attendant Submenu Usage
        • PUT - Auto Attendant Submenu
        • PUT - Auto Attendant Status
        • DELETE - Auto Attendant Submenu
      • Call Centers
        • GET - Group Call Center
        • PUT - Group Call Center
        • GET - Group Call Centers
        • PUT - Group Call Center Agents
        • PUT - Group Call Center Agents Levels
        • GET - Group Call Center Bounced Calls
        • PUT - Group Call Center Bounced Call
        • PUT - Group Call Center DNIS Instance
        • GET - Group Call Center Forced Forwarding
        • PUT - Group Call Center Forced Forwarding
        • GET - Group Call Center Overflow
        • PUT - Group Call Center Overflow
        • GET - Group Call Center Stranded Calls
        • GET - Group Call Center Stranded Calls Unavailable
        • PUT - Group Call Center Status
        • PUT - Group Call Center Stranded Calls
        • PUT - Group Call Center Stranded Calls Unavailable
        • GET - User Call Center
        • PUT - User Call Center
        • PUT - User Call Center Agent Sign Out
        • PUT - User Call Center Agents Update
        • PUT - User Call Center Supervised Agents
      • Call Forwarding Always
        • GET - Bulk Call Forwarding Always
        • GET - User Call Forwarding Always
      • Call Forwarding Busy
        • GET - Bulk Call Forwarding Busy
        • GET - User Call Forwarding Busy
      • Call Forwarding No Answer
        • GET - Bulk User Call Forwarding No Answer
        • GET - User Call Forwarding No Answer
      • Call Forwarding Not Reachable
        • GET - Bulk User Call Forwarding Not Reachable
        • GET - User Call Forwarding Not Reachable
      • Call Forwarding Selective
        • GET - User Call Forwarding Selective
        • GET - User Call Forwarding Selective Criteria
        • GET - User Call Forwarding Selective Criterias
      • Call Pickup
        • GET - Call Pickup Group User
      • Call Processing Policies
        • PUT - User Call Processing Policy
      • Call Records
        • GET - User Stats
      • Devices
        • POST - Group Device
        • PUT - Group Devices
        • PUT - Group Device File
        • PUT - Group Device Tag
        • PUT - Group Device Type File
        • PUT - Group Device Tags Profile
        • PUT - Group Device Type Tag
        • PUT - Service Provider Device
        • PUT - Service Provider Device File
        • PUT - Service Provider Device Tag
        • PUT - Service Provider Device Type Tag
        • PUT - System Devices
        • PUT - System Device File
        • PUT - System Device Tag
      • DNs
        • GET - Group DNs
        • POST - Group DNs
        • DELETE - Group DNs
        • PUT - Group DNs Activate
        • POST - Group DNs Assign Bulk
        • GET - Group DN Details
        • GET - Group DN Search
        • POST - Group DNs Unassign Bulk
        • GET - Service Provider DNs
        • POST - Service Provider DNs
        • GET - Service Provider DN Search
        • DELETE - Service Provider DNs
        • GET - System DNs
        • GET - System DN Search
        • GET - System DN Summary
        • GET - System DN Utilisation
      • Do Not Disturb
        • GET - User Do Not Disturb
        • PUT - User Do Not Disturb
      • Emergency Zones
        • POST - Group Emergency Zones
        • PUT - Group Emergency Zones
      • Groups
        • GET - Group Information
        • GET - Service Provider Groups
      • Hunt Groups
        • GET - Group Hunt Groups
        • GET - Group Hunt Group
        • POST - Group Hunt Group
        • PUT - Group Hunt Group
        • DELETE - Group Hunt Group
        • GET - Group Hunt Groups Available Users
        • PUT - Group Hunt Groups Status
        • GET - Group Hunt Group User
        • PUT - Group Hunt Group Weighted Call Distribution
        • POST - Group Hunt Groups Remove User
      • Password Generate
        • GET - Password Generate
        • GET - Passwords Generate
        • GET - Passcode Generate
        • GET - Passcodes Generate
        • GET - SIP Password Generate
        • GET - SIP Passwords Generate
      • Registration
        • GET - User Registration
        • GET - Bulk User Registration
      • Reports
        • GET - User Report
      • Schedules
        • GET - Group Schedules
        • GET - Group Events
      • Service Providers
        • GET - Service Provider
        • GET - Service Providers
      • Services
        • GET - Group Services
        • GET - Group Services Assigned
        • GET - User-Services
        • PUT - User Services
        • GET - User Services Assigned
        • GET - User Service Settings
        • PUT - User Service Settings
      • Shared Call Appearance
        • POST - User Shared Call Appearance Endpoint
      • Trunk Groups
        • GET - Group Trunk Group
        • GET - Group Trunk Groups
        • GET - Group Trunk Groups Call Capacity
        • PUT - Group Trunk Groups Call Capacity
        • PUT - Group Trunk Group
        • POST - Group Trunk Group
        • GET - Service Provider Call Capacity Report
        • GET - Service Provider Trunk Group Call Capacity
        • PUT - Service Provider Trunk Group Call Capacity
      • User
        • GET - User By ID
        • GET - Users
        • POST - User
        • PUT - User
        • DELETE - User
        • PUT - User ID
        • PUT - Users Bulk
        • PUT - User Group ID Update
        • GET - User Login Info
        • GET - User Portal Passcode
        • PUT - User Portal Passcode
        • POST - User Reset
      • Voice Messaging
        • GET - Group Voice Messaging
        • GET - Group Voice Messaging Portal
        • GET - User Voice Messaging Advanced
        • GET - User Voice Messaging Bulk
        • GET - User Voice Messaging Greetings
        • GET - User Voice Messaging Message Details
        • GET - User Voice Messaging Message Download
        • GET - User Voice Messaging Messages
        • GET - User Voice Messaging User Distribution List
        • GET - User Voice Messaging User Distribution Lists
        • GET - User Voice Messaging Voice Portal
        • GET - User Voice Messaging
        • PUT - Group Voice Messaging
        • PUT - Group Voice Messaging Portal
        • PUT - User Voice Messaging Bulk
        • PUT - User Voice Messaging Greetings
        • PUT - User Voice Messaging Messages Read
        • PUT - User Voice Messaging Messages Unread
        • PUT - User Voice Messaging User Distribution List
        • PUT - User Voice Messaging Voice Portal
        • PUT - User Voice Messaging
        • DELETE - User Voice Messaging Messages
    • Advanced Features
      • Scripter
        • Find Alias
        • User Association
        • Group Audit
        • Move Numbers
        • Remove Numbers
        • Bulk Password Reset
        • Service Provider Trunking Capacity
        • Webex Builder
        • Locate Free Extension
        • User Registration
        • VM Auto Login
      • Reporter
        • Call Flow
          • Making Sense of The Call Flow
          • Graphviz
        • Group Users Call Statistics
        • User Registration Report
    • Utils
      • Config Manager
        • Template Configs
          • Auto Attendant
          • Call Center
          • Device
          • Group
          • Hunt Group
          • Service Provider
          • Trunk Group
          • User
      • Checkers
      • Constants
      • Formatters
      • Parsers
    • Logging
  • Powered By Odin's Spear
    • AA, CC, HG Audit
    • Bulk Build Group Admins
    • Bulk Build Service Provider Admins
    • Service Pack Audit
    • VM Bulk Passcode Set CSV
  • 14IP
    • Custom Logger
  • Development
  • Troubleshooting & FAQ
    • Frequently Asked Questions
    • Common Issues
      • Graphviz Troubleshooting
  • Change Log
  • Bugs and Issues
  • Contact
Powered by GitBook
On this page
  • Parameters
  • Returns
  • How To Use:
  • Example Returned Data (Formatted)

Was this helpful?

  1. Docs
  2. Standard Methods
  3. DNs

GET - Group DN Details

Gets all numbers assigned to Group in detail. This will show where the number is assigned in a group such as which user or hunt group.

Parameters

  • service_provider_id (str): Service Provider or Enterprise ID where group is hosted.

  • group_id (str): Group ID of target group where numbers are located.

Returns

  • List: List of numbers matching search criteria

How To Use:

my_api.dns.get_group_dn_details(
    "serviceProviderId",
    "groupID",
)

Example Returned Data (Formatted)

{
  "serviceProviderId": "ent.odin",
  "groupId": "grp.odin",
  "dns": [
    {
      "phoneNumbers": "+1-2345678900",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": "Group Calling Line ID",
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-2345678900",
      "max": ""
    },
    {
      "phoneNumbers": "+1-2345678900",
      "department": null,
      "activated": false,
      "userId": "group.paging2@parkbenchsolutions.com",
      "lastName": "group.paging2",
      "firstName": "Group Paging",
      "extension": 78900,
      "emailAddress": null,
      "userType": "Group Paging",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-2345678900",
      "max": ""
    },
    {
      "phoneNumbers": "+1-2345678905",
      "department": null,
      "activated": true,
      "userId": "huntgroup1@parkbenchsolutions.com",
      "lastName": "huntgroup1",
      "firstName": "Hunt Group",
      "extension": null,
      "emailAddress": null,
      "userType": "Hunt Group",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-2345678905",
      "max": ""
    },
    {
      "phoneNumbers": "+1-2345678908",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-2345678908",
      "max": ""
    },
    {
      "phoneNumbers": "+1-5132224003",
      "department": null,
      "activated": false,
      "userId": "aavis1@parkbenchsolutions.com",
      "lastName": "aavis1",
      "firstName": "Auto Attendant",
      "extension": 24003,
      "emailAddress": null,
      "userType": "Auto Attendant",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-5132224003",
      "max": ""
    },
    {
      "phoneNumbers": "+1-5134004000 - +1-5134004002",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-5134004000",
      "max": "+1-5134004002"
    },
    {
      "phoneNumbers": "+1-5134004003",
      "department": null,
      "activated": true,
      "userId": "6106424235X4020@parkbenchsolutions.com",
      "lastName": 4003,
      "firstName": 4003,
      "extension": "04003",
      "emailAddress": "developer@parkbenchsolutions.com",
      "userType": "Normal",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-5134004003",
      "max": ""
    },
    {
      "phoneNumbers": "+1-5135564000",
      "department": null,
      "activated": true,
      "userId": "5135564000@parkbenchsolutions.com",
      "lastName": "Demo user",
      "firstName": "Marc",
      "extension": 64000,
      "emailAddress": null,
      "userType": "Normal",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-5135564000",
      "max": ""
    },
    {
      "phoneNumbers": "+1-5135564001 - +1-5135564004",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-5135564001",
      "max": "+1-5135564004"
    },
    {
      "phoneNumbers": "+1-5135779000 - +1-5135779005",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-5135779000",
      "max": "+1-5135779005"
    },
    {
      "phoneNumbers": "+1-7275551000",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-7275551000",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8001236780 - +1-8001236782",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8001236780",
      "max": "+1-8001236782"
    },
    {
      "phoneNumbers": "+1-8135551001",
      "department": null,
      "activated": true,
      "userId": "flexible1@parkbenchsolutions.com",
      "lastName": "flexible1",
      "firstName": "Flexible Seating Host",
      "extension": 51001,
      "emailAddress": null,
      "userType": "Flexible Seating Host",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8135551001",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8135551002",
      "department": null,
      "activated": true,
      "userId": "4001@parkbenchsolutions.com",
      "lastName": 4001,
      "firstName": 4001,
      "extension": 51401,
      "emailAddress": "developer@parkbenchsolutions.com",
      "userType": "Normal",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8135551002",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8135551004",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8135551004",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8135551005",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8135551005",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8135551006 - +1-8135551008",
      "department": null,
      "activated": true,
      "userId": "huntgroup1@parkbenchsolutions.com",
      "lastName": "huntgroup1",
      "firstName": "Hunt Group",
      "extension": null,
      "emailAddress": null,
      "userType": "Hunt Group",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8135551006",
      "max": "+1-8135551008"
    },
    {
      "phoneNumbers": "+1-8135551009",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8135551009",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551001",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551001",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551020",
      "department": null,
      "activated": true,
      "userId": "aatest1@parkbenchsolutions.com",
      "lastName": "aatest11",
      "firstName": "Auto Attendant",
      "extension": 51020,
      "emailAddress": null,
      "userType": "Auto Attendant",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551020",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551021 - +1-8595551022",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551021",
      "max": "+1-8595551022"
    },
    {
      "phoneNumbers": "+1-8595551023",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551023",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551024",
      "department": null,
      "activated": true,
      "userId": "group.paging1@parkbenchsolutions.com",
      "lastName": "group.paging1",
      "firstName": "Group Paging",
      "extension": 51024,
      "emailAddress": null,
      "userType": "Group Paging",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551024",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551025 - +1-8595551029",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551025",
      "max": "+1-8595551029"
    },
    {
      "phoneNumbers": "+1-8595551031 - +1-8595551102",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551031",
      "max": "+1-8595551102"
    },
    {
      "phoneNumbers": "+1-8595551104 - +1-8595551202",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551104",
      "max": "+1-8595551202"
    },
    {
      "phoneNumbers": "+1-8595551204 - +1-8595551400",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551204",
      "max": "+1-8595551400"
    },
    {
      "phoneNumbers": "+1-8595551401",
      "department": null,
      "activated": true,
      "userId": "4001@parkbenchsolutions.com",
      "lastName": 4001,
      "firstName": 4001,
      "extension": 51401,
      "emailAddress": "developer@parkbenchsolutions.com",
      "userType": "Normal",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551401",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551402",
      "department": null,
      "activated": true,
      "userId": "flexible2@parkbenchsolutions.com",
      "lastName": "flexible2",
      "firstName": "Flexible Seating Host",
      "extension": 51402,
      "emailAddress": null,
      "userType": "Flexible Seating Host",
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551402",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551403",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551403",
      "max": ""
    },
    {
      "phoneNumbers": "+1-8595551404 - +1-8595552001",
      "department": null,
      "activated": true,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-8595551404",
      "max": "+1-8595552001"
    },
    {
      "phoneNumbers": "+1-9709010012 - +1-9709010014",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-9709010012",
      "max": "+1-9709010014"
    },
    {
      "phoneNumbers": "+1-9709580011",
      "department": null,
      "activated": false,
      "userId": null,
      "lastName": null,
      "firstName": null,
      "extension": null,
      "emailAddress": null,
      "userType": null,
      "countryCode": 1,
      "nationalPrefix": null,
      "min": "+1-9709580011",
      "max": ""
    }
  ]
}
PreviousPOST - Group DNs Assign BulkNextGET - Group DN Search

Last updated 2 months ago

Was this helpful?