openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_RMESSAGES:
    post:
      tags:
      - SCR1
      summary: 'Graphical Screen Painter: Request Messages (Messages from WA 37)'
      operationId: /rfc/RS_SCRP_GF_RMESSAGES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Application Area
                      MSGNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      TEXT:
                        type: string
                        maxLength: 73
                        description: Message Text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        ARBGB:
                          type: string
                          maxLength: 20
                          description: Application Area
                        MSGNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        TEXT:
                          type: string
                          maxLength: 73
                          description: Message Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
