1. Teleboard | Support Center
  2. Solution home
  3. API Documentation
  4. REST API - GET Requests
Open navigation

GET/nextSpeedDial

The GET/nextSpeedDial (case sensitive!) request returns the number of the next available speed Dial or BLF button. Use the result when programing a button with the PUT/speeddial request.


The response has the following field of information:


  • sdial  - the number of the next available Speed Dial or BLF button.   

Parameters


All parameters go in the header.


Parameter
Type
Operation
stype
string
Use "phone" for the result to include only phone lines belonging to the user. Omit to have the results apply for all shared buttons. 
snumber
string
Use a specific telephone number to return results for available button associated with it. Omit for returning results for all shared buttons.

Examples


To get the next available speed dial or BLF button for a specific phone line of a user use this syntax:


HTTPS method: GET


webserv.telebroad.com/api/teleconsole/rest/nextSpeedDial?stype=phone&snumber=11138470


Response:


{

    "error":null,

        "result":

        { "sdial": "3" 

        } 

}