User Tools

Site Tools


api:flexcare:dialog:profiles:get

API : FlexCare : Dialog : Profiles : Get

Introduction

This endpoint is used to retrieve information about a single profile

Request

URL https://api.telecomx.dk/flexcare/dialog/profile/PROFILE_ID
Method GET
Access level RESELLER_ADMIN, ADMIN
Params PROFILE_ID Unique id of the profile to retrieve

Query example

https://api.telecomx.dk/flexcare/dialog/profile/1234567890qwertyuiopqwer

Response

DialogLanguage - JSON Object
_id ObjectId Unique id of the profiles
name String Name of profile
allLanguages Boolean If true profile has all languages
customer ObjectId Unique id of customer profile belongs to
mdmKey String Key used to authenticate with MDM
ipList Array<String> List of whitelisted ip addresses
languages Array<ObjectId> List of languages selected for profile.
If allLanguages is true, this is an empty array
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: 'My profile',
    customer: '1234567890qwertyuiopqwer',
    allLanguages: false,
    ipList: [
        '145.125.12.45/24'
    ],
    languages: [
        '1234567890qwertyuiopqwer',
        '1234567890qwertyuiopqwer'
    ],
    mdmKey: 'seu9gj932f289ndwe89f4293fj-2oif3jm4oimof2im3fo'
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 not_found Profile not found
500 internal_error <Unspecified>
api/flexcare/dialog/profiles/get.txt · Last modified: 2025/08/12 07:49 by Mikkel Frederiksen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki