Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Content imported from a Scroll Translations translation file.
Sv translation
languageen

Base URL

The API is accessed using the base URL of the API Server and the following URL:

Translations Ignore


Code Block
http(s)://jtel-rest-api-server:port/rest/v1.0/{ClientsID}



The ClientsID must be provided with every request.

Authorization

The Authorisation is Bearer token based authorization, using one of the tokens generated in the jtel portal.

To perform bearer authorization, provide the following http header with the request:

Translations Ignore


Code Block
Authorization: Bearer {TOKEN}



The tokens are generated here:

Generating a new token or removing the token will immediately invalidate the token.

Headers

In addition to the authorization header, all functions which require POST data to be sent with the request, require that the following header be set:

Translations Ignore


Code Block
Content-Type: application/json





Sv translation
languagede

Status
colourRed
titleThis page is only available in English

Sv translation
languagefr

URL de base

L'API est accessible en utilisant l'URL de base du serveur API et l'URL suivante :

Translations Ignore


Code Block
http(s)://jtel-rest-api-server:port/rest/v1.0/{ClientsID}



Le ClientsID doit être fourni avec chaque demande.

Autorisation

L'autorisation est basée sur des jetons Bearer , en utilisant l'un des jetons générés dans le portail jtel.

Pour effectuer une autorisation au porteur, fournissez l'en-tête http suivant avec la demande :

Translations Ignore


Code Block
Authorization: Bearer {TOKEN}



Les jetons sont générés ici :

La génération d'un nouveau jeton ou le retrait du jeton invalidera immédiatement le jeton.

En-têtes

En plus de l'en-tête d'autorisation, toutes les fonctions qui nécessitent l'envoi de données POST avec la demande, exigent que l'en-tête suivant soit défini :

Translations Ignore


Code Block
Content-Type: application/json