User Tools

Site Tools


api:iptv:whitelist:get

API : Whitelist Get

Introduction

This request will return a given whitelisted IPTV device. Currently only supports tablets.

Request

URL https://api.telecomx.dk/iptv/whitelist/DEVICE_ID
Method GET
Access level ADMIN.

Query examples

https://api.telecomx.dk/iptv/whitelist/1234567

Response

JSON Object
_id Id Unique barcode, put as a sticker on every IPTV Business tablet.
serial String Unique serial number from the device.
warrantyDate Date Date the tablets were purchased, used for warranty purposes.
model String Model of the device.
date Date Date and time when the status message was added.
invoiceNumber String Invoice number

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

Example - normal

   {
     "_id": "45678",
     "serial" "HKY7989898120",
     "model": "TC18",
     "warrantyDate": "2020-02-20T00:00:00",
     "invoiceNumber": "32"
    },

Errors

Error code Message Description
403 access_denied Insufficient access level
404 not_found Device not found
500 internal_error <Unspecified>
api/iptv/whitelist/get.txt · Last modified: 2020/10/27 08:15 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki