API : FlexCare : Dialog : Profiles : Licenses : List
Introduction
This request is used to retrieve a list of licenses associated with a given profile
Request
| URL | https://api.telecomx.dk/flexcare/dialog/profile/license |
| Method | GET |
| Access level | RESELLER_ADMIN |
| Query | offset | [optional] Index of the first language to return, default is 0. |
| limit | [optional] The number of languages to return, default is 100 |
| profile | Unique id of the profile to show licenses from |
Query examples
https://api.telecomx.dk/flexcare/dialog/profile/license?profile=123456789qwertyuioasdfgh
https://api.telecomx.dk/flexcare/dialog/profile/license?offset=25&limit=50&profile=123456789qwertyuioasdfgh
Response
| JSON Object |
| offset | Number | Index of the first profile returned |
| limit | Number | Limit of items returned |
| total | Number | Total amount of profile |
| items | Array<ProfileLicenseListItem> | List of profiles |
| ProfileLicenseListItem |
| _id | ObjectId | Unique id of the license |
| expire | Date | Date of expiration |
| createdAt | Date | Date of creation |
| accessToken | String? | Token used for dialog application endpoints |
| authCode | String? | Code used for authentication if MDM-key and ip authentication fails |
| authenticatedBy | String?<MDMKEY, IP, AUTHCODE> | Tells which method was used to authenticate license |
Example
{
offset: 0,
limit: 50,
total: 2,
items: [
{
"_id": "123456789qwertyuioasdfgh",
"expire": "2025-07-14T11:22:44.613Z",
"createdAt": "2025-07-14T11:17:44.613Z",
"authCode": "123456"
},
{
"_id": "123456789qwertyuioasdfgh",
"expire": "2025-07-26T11:43:14.254Z",
"createdAt": "2025-06-26T11:43:14.255Z",
"accessToken": "J8Kv53gt685d3252149d51c74c656572Yst0htog",
"authenticatedBy": "MDMKEY"
},
]
}
Errors
| Error code | Message | Description |
| 403 | access_denied | Insufficient access level |
| 404 | id | Dialog profile not found |
| 500 | internal_error | <Unspecified> |