User Tools

Site Tools


api:iptv:stbwhitelistget

API : TV : Whitelist get

Introduction

This request is used to check if an STB is whitelisted.

Request

URL https://api.telecomx.dk/tv/whitelist/STB-ID
Method GET
Access level VIEWER, MANAGE, OWNER, RESELLER or ADMIN
Params STB-ID MAC address of the STB to lookup.

Query examples

https://api.telecomx.dk/tv/whitelist/01:0A:23:65:78:BD

Response

JSON object
_id Id MAC address of the STB.
warrentyDate Date Purchase date for the STB.
invoiceNumber String TCX invoice number.

Example

{
  id: '01:0A:23:65:78:BD',
  warrentyDate: '2016-01-01T00:00:00.000Z',
  invoiceNumber: '37567325'
}

Errors

Error code Message Description
404 id Not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/iptv/stbwhitelistget.txt · Last modified: 2022/02/15 10:48 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki