IAIRecommendations
All URIs are relative to https://sailpoint.api.identitynow.com
| Method | HTTP request | Description |
|---|---|---|
| Get-RecommendationsConfigV1 | GET /recommendations/v1/config | Get certification recommendation config values |
| Get-RecommendationsV1 | POST /recommendations/v1/request | Returns recommendation based on object |
| Update-RecommendationsConfigV1 | PUT /recommendations/v1/config | Update certification recommendation config values |
get-recommendations-config-v1
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
Retrieves configuration attributes used by certification recommendations.
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|---|---|---|---|
| XSailPointExperimental | String | True (default to "true") | Use this header to enable this experimental API. |
Return type
Responses
| Code | Description | Data Type |
|---|---|---|
| 200 | Cert recommendation configuration attributes | Recommendationconfigdto |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetRecommendationsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetRecommendationsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
Example
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
# Get certification recommendation config values
try {
Get-RecommendationsConfigV1 -XSailPointExperimental $XSailPointExperimental
# Below is a request that includes all optional parameters
# Get-RecommendationsConfigV1 -XSailPointExperimental $XSailPointExperimental
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-RecommendationsConfigV1"
Write-Host $_.ErrorDetails
}
get-recommendations-v1
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
The getRecommendations API returns recommendations based on the requested object. The recommendations are invoked by IdentityIQ and IdentityNow plug-ins that retrieve recommendations based on the performed calculations.
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|---|---|---|---|
| XSailPointExperimental | String | True (default to "true") | Use this header to enable this experimental API. | |
| Body | Recommendationrequestdto | Recommendationrequestdto | True |
Return type
Responses
| Code | Description | Data Type |
|---|---|---|
| 200 | The recommendations for a customer | Recommendationresponsedto |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetRecommendationsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetRecommendationsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Example
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
$Recommendationrequestdto = @""@
# Returns recommendation based on object
try {
$Result = ConvertFrom-JsonToRecommendationrequestdto -Json $Recommendationrequestdto
Get-RecommendationsV1 -XSailPointExperimental $XSailPointExperimental -Recommendationrequestdto $Result
# Below is a request that includes all optional parameters
# Get-RecommendationsV1 -XSailPointExperimental $XSailPointExperimental -Recommendationrequestdto $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Get-RecommendationsV1"
Write-Host $_.ErrorDetails
}
update-recommendations-config-v1
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
Updates configuration attributes used by certification recommendations.
Parameters
| Param Type | Name | Data Type | Required | Description |
|---|---|---|---|---|
| XSailPointExperimental | String | True (default to "true") | Use this header to enable this experimental API. | |
| Body | Recommendationconfigdto | Recommendationconfigdto | True |
Return type
Responses
| Code | Description | Data Type |
|---|---|---|
| 200 | Cert recommendation configuration attributes after update | Recommendationconfigdto |
| 400 | Client Error - Returned if the request body is invalid. | Errorresponsedto |
| 401 | Unauthorized - Returned if there is no authorization header, or if the JWT token is expired. | GetRecommendationsV1401Response |
| 403 | Forbidden - Returned if the user you are running as, doesn't have access to this end-point. | Errorresponsedto |
| 429 | Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again. | GetRecommendationsV1429Response |
| 500 | Internal Server Error - Returned if there is an unexpected error. | Errorresponsedto |
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Example
$XSailPointExperimental = "true" # String | Use this header to enable this experimental API. (default to "true")
$Recommendationconfigdto = @""@
# Update certification recommendation config values
try {
$Result = ConvertFrom-JsonToRecommendationconfigdto -Json $Recommendationconfigdto
Update-RecommendationsConfigV1 -XSailPointExperimental $XSailPointExperimental -Recommendationconfigdto $Result
# Below is a request that includes all optional parameters
# Update-RecommendationsConfigV1 -XSailPointExperimental $XSailPointExperimental -Recommendationconfigdto $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Update-RecommendationsConfigV1"
Write-Host $_.ErrorDetails
}