Table of Contents

API : IPTV : Device : History

Introduction

This request will return device's history since it was introduces. Used as a tool for ducumentation about the device

Request

URL https://api.telecomx.dk/iptv/device/DEVICE_ID/history
Method GET
Access level  RESELLERADMIN if customer has FLEXCARE
Param  DEVICE_ID  Id of the device, object ID (_id)

Query example

https://api.telecomx.dk/iptv/device/12345678901234567890ABCD/history

Response

JSON array
date  Date Date of swap/archive
order  Object ID  Unique id of FlexCare order that change happened on
orderName  String  Name of FlexCare order that change happened on
type  String (enum) Type of change.
Possible values: SWAP_IN, SWAP_OUT, ORIGINAL, DEACTIVATE, ACTIVATE

Example

[
    {
        date: '2024-03-14T13:26:46.076Z',
        order: '12345678901234567890ABCD',
        orderName: 'FlexCare ordre',
        type: 'ORIGINAL'
    },
    {
        date: '2024-03-14T13:26:46.076Z',
        order: '12345678901234567890ABCD',
        orderName: 'FlexCare ordre',
        type: 'SWAP_OUT'
    },
    {
        date: '2024-03-14T13:26:46.076Z',
        order: '12345678901234567890ABCD',
        orderName: 'FlexCare ordre',
        type: 'SWAP_IN'
    },
    {
        date: '2024-03-14T13:26:46.076Z',
        order: '12345678901234567890ABCD',
        orderName: 'FlexCare ordre',
        type: 'DEACTIVATE'
    },
    {
        date: '2024-03-14T13:26:46.076Z',
        order: '12345678901234567890ABCD',
        orderName: 'FlexCare ordre',
        type: 'ACTIVATE'
    }
]

Errors

Error code Message Description
404 id Not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>