openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSRD_MS_CHECK_VARIABLE_DEF:
    post:
      tags:
      - RSRD_MS_VARIABLES
      operationId: /rfc/RSRD_MS_CHECK_VARIABLE_DEF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OBJECT_ID:
                  type: string
                  maxLength: 40
                I_OBJECT_TYPE:
                  type: string
                  maxLength: 2
                I_VARIABLE_STRING:
                  type: string
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      TEXT:
                        type: string
                        maxLength: 160
                        description: Message Test for RFC Error Message
              required:
              - I_OBJECT_ID
              - I_OBJECT_TYPE
              - I_VARIABLE_STRING
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        TEXT:
                          type: string
                          maxLength: 160
                          description: Message Test for RFC Error Message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
