openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_OBJECT_SET_UNREAD:
    post:
      tags:
      - SOC7
      operationId: /rfc/SO_OBJECT_SET_UNREAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECK_DUPLICATE:
                  type: string
                  default: X
                  maxLength: 1
                OWNER:
                  type: string
                  maxLength: 12
                SORD_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      FOLTP:
                        type: string
                        maxLength: 3
                        description: 'Object folder: Object type from ID'
                      FOLYR:
                        type: string
                        maxLength: 2
                        description: 'Object folder: Year from ID'
                      FOLNO:
                        type: string
                        maxLength: 12
                        description: 'Object folder: Number from ID'
                      USRTP:
                        type: string
                        maxLength: 3
                        description: User type from ID
                      USRYR:
                        type: string
                        maxLength: 2
                        description: User year from the ID
                      USRNO:
                        type: string
                        maxLength: 12
                        description: User number from the ID
                      OBJTP:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      OBJYR:
                        type: string
                        maxLength: 2
                        description: 'Object: Year from ID'
                      OBJNO:
                        type: string
                        maxLength: 12
                        description: 'Object: Number from ID'
              required:
              - OWNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SORD_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        FOLTP:
                          type: string
                          maxLength: 3
                          description: 'Object folder: Object type from ID'
                        FOLYR:
                          type: string
                          maxLength: 2
                          description: 'Object folder: Year from ID'
                        FOLNO:
                          type: string
                          maxLength: 12
                          description: 'Object folder: Number from ID'
                        USRTP:
                          type: string
                          maxLength: 3
                          description: User type from ID
                        USRYR:
                          type: string
                          maxLength: 2
                          description: User year from the ID
                        USRNO:
                          type: string
                          maxLength: 12
                          description: User number from the ID
                        OBJTP:
                          type: string
                          maxLength: 3
                          description: Code for document class
                        OBJYR:
                          type: string
                          maxLength: 2
                          description: 'Object: Year from ID'
                        OBJNO:
                          type: string
                          maxLength: 12
                          description: 'Object: Number from ID'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
