openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MPGJGATE:
    post:
      tags:
      - MAPPING_SERVICE
      operationId: /rfc/MPGJGATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIRECTION:
                  type: string
                  description: 'Proxy Generation: Message Direction (send/receive/fault)'
                FAULT_MESSAGE_RECEIVER:
                  type: object
                  properties:
                    OBJTYPE:
                      type: string
                      maxLength: 20
                      description: Object Type in the Integration Builder
                    NAMESPACE:
                      type: string
                      maxLength: 255
                      description: 'Proxy Generation: Namespace in the Integration Builder'
                    NAME:
                      type: string
                      maxLength: 120
                      description: 'Proxy Generation: Interface ID'
                RECEIVER_INSTANCE:
                  type: string
                  description: Receiving System
                RECEIVER_INTERFACE:
                  type: object
                  properties:
                    OBJTYPE:
                      type: string
                      maxLength: 20
                      description: Object Type in the Integration Builder
                    NAMESPACE:
                      type: string
                      maxLength: 255
                      description: 'Proxy Generation: Namespace in the Integration Builder'
                    NAME:
                      type: string
                      maxLength: 120
                      description: 'Proxy Generation: Interface ID'
                SENDER_INSTANCE:
                  type: string
                  description: Sending System
                SENDER_INTERFACE:
                  type: object
                  properties:
                    OBJTYPE:
                      type: string
                      maxLength: 20
                      description: Object Type in the Integration Builder
                    NAMESPACE:
                      type: string
                      maxLength: 255
                      description: 'Proxy Generation: Namespace in the Integration Builder'
                    NAME:
                      type: string
                      maxLength: 120
                      description: 'Proxy Generation: Interface ID'
                SOURCE:
                  type: string
                  description: XML Source Document
              required:
              - DIRECTION
              - FAULT_MESSAGE_RECEIVER
              - RECEIVER_INSTANCE
              - RECEIVER_INTERFACE
              - SENDER_INSTANCE
              - SENDER_INTERFACE
              - SOURCE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FAULT_MESSAGE_SENDER:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 20
                        description: Object Type in the Integration Builder
                      NAMESPACE:
                        type: string
                        maxLength: 255
                        description: 'Proxy Generation: Namespace in the Integration Builder'
                      NAME:
                        type: string
                        maxLength: 120
                        description: 'Proxy Generation: Interface ID'
                  RETURN_CODE:
                    type: string
                    description: Return code
                  TARGET:
                    type: string
                    description: XML Target Document
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
