api:iptv:servicecases:update
Table of Contents
API : IPTV : Service cases : Update
Introduction
This will update an existing service case. If values are omitted from the body, then they will not be updated.
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 | 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 | |
| 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/60894a2f80515c5918292e31
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/update.txt · Last modified: 2023/11/29 10:17 by Mikkel Frederiksen