User Tools

Site Tools


api:pbx:app:settings:desktop:ringtone

API : PBX : APP: Settings : Desktop : Ringtone

Introduction

This request is used to retrieve a list of the available ringtones.

Request

URL https://api.telecomx.dk/pbx/app/settings/desktop/ringtone
Method GET
Access level PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN.

Query examples

https://api.telecomx.dk/pbx/app/settings/desktop/ringtone

Response

An array with themes.

JSON object
_id Id Id of the ringtone
nameEn string Name of the ringtone in english.
nameDa string Name of the ringtone in danish.

Example - normal

[
  {
    _id: '123456789012345647890AAAA',
    nameEn: 'Old phone',
    nameDa: 'Gammel telefon'
  },
  {
    _id: '123456789012345647890AAAB',
    nameEn: 'Nokia',
    nameDa: 'Nokia'
  },
  {
    _id: '123456789012345647890AAAC',
    nameEn: 'Christmas',
    nameDa: 'Jul'
  }
]

Errors

Error code Message Description
403 access_denied Access denied
500 internal_error <Unspecified>
api/pbx/app/settings/desktop/ringtone.txt · Last modified: 2025/01/24 10:58 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki