openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPG_SCALE_READ_2:
    post:
      tags:
      - RHPG
      operationId: /rfc/RHPG_SCALE_READ_2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADD_DATA:
                  type: string
                  default: X
                  maxLength: 1
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                SCALE_ID:
                  type: integer
                  format: int64
                PROFCY_RANGE:
                  type: array
                  items:
                    type: object
                    properties:
                      RAT_LOW:
                        type: integer
                        format: int64
                        description: Lowest proficiency on a quantity scale
                      RAT_HIGH:
                        type: integer
                        format: int64
                        description: Highest proficiency on a quantity scale
                      RAT_DIST:
                        type: integer
                        format: int64
                        description: Scale Interval for Evaluation
                      RAT_TEXT:
                        type: string
                        maxLength: 40
                        description: Scale Proficiency Text
              required:
              - SCALE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHANGED_LANGU:
                    type: string
                    maxLength: 1
                  COUNT:
                    type: integer
                    format: int64
                  MAX_VALUE:
                    type: integer
                    format: int64
                  MIN_VALUE:
                    type: integer
                    format: int64
                  STEXT:
                    type: string
                    maxLength: 40
                  PROFCY_RANGE:
                    type: array
                    items:
                      type: object
                      properties:
                        RAT_LOW:
                          type: integer
                          format: int64
                          description: Lowest proficiency on a quantity scale
                        RAT_HIGH:
                          type: integer
                          format: int64
                          description: Highest proficiency on a quantity scale
                        RAT_DIST:
                          type: integer
                          format: int64
                          description: Scale Interval for Evaluation
                        RAT_TEXT:
                          type: string
                          maxLength: 40
                          description: Scale Proficiency Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
