openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_MESSAGE_ID_INSERT:
    post:
      tags:
      - SIFP
      operationId: /rfc/RPY_MESSAGE_ID_INSERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEVELOPMENT_CLASS:
                  type: string
                  maxLength: 30
                  description: Package
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                MESSAGE_ID:
                  type: string
                  maxLength: 20
                  description: Message Class
                R2_FLAG:
                  type: string
                  maxLength: 1
                TEMPORARY:
                  type: string
                  maxLength: 1
                  description: Temporary Object
                TITLE_STRING:
                  type: string
                  maxLength: 70
                TRANSPORT_NUMBER:
                  type: string
                  maxLength: 20
                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:
              - DEVELOPMENT_CLASS
              - MESSAGE_ID
              - R2_FLAG
              - TEMPORARY
              - TITLE_STRING
              - TRANSPORT_NUMBER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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.
