User Tools

Site Tools


api:destination:special:get

API : Special destination Get

Introduction

This request will return a specific special destination: a Danish service number with its own connection fee and pr. minute rate.

Request

URL https://api.telecomx.dk/destination/special/PREFIX
Method GET
Access level VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN.
Param PREFIX Prefix (id) of the special destination, e.g. +4590123456. The + must be URL encoded as %2B.

Query example

https://api.telecomx.dk/destination/special/%2B4590123456

Response

JSON object
_id String Prefix of the Danish special number.
name String Name of the service offered.
fee Number Connection fee.
rate Number Pr. minute rate.
vatExemption Boolean True if the call is VAT free.

Example

{
  "_id": "+4590123456",
  "name": "Example fundraising show",
  "fee": 1.5,
  "rate": 0.5,
  "vatExemption": true
}

Errors

Error code Message Description
404 id Special destination not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/destination/special/get.txt · Last modified: by Mikkel Meerwaldt Jørgensen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki