openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPE_ALTERN_QUALI_READ_MULT:
    post:
      tags:
      - RHPE
      operationId: /rfc/RHPE_ALTERN_QUALI_READ_MULT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Start Date
                ENDDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: End Date
                ONE_WAY:
                  type: string
                  default: ' '
                  maxLength: 1
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                WITH_TEXT:
                  type: string
                  default: X
                  maxLength: 1
                ALTQ_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ROBID:
                        type: integer
                        format: int64
                        description: Object ID
                      RTEXT:
                        type: string
                        maxLength: 40
                        description: Name of Qualification
                      TTEXT:
                        type: string
                        maxLength: 40
                        description: Name of Alternative Qualification
                      TOBID:
                        type: integer
                        format: int64
                        description: Object ID
                      VPROZT:
                        type: integer
                        format: int64
                        description: Replacement percentage rate for alternative qualifications
                      VBEGDA:
                        type: string
                        format: date
                        description: Start Date
                      VENDDA:
                        type: string
                        format: date
                        description: End Date
                ROOT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
              required:
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALTQ_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ROBID:
                          type: integer
                          format: int64
                          description: Object ID
                        RTEXT:
                          type: string
                          maxLength: 40
                          description: Name of Qualification
                        TTEXT:
                          type: string
                          maxLength: 40
                          description: Name of Alternative Qualification
                        TOBID:
                          type: integer
                          format: int64
                          description: Object ID
                        VPROZT:
                          type: integer
                          format: int64
                          description: Replacement percentage rate for alternative qualifications
                        VBEGDA:
                          type: string
                          format: date
                          description: Start Date
                        VENDDA:
                          type: string
                          format: date
                          description: End Date
                  ROOT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
