openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPE_QUALI_CREATE:
    post:
      tags:
      - RHPE
      operationId: /rfc/RHPE_QUALI_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: '19000101'
                  description: Start Date
                ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                  description: End Date
                EXT_NUMBER:
                  type: integer
                  format: int64
                  default: 0
                GUID:
                  type: string
                  maxLength: 32
                INHERITED_1048:
                  type: string
                  default: X
                  maxLength: 1
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                NMONTHS:
                  type: integer
                  format: int64
                  description: Number of months
                NYEARS:
                  type: integer
                  format: int64
                  description: Number of years
                N_TYPE:
                  type: string
                  maxLength: 1
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                SHORT:
                  type: string
                  default: ' '
                  maxLength: 12
                STEXT:
                  type: string
                  maxLength: 40
                VBEGDA:
                  type: string
                  format: date
                  default: '19000101'
                VENDDA:
                  type: string
                  format: date
                  default: '99991231'
                VOBJID:
                  type: integer
                  format: int64
                VOTYPE:
                  type: string
                  maxLength: 2
                VTASK:
                  type: string
                  default: D
                  maxLength: 1
                  description: Type of update
                DESCR_PT1048:
                  type: array
                  items:
                    type: object
                    properties:
                      TLINE:
                        type: string
                        maxLength: 79
                        description: Line With Length 79 for Infotype 1002
                      RATING:
                        type: integer
                        format: int64
                        description: Proficiency of a Quality Scale
                PTXT1002:
                  type: array
                  items:
                    type: object
                    properties:
                      TLINE:
                        type: string
                        maxLength: 79
                        description: Line With Length 79 for Infotype 1002
                      TFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
              required:
              - PLVAR
              - STEXT
              - VOBJID
              - VOTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJID:
                    type: integer
                    format: int64
                  DESCR_PT1048:
                    type: array
                    items:
                      type: object
                      properties:
                        TLINE:
                          type: string
                          maxLength: 79
                          description: Line With Length 79 for Infotype 1002
                        RATING:
                          type: integer
                          format: int64
                          description: Proficiency of a Quality Scale
                  PTXT1002:
                    type: array
                    items:
                      type: object
                      properties:
                        TLINE:
                          type: string
                          maxLength: 79
                          description: Line With Length 79 for Infotype 1002
                        TFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
