You can test API methods on the interactive API browser page and without writing code
Some of the resources described on the page may not be available by default due to the type of application (see Creating and authorizing applications).
Description of data structures
Expand | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
Data of a single registration (registration)
Data of all registrations (RegInfo)
|
Examples
For an
…
…
…
System response:
Code Block | ||
---|---|---|
| ||
{ "registered":true, "extension_id":3, "registrations": [ { "device":"Yealink SIP-T46G 28.72.14.5", "real_address":"sip:xxx.xxx.xxx.xxx:62338", "contact_address":"sip:000*002@192.168.5.52:5062", "expires":699, "registration_id": "uloc-572b0ffb-6d47-001" } ] } |
Now, let's delete the above registration:
…
…
…
If the client has a lot of internal numbers, it is more convenient to get data about them in blocks:
…
…
…
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Resources of the "Internal number" section
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
GET /extension/registration/ Get the registration status of all internal numbers Request parameters
Response fields
|
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
GET /extension/{extension_id}/registration/ Get the internal number registration status Request parameters
Response fields
|
Expand | ||||
---|---|---|---|---|
| ||||
DELETE /extension/{extension_id}/registration/ Delete all registrations on the internal number Request parameters
|
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
DELETE /extension/{extension_id}/registration/{registration_id} Delete a specific registration on an internal number Request parameters
|