getRecommendationProfiles
Use this method to retrieve information for the behavioral profiles that a specific recommendation applies to.
Parameters
Name | Description | Included in request | Type | Values |
|---|---|---|---|---|
| The ID of the company the targeted recommendation belongs to. | Optional NoteMandatory when targetting recommendations from another company. | String | Must be a valid company ID for which you have management rights to. Default value: The ID of the company associated with the API key used for the request. |
| The ID of the recommendation you want to retrieve the behavioral profiles for. | Mandatory | String | Must be a valid recommendation ID. |
These are common parameters, available across all public API methods.
Parameter | Description | Included in request | Type | Values |
|---|---|---|---|---|
| This parameter adds an identifier to the request, linking it to its corresponding response. The target replies with the same value in the response, allowing easy call tracking. | Mandatory | String | No additional requirements |
| The name of the method you are using to send the request. | Mandatory | String | Must be a valid method name. |
| The version of JSON-RPC used by the request and the response. | Mandatory | Integer | Possible values:
|
| An object containing the configuration of the request. | Mandatory | Object | No additional requirements. |
Under the | ||||
| The results page number. | Optional | Integer | Default value: |
| The number of results displayed per page. | Optional | Integer | The upper limit is 100 items per page. Default value: |
Return value
Attribute | Type | Description |
|---|---|---|
| Array of objects | Each object contains information regarding a behavioral profile. |
Objects
items
Attribute | Type | Description |
|---|---|---|
| String | The ID of the recommendation that applies to this behavioral profile. |
| String | The ID of the resource that belongs to the behavioral profile. |
| String | The name of the resource that belongs to the behavioral profile. |
| String | The ID of the identity that belongs to the behavioral profile. |
| String | The name of the identity that belongs to the behavioral profile. |
Example
Request:
{
"params": {
"page": 1,
"perPage": 20,
"objectId": "123abc123abc123abc123abc",
"companyId": "456def456def456def456def",
"search": "Font Driver Host"
},
"jsonrpc": "2.0",
"method": "getRecommendationProfiles",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}Response:
{
"total": 9,
"page": 1,
"perPage": 20,
"pagesCount": 1,
"items": [
{
"recommendationId": "123abc123abc123abc123abc",
"behavioralProfileResource": "00000000-0000-0000-0000-100000000001",
"behavioralProfileResourceName": "WIN10-TEMPL",
"behavioralProfileIdentity": "Local_S-1-5-96-0-0_683ebe0d21ee239251adc088",
"behavioralProfileIdentityName": "Font Driver Host\\UMFD-0"
},
{
"recommendationId": "123abc123abc123abc123abc",
"behavioralProfileResource": "00000000-0000-0000-0000-100000000001",
"behavioralProfileResourceName": "WIN10-TEMPL",
"behavioralProfileIdentity": "Local_S-1-5-96-0-1_683ebe0d21ee239251adc088",
"behavioralProfileIdentityName": "Font Driver Host\\UMFD-1"
},
{
"recommendationId": "123abc123abc123abc123abc",
"behavioralProfileResource": "00000000-0000-0000-0000-100000000001",
"behavioralProfileResourceName": "WIN10-TEMPL",
"behavioralProfileIdentity": "Local_S-1-5-96-0-2_683ebe0d21ee239251adc088",
"behavioralProfileIdentityName": "Font Driver Host\\UMFD-2"
}
]
}