post:
  operationId: getRecommendations
  summary: Returns a Recommendation Based on Object
  tags:
    - IAI Recommendations
  description: >-
    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.
  requestBody:
    required: true
    content:
      application/json:
        schema:
          $ref: '../schemas/RecommendationRequestDto.yaml'
  responses:
    '200':
      description: The recommendations for a customer
      content:
        application/json:
          schema:
            $ref: '../schemas/RecommendationResponseDto.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'
  security:
    - oauth2: []