post:
  operationId: addAccessRequestRecommendationsViewedItems
  tags:
    - IAI Access Request Recommendations
  summary: Notification of Viewed Access Request Recommendations in Bulk
  description: >-
    This API consumes a notification that a set of recommended access request item were viewed.
    Future recommendations with these items will be marked with viewed=true. This can be useful for the
    consumer to determine if there are any new/unviewed recommendations.
  requestBody:
    description: The recommended access items that were viewed for an identity.
    required: true
    content:
      application/json:
        schema:
          type: array
          items:
            $ref: '../../beta/schemas/AccessRequestRecommendationActionItemDto.yaml'
  responses:
    '201':
      description: Recommendations successfully stored as viewed.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../../beta/schemas/AccessRequestRecommendationActionItemResponseDto.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'