api:iptv:servicecases:get
Table of Contents
API : IPTV : Service cases : Get
Introduction
This will get a single Service case
A service case is created when service is needed for a FlexCare android tablet or STB
Request
| URL | https://api.telecomx.dk/iptv/servicecase/SERVICE_CASE_ID | |
|---|---|---|
| Method | GET | |
| Access level | RESELLER_ADMIN, ADMIN | |
| Param | SERVICE_CASE_ID | Unique id of service case. |
| Query | extendDevice | True if whole device has to be returned |
Query example
https://api.telecomx.dk/iptv/servicecase/12345678901234567890ABCD https://api.telecomx.dk/iptv/servicecase/12345678901234567890ABCD?extendDevice=true
Response
| JSON object | ||
|---|---|---|
| _id | ObjecId | Unique id of the Service case |
| location | String | Location of where device is placed |
| ean | String | Ean number of Service case |
| incident | String | What is the issue |
| orderer | String | Name of orderer |
| powernetRef | String | Reference to PowerNet, Name / device |
| description | String | Description of what was done to fix the issue |
| device | String. Object in extendDevice = true | DeviceId of device issue is related to / Device object |
| reseller | ObjectId | Unique id of reseller of the device |
| serviceDate | Date(ISO) | Date of when service case was resolved |
| ObjectId | Unique id of pdf file if pdf file is generated | |
| products | Array | List of products used in service case |
| products[].name | String | Name of product |
| products[].productCode | String | ProductCode of product |
| products[].price | Number | Price of product |
| products[].amount | Number | Amount of this product |
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | id | Not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/iptv/servicecases/get.txt · Last modified: 2023/11/29 10:12 by Mikkel Frederiksen