User Tools

Site Tools


api:iptv:statusmessages:get

API : Status messages Get

Introduction

This request will return a given status message.

Request

URL https://api.telecomx.dk/iptv/statusmessage/STATUSMESSAGE_ID
Method GET
Access level RESELLER or ADMIN.
Customer feature IPTVBUSINESS or IPTVPRIVATE required.
Employee feature PLAYMAKERSTATUS required
Param STATUSMESSAGE_ID Id of the status message (24 hex-char string)

Query examples

https://api.telecomx.dk/iptv/statusmessage/123456789ABCEDFG

Response

Document object (JSON)
_id Id Unique document id.
name String Name/subject of the status message
description String Description of the status message
solved Boolean If true, the status message has been solved. If false, it is still ongoing
date Date Date and time when the status message was added.
employee Id Id of employee who created the status message (ADMIN only)
employeeName String Name of employee who created the status message. If the requester is not ADMIN, it will show “PlayMaker Teamet”
lastUpdated Date Date and time when the status message was last updated.

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

Example - normal

{
   "_id": "123456789ADBCDEFG",
   "name": "Alle DR kanaler er nede",
   "description": "Vi arbejder på sagen",
   "solved": false,
   "date": "2020-02-20T08:49:19.626Z",
   "lastUpdated": "2020-02-20T08:49:19.626Z",
   "employeeName": "PlayMaker Teamet",
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 not_found Support case not found
500 internal_error <Unspecified>
api/iptv/statusmessages/get.txt · Last modified: 2020/07/17 10:39 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki