From Bright Pattern Documentation
Jump to: navigation, search
 
Line 4: Line 4:
 
== Request ==
 
== Request ==
 
=== URL ===
 
=== URL ===
  http[s]://<host>/phone/user
+
  http[s]://<host>/admin/ws/t/<tenant_url>/phone/user
  
 
=== HTTP Method ===
 
=== HTTP Method ===

Latest revision as of 00:30, 20 November 2018

• 3.18

Export User Phone Numbers

Exports users' phone number data, including phone extension, login ID, first name, last name, whether voicemail is activated, and whether a voicemail greeting is present.

Request

URL

http[s]://<host>/admin/ws/t/<tenant_url>/phone/user

HTTP Method

GET

Response

Parameters

Parameters Data Type Description
login_id string The user's login
extension string The phone extension of the user
external string Access number associated with the given extension (i.e., an external number assigned to this user for direct inward dialing (DID))
firstName string The user's first name
greeting boolean Indicates whether this user has a voicemail greeting set up
lastName string The user's last name
voiceMail boolean Indicates whether this user has the voicemail function enabled


Body

User phone data (content-type: application/JSON)

Example

[
   {
       "login_id" : "kelli.simmon",
        "extension": "2021",
       "firstName": "Kelli",
       "lastName": "Simmon",
       "external": "1234567889",  
       "voiceMail": false,
       "greeting": false
   },
   {
       "login_id" : "ajenks", 
       "extension": "2022",
       "firstName": "Alan",
       "lastName": "Jenks",
       "external": "1234567890",
       "voiceMail": true,
       "greeting": true
   },
   {

       "login_id" : "tony.cobb", 
       "extension": "2023",
       "firstName": "Tony",
       "lastName": "Cobb",
       "external": "1234567889",   
       "voiceMail": false,
       "greeting": false
   }
]  




< Previous | Next >