How can we help?

Searching:

0 results found

Profiles/Get (List)

GET /odata/Profiles
 

Description

Retrieves a list of Profiles.

See the following for request and response details:

 

Request ‒ Profiles/Get (List)
Property Type Description Mandatory
appId String A unique Application identifier that is automatically generated by Axonize. This is the identifier of the Application to which this Notification is assigned.

 

Example JSON Profiles/Get (List) Request

curl –location –request GET ‘http://api.dev.axonize.com/odata/Profiles’ \

–header ‘Content-Type: application/json’ \

–header ‘Accept: application/json, text/plain, */*’ \

–data-raw ”
 

Response ‒ Profiles/Get (List)
Property Type Description Mandatory
name String Profile Name
allowedGroups List String List of allowed groups IDs
notAllowedGroups List String List of unallowed groups IDs
devicesBlackList List String List of devices that are unallowed
deleteDate Date The date of the profile deletion time
createUser String The internal Axonize identifier for the profile.
updateDate Date The date of last time the profile was modified
updateUser String The last user who updated the profile
appId String The ID of the application to which this profile belongs.
creationDate Date The date and time that the profile was created in the database.

 

Example JSON Profiles/Get (List) Response

{

“@odata.context”: “http://10.9.0.104/odata/$metadata#Profiles”,

“value”: [

{

“name”: “testProfile”,

“allowedGroups”: [

“5d136face3b0ca17f80b6c7f”

],

“notAllowedGroups”: [],

“deviceBlackList”: [

“5d136faae3b0cb0558594eb8”

],

“id”: “5d136fade3b0cc2c3c96b0cc”,

“appId”: “3802759a-2ad0-4300-9770-55fdabff2d18”,

“createDate”: “2019-06-26T13:14:21.535Z”,

“createUser”: null,

“updateDate”: “2019-06-26T13:14:21.535Z”,

“updateUser”: null,

“deleted”: false,

“deleteDate”: “0001-01-01T00:00:00Z”

}

]}