User Tools

Site Tools


api:sbc:server:get

API : SBC Server Get

Introduction

This request will return an SBC server.

Request

URL https://api.telecomx.dk/sbc/server/SERVER_ID
Method GET
Access level RESELLER_ADMIN with TELE feature, or ADMIN.
Param SERVER_ID Id of the server (IP address).

Query examples

https://api.telecomx.dk/sbc/server/2.1.1.3

Response

The response is an array of servers.

SBC server object (JSON)
_id String IP address of the SBC server.
hostname String Hostname of the SBC server.
serviceMode Boolean True if the SBC server is in service mode and does not accept new calls to handle.

Note that properties holding no value may be omitted from the object.

Response example

[
  {
    _id: '2.1.1.3',
    hostname: 'sbc03.telecomx.dk',
    serviceMode: false
  },
  {
    ...
  }
]

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/sbc/server/get.txt · Last modified: 2023/10/30 21:40 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki