api:flexcare:dialog:profiles:create
Table of Contents
API : FlexCare : Dialog : Profiles : Create
Introduction
This endpoint is used to create a new dialog profile
Request
| URL | https://api.telecomx.dk/flexcare/dialog/profile | ||
|---|---|---|---|
| Method | POST | ||
| Access level | RESELLER_ADMIN, ADMIN | ||
| Body | name | String | Name of profile |
| ipList | Array<String> | List of ip/ip-ranges that licenses can automatically be authenticated from | |
| allLanguages | Boolean | If true, no matter the “languages” list, all languages available will be returned | |
| languages | Array<ObjectId> | List of languages to make available for this profile | |
| customer | ObjectId | Unique id of customer that owns the profile | |
| largeKeyboardLayout | String | JSON string containing layout of keyboard on larger screens | |
| smallKeyboardLayout | String | JSON string containing layout of keyboard on smaller screens | |
Query example
https://api.telecomx.dk/flexcare/dialog/profile
Response
| DialogProfile - JSON Object | ||
|---|---|---|
| _id | ObjectId | Unique id of the language |
| name | String | Name of profile |
| ipList | Array<String> | List of ip/ip-ranges that licenses can automatically be authenticated from |
| allLanguages | Boolean | If true, no matter the “languages” list, all languages available will be returned |
| languages | Array<ObjectId> | List of languages to make available for this profile |
| customer | ObjectId | Unique id of customer that owns the profile |
| mdmKey | String | Key used by devices with an MDM system to authenticate |
| largeKeyboardLayout | String | JSON string containing layout of keyboard on larger screens |
| smallKeyboardLayout | String | JSON string containing layout of keyboard on smaller screens |
Example
{ _id: '1234567890qwertyuiopqwer', name: 'Danish', ipList: [ '127.0.0.1' ], allLanguages: false, languages: [ '123456789qwertyuioasdfgh', '123456789qwertyuioasdfgh' ], customer: '123456789qwertyuioasdfgh', mdmKey: '123456789qwertyuioasdfgh-123456789qwertyuioasdfgh', largeKeyboardLayout: '{}', smallKeyboardLayout: '' }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/flexcare/dialog/profiles/create.txt · Last modified: 2025/08/12 08:47 by Mikkel Frederiksen