profile/data/{profile_data_GUID}
Details for a policy profile, given the profile data ID.
GET
Uses the profile data ID to return the specified policy profile’s details.
This resource can return information for any profile that has been stored in the policy console, whether it is active or archived.
For a description of profile data IDs, see Policy profiles.
Resource template parameter
Parameter | Description |
---|---|
profile_data_GUID | The profile data ID for the profile you want to lookup. This GUID is returned as the profile_data_id value in GET profile/catalog or GET profile/catalog/{policytype}. This GUID is also returned as the policy_profile_data value in GET app-market/{GUID}. |
Example request
Request
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/profile/data/
de6b4410-bea0-4f9c-8d16-1992c6e99d13
Response
{
"message": "",
"profiles": {
"archived": false,
"data": {
"profile_data": "{\"fontColor\":\"FFFFFF\",\"displaySecuredByBar\":\"1\",\"backgroundColor\":\"0B3C5E\",
\"secondaryBtnColor\":\"0191C5\",\"primaryBtnColor\":\"00CC00\",\"reset_logo_image\":\"1\",
\"userStringsJsonBlobId\":\"42ab451a-c28e-4f46-9fd8-3267d7942f5b\",\"reset_bg_image\":\"1\"}",",
"profile_data_id": "de6b4410-bea0-4f9c-8d16-1992c6e99d13",
"profile_data_stamp": "2016-06-16 13:01:13.0"
},
"profile_desc": "Default app customization",
"profile_id": "c71a2126-9f9f-4cbd-871b-a9759bd3d696",
"profile_name": "bcn-default",
"profile_type": "app_customization",
"profile_url": "https://bc.qwe.com/mocana-app-control/rest/profile/c71a2126-9f9f-4cbd-871b-a9759bd3d696"
},
"status": "OK"
}