From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate>= Export Access Numbers = Returns users' access number data, including the number, media type (voice), extension, name of the scenario used, and display name. == R...")
 
Line 103: Line 103:
 
|textOutService
 
|textOutService
 
|String
 
|String
|The name of the service if texts are sent out
+
|If texts are sent out, the name of the service used
 
|-
 
|-
 
|scenario
 
|scenario
Line 111: Line 111:
 
|displayName
 
|displayName
 
|String
 
|String
|If using a phone, the name configured to display on the device
+
|If using a device, the name configured to display on the device
 
|-
 
|-
 
|loginId
 
|loginId

Revision as of 00:42, 16 November 2018

• 3.18

Export Access Numbers

Returns users' access number data, including the number, media type (voice), extension, name of the scenario used, and display name.

Request

URL

http[s]://<host>/configapi/v2/phone/ext

HTTP Method

GET

Response

Body

User data (content-type: application/JSON)

Example

[
   {
       "number": "1234567890",
       "media": "voice_text",
       "type": "softphone",
       "extension": "2022",
       "textOutService": "Customer Service Chat, chat test",
       "loginId": "alan.jenks",
       "firstName": "Alan",
       "lastName": "Jenks"
   },
   {
       "number": "1234567891",
       "media": "voice",
       "type": "scenario",
       "scenario": "Survey"
   },
   {
       "number": "1234567892",
       "media": "text",
       "type": "scenario",
       "scenario": "Mobile Chat"
   },
   {
       "number": "1234567893",
       "media": "voice",
       "type": "scenario",
       "scenario": "After Hours"
   },
   {
       "number": "1234567897",
       "media": "voice",
       "type": "unassigned"
   },
   {
       "number": "1234567898",
       "media": "voice",
       "type": "phone",
       "extension": "3001",
       "displayName": "Test phone 01"
   },
   {
       "number": "1234567899",
       "media": "voice",
       "type": "scenario",
       "extension": "6003, 6000, 6001",
       "scenario": "Support-Service"
   },
   {
       "number": "4156558090",
       "media": "voice",
       "type": "scenario",
       "extension": "8002",
       "scenario": "Maintenance Renewal"
   },
   {
       "number": "8008082134",
       "media": "voice",
       "type": "scenario",
       "extension": "8001",
       "scenario": "Support-Service"
    }
]


Parameters

Parameters Data Type Description
number Integer The phone number of the user
media String The media type of the interaction (e.g., text, voice)
type String If using a device, the type of device used (e.g., softphone, hardphone)
extension Integer The phone extension(s) of the user
textOutService String If texts are sent out, the name of the service used
scenario String The name of the scenario the interaction was processed in
displayName String If using a device, the name configured to display on the device
loginId String The user's login
firstName String The user's first name
lastName String The user's last name



< Previous | Next >