User Tools

Site Tools


api:porting:qr

API : Porting Get QR

Introduction

This request will, based on a QR porting code as printed on a porting document, lookup the porting(s) that the QR code points to.

Request

URL https://api.telecomx.dk/porting/qr/QRCODE
Method GET
Access level RESELLER_ADMIN with PORTING feature.
Param QRCODE The QR porting code (e.g. X1234)

Query example

https://api.telecomx.dk/porting/qr/X1234

Response

Json array
porting id Id Id of a porting

Example

[
  '1234567890ABCDEF',
  '1234567890ABCDE0',
  '1234567890ABCDC3'
]

Errors

Error code Message Description
400 bad_request QR Code not found in request URI
404 not_found QR code not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/porting/qr.txt · Last modified: 2023/10/30 14:28 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki