openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPE_ALTERN_QUALI_READ:
    post:
      tags:
      - RHPE
      operationId: /rfc/RHPE_ALTERN_QUALI_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Object ID
                BOTH_DIRECTIONS:
                  type: string
                  default: X
                  maxLength: 1
                ENDDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Object ID
                OBJID:
                  type: integer
                  format: int64
                  description: Object ID
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                STEXT:
                  type: string
                  maxLength: 40
                  description: Object ID
                WITH_TEXT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read texts
                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
              required:
              - OBJID
              - 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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
