api:iptv:servicecases:create
Table of Contents
API : IPTV : Service cases : Create
Introduction
This will create a 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 | ||
|---|---|---|---|
| Method | POST | ||
| Access level | RESELLER_ADMIN ADMIN |
||
| Body | 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 | DeviceId of device issue is related to | |
| reseller | ObjectId | Unique id of reseller of the device | |
| serviceDate | Date(ISO) | Date of when service case was resolved | |
| 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 | |
Query examples
https://api.telecomx.dk/iptv/servicecase
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/create.txt · Last modified: 2023/11/29 10:32 by Mikkel Frederiksen