Table of Contents

API : CriiptoData Get

Introduction

This request will return domain and clientIdRealm used for Criipto and portal used for mvnoPrivate for reseller.

Request

URL https://api.telecomx.dk/customer/CUSTOMER_ID/criipto/RESELLER_ID
Method GET
Access level VIEWER and up (no customer relationship required).
Param CUSTOMER_ID Id of the customer (24 hex-char string)
RESELLER_ID Id of the reseller (24 hex-char string)

Query example

https://api.telecomx.dk/customer/1234567890ABCDEF12345678/criipto/12345678901234567890AAAA

Response

Json object
domain String Domain for redirection login
clientIdRealm String Client Id for domain
signatureAllowed Boolean If signature is allowed
portal String The portal URL to redirect customers to. From customers integrations.mvnoPrivate.portal

Example

{
  "domain": "example.criipto.id",
  "clientIdRealm": "urn:my:application:identifier:123456",
  "signatureAllowed": true,
  "portal": "https://mobile.example.dk"
}

Errors

Error code Message Description
422 customer Customer id is invalid
422 reseller Reseller id is invalid
404 reseller Not a customer of reseller
404 reseller Reseller not found or Criipto is not enabled for reseller
403 access_denied Insufficient access level
500 internal_error <Unspecified>