openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_MESSAGE_ID_READ:
    post:
      tags:
      - SIFP
      operationId: /rfc/RPY_MESSAGE_ID_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                MESSAGE_ID:
                  type: string
                  maxLength: 20
                  description: Message Class
                SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRSL:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Application Area
                      MSGNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      TEXT:
                        type: string
                        maxLength: 73
                        description: Message Text
              required:
              - MESSAGE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE_ID_INF:
                    type: object
                    properties:
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Application Area
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      APPLCLASS:
                        type: string
                        maxLength: 4
                        description: Application class for DD objects (not used)
                      RESPUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      LASTUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      LDATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      LTIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      STEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                  SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRSL:
                          type: string
                          maxLength: 1
                          description: Language Key
                        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.
