Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/RecommendationResponse.md
2025-02-20 12:59:19 -05:00

3.6 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-recommendation-response RecommendationResponse RecommendationResponse RecommendationResponse pythonsdk
python
Python
sdk
RecommendationResponse
V2024RecommendationResponse
/tools/sdk/python/v2024/models/recommendation-response
SDK
Software Development Kit
RecommendationResponse
V2024RecommendationResponse

RecommendationResponse

Properties

Name Type Description Notes
request RecommendationRequest [optional]
recommendation Enum [ 'true', 'false', 'MAYBE', 'NOT_FOUND' ] The recommendation - YES if the access is recommended, NO if not recommended, MAYBE if there is not enough information to make a recommendation, NOT_FOUND if the identity is not found in the system [optional]
interpretations []str The list of interpretations explaining the recommendation. The array is empty if includeInterpretations is false or not present in the request. e.g. - [ "Not approved in the last 6 months." ]. Interpretations will be translated using the client's locale as found in the Accept-Language header. If a translation for the client's locale cannot be found, the US English translation will be returned. [optional]
translation_messages []TranslationMessage The list of translation messages, if they have been requested. [optional]
recommender_calculations RecommenderCalculations [optional]
}

Example

from sailpoint.v2024.models.recommendation_response import RecommendationResponse

recommendation_response = RecommendationResponse(
request=sailpoint.v2024.models.recommendation_request.RecommendationRequest(
                    identity_id = '2c938083633d259901633d25c68c00fa', 
                    item = sailpoint.v2024.models.access_item_ref.AccessItemRef(
                        id = '2c938083633d259901633d2623ec0375', 
                        type = 'ENTITLEMENT', ), ),
recommendation='true',
interpretations=[75% of identities with the same department have this access. This information had a high impact on the overall score., 67% of identities with the same peer group have this access. This information had a low impact on the overall score., 42% of identities with the same location have this access. This information had a low impact on the overall score.],
translation_messages=[{key=recommender-api.V2_WEIGHT_FEATURE_PRODUCT_INTERPRETATION_HIGH, values=[75, department]}],
recommender_calculations=sailpoint.v2024.models.recommender_calculations.RecommenderCalculations(
                    identity_id = '2c91808457d8f3ab0157e3e62cb4213c', 
                    entitlement_id = '2c91809050db617d0150e0bf3215385e', 
                    recommendation = 'YES', 
                    overall_weighted_score = 1.337, 
                    feature_weighted_scores = {
                        'key' : 1.337
                        }, 
                    threshold = 1.337, 
                    identity_attributes = {
                        'key' : sailpoint.v2024.models.recommender_calculations_identity_attributes_value.RecommenderCalculations_identityAttributes_value(
                            value = '', )
                        }, 
                    feature_values = sailpoint.v2024.models.feature_value_dto.FeatureValueDto(
                        feature = 'department', 
                        numerator = 14, 
                        denominator = 14, ), )
)

[Back to top]