openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMS_ALERT_ERROR_RECEIVE:
    post:
      tags:
      - SXMSALERT
      operationId: /rfc/SXMS_ALERT_ERROR_RECEIVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADAPTERTYPE:
                  type: string
                AREA:
                  type: string
                  maxLength: 20
                CODE:
                  type: string
                ERRORTEXT:
                  type: string
                HOST:
                  type: string
                  maxLength: 32
                ID:
                  type: string
                  maxLength: 30
                MANDT:
                  type: string
                  maxLength: 3
                MDTURL:
                  type: string
                MDTURLSECURE:
                  type: string
                MSGGUID:
                  type: string
                  maxLength: 32
                ROLE:
                  type: string
                  maxLength: 2
                SENDER:
                  type: object
                  properties:
                    PARTYAGENCY:
                      type: string
                      maxLength: 120
                      description: 'XI Partner: Agency'
                    PARTYTYPE:
                      type: string
                      maxLength: 120
                      description: 'XI Partner: Identification Schema'
                    PARTY:
                      type: string
                      maxLength: 60
                      description: 'XI: Communication Party'
                    SERVICE:
                      type: string
                      maxLength: 60
                      description: 'XI: Service'
                    NAME:
                      type: string
                      maxLength: 120
                      description: 'XI: Interface Name'
                    NAMESPACE:
                      type: string
                      maxLength: 255
                      description: 'XI: Interface Namespace'
                SYSID:
                  type: string
                  maxLength: 8
                ERRORPARAM:
                  type: array
                  items:
                    type: object
                    properties:
                      ERRPARAM:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
                      ERRVALUE:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
                RECEIVERS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARTYAGENCY:
                        type: string
                        maxLength: 120
                        description: 'XI Partner: Agency'
                      PARTYTYPE:
                        type: string
                        maxLength: 120
                        description: 'XI Partner: Identification Schema'
                      PARTY:
                        type: string
                        maxLength: 60
                        description: 'XI: Communication Party'
                      SERVICE:
                        type: string
                        maxLength: 60
                        description: 'XI: Service'
                      NAME:
                        type: string
                        maxLength: 120
                        description: 'XI: Interface Name'
                      NAMESPACE:
                        type: string
                        maxLength: 255
                        description: 'XI: Interface Namespace'
              required:
              - HOST
              - MANDT
              - ROLE
              - SYSID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERRORPARAM:
                    type: array
                    items:
                      type: object
                      properties:
                        ERRPARAM:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
                        ERRVALUE:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
                  RECEIVERS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARTYAGENCY:
                          type: string
                          maxLength: 120
                          description: 'XI Partner: Agency'
                        PARTYTYPE:
                          type: string
                          maxLength: 120
                          description: 'XI Partner: Identification Schema'
                        PARTY:
                          type: string
                          maxLength: 60
                          description: 'XI: Communication Party'
                        SERVICE:
                          type: string
                          maxLength: 60
                          description: 'XI: Service'
                        NAME:
                          type: string
                          maxLength: 120
                          description: 'XI: Interface Name'
                        NAMESPACE:
                          type: string
                          maxLength: 255
                          description: 'XI: Interface Namespace'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
