openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_QUALIDIRECTORY_LIST:
    post:
      tags:
      - RHPE_QUALI_DIR_BAPI
      summary: Structure of qualifications catalog
      operationId: /rfc/BAPI_QUALIDIRECTORY_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEPTH:
                  type: integer
                  format: int64
                  default: 0
                  description: Technical depth
                FROM_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Start date
                OBJID:
                  type: integer
                  format: int64
                  description: Object ID of a qualification type or qualification group
                OTYPE:
                  type: string
                  maxLength: 2
                  description: Object type of a qualification type or qualification group
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan version
                TO_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: End date
                VIEW_ID:
                  type: string
                  maxLength: 20
                  description: View of Qualifications Catalog
                QUALIFICATIONDIRECTORY:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      LEVEL:
                        type: integer
                        format: int32
                        description: Level of Element in Structure
                      PUP_OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      PUP_OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      VCOUNT:
                        type: integer
                        format: int32
                        description: Number of Objects Directly Related to a Node
              required:
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  QUALIFICATIONDIRECTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        LEVEL:
                          type: integer
                          format: int32
                          description: Level of Element in Structure
                        PUP_OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        PUP_OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        VCOUNT:
                          type: integer
                          format: int32
                          description: Number of Objects Directly Related to a Node
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
