openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPE_ALTERN_QUALI_WRITE:
    post:
      tags:
      - RHPE
      operationId: /rfc/RHPE_ALTERN_QUALI_WRITE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: '19000101'
                  description: Start date
                ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                  description: Finish Date
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                ROOT_OBJ:
                  type: integer
                  format: int64
                  description: Source object
                VTASK:
                  type: string
                  default: D
                  maxLength: 1
                  description: Finish Date
                ERROR_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TOBID:
                        type: integer
                        format: int64
                        description: Object ID
                      VPROZT:
                        type: integer
                        format: int64
                        description: Replacement percentage rate for alternative qualifications
                TARGET_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TOBID:
                        type: integer
                        format: int64
                        description: Object ID
                      VPROZT:
                        type: integer
                        format: int64
                        description: Replacement percentage rate for alternative qualifications
              required:
              - PLVAR
              - ROOT_OBJ
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TOBID:
                          type: integer
                          format: int64
                          description: Object ID
                        VPROZT:
                          type: integer
                          format: int64
                          description: Replacement percentage rate for alternative qualifications
                  TARGET_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TOBID:
                          type: integer
                          format: int64
                          description: Object ID
                        VPROZT:
                          type: integer
                          format: int64
                          description: Replacement percentage rate for alternative qualifications
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
