openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMB_GET_MESSAGE_LIST:
    post:
      tags:
      - SXMB_MONI
      operationId: /rfc/SXMB_GET_MESSAGE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_FILTER:
                  type: object
                  properties:
                    ONLY_FAULTY_MESSAGES:
                      type: string
                      maxLength: 1
                      description: 'XMS: Flag (true/false)'
                    FROM_TIME:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                    TO_TIME:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                    STATUS:
                      type: integer
                      format: int64
                      description: 'Integration Engine: Message Status'
                    OB_PARTY:
                      type: string
                      maxLength: 60
                      description: 'XI: Communication Party'
                    OB_PARTY_TYPE:
                      type: string
                      maxLength: 120
                      description: 'XI Partner: Identification Schema'
                    OB_PARTY_AGENCY:
                      type: string
                      maxLength: 120
                      description: 'XI Partner: Agency'
                    OB_SYSTEM:
                      type: string
                      maxLength: 60
                      description: Sending System
                    OB_NS:
                      type: string
                      maxLength: 255
                      description: Outbound Interface Namespace
                    OB_NAME:
                      type: string
                      maxLength: 120
                      description: Outbound Interface Name
                    IB_PARTY:
                      type: string
                      maxLength: 60
                      description: 'XI: Communication Party'
                    IB_PARTY_TYPE:
                      type: string
                      maxLength: 120
                      description: 'XI Partner: Identification Schema'
                    IB_PARTY_AGENCY:
                      type: string
                      maxLength: 120
                      description: 'XI Partner: Agency'
                    IB_SYSTEM:
                      type: string
                      maxLength: 60
                      description: Receiving System
                    IB_NS:
                      type: string
                      maxLength: 255
                      description: Inbound Interface Namespace
                    IB_NAME:
                      type: string
                      maxLength: 120
                      description: Inbound Interface Name
                    INBOUND_CHANNEL:
                      type: string
                      maxLength: 10
                      description: Pipeline Service Type
                    OUTBOUND_CHANNEL:
                      type: string
                      maxLength: 10
                      description: Pipeline Service Type
                    QUALITY_OF_SERVICE:
                      type: string
                      maxLength: 4
                      description: 'Integration Engine: Quality of Service'
                    QUEUE_NAME:
                      type: string
                      maxLength: 24
                      description: Name of tRFC Queue
                    SUBCOMPONENT:
                      type: string
                      maxLength: 40
                      description: 'Integration Engine: Pipeline ID'
                    ERRCAT:
                      type: string
                      maxLength: 20
                      description: 'XI: Error Category'
                    ERRCODE:
                      type: string
                      maxLength: 30
                      description: 'XI: Error ID'
                    MSGTYPE:
                      type: string
                      maxLength: 1
                      description: 'Integration Engine: Message Type'
                    STATUS_TYPE:
                      type: integer
                      format: int64
                      description: 'XI: Type of a Status'
                    REFERENCE_IDS:
                      type: array
                      items:
                        type: string
                        maxLength: 32
                        description: GUID in 'CHAR' Format in Uppercase
                    MESSAGE_IDS:
                      type: array
                      items:
                        type: string
                        maxLength: 32
                        description: GUID in 'CHAR' Format in Uppercase
                IM_MESSAGE_COUNT:
                  type: integer
                  format: int32
                  description: 'XI: Message Filter'
              required:
              - IM_FILTER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_FIRST_TS:
                    type: integer
                    format: int64
                    description: Data from XI Messages
                  EX_MESSAGE_DATA_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGGUID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        PID:
                          type: string
                          maxLength: 40
                          description: 'Integration Engine: Pipeline ID'
                        MSGSTATE:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Message Status'
                        QOSMODE:
                          type: string
                          maxLength: 4
                          description: 'Integration Engine: Quality of Service'
                        INITTIMEST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        EXETIMEST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        ADAPT_TYP:
                          type: string
                          maxLength: 10
                          description: Pipeline Service Type
                        ADAPT_TP_I:
                          type: string
                          maxLength: 10
                          description: Pipeline Service Type
                        PARENTMSG:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        QUEUEINT:
                          type: string
                          maxLength: 24
                          description: Name of tRFC Queue
                        ACK_STATE:
                          type: integer
                          format: int64
                          description: 'XI: Acknowledgment Status'
                        OB_PARTY:
                          type: string
                          maxLength: 60
                          description: 'XI: Communication Party'
                        OB_PARTY_TYPE:
                          type: string
                          maxLength: 120
                          description: 'XI Partner: Identification Schema'
                        OB_PARTY_AGENCY:
                          type: string
                          maxLength: 120
                          description: 'XI Partner: Agency'
                        OB_SYSTEM:
                          type: string
                          maxLength: 60
                          description: Sending System
                        OB_NS:
                          type: string
                          maxLength: 255
                          description: Outbound Interface Namespace
                        OB_NAME:
                          type: string
                          maxLength: 120
                          description: Outbound Interface Name
                        IB_PARTY:
                          type: string
                          maxLength: 60
                          description: 'XI: Communication Party'
                        IB_PARTY_TYPE:
                          type: string
                          maxLength: 120
                          description: 'XI Partner: Identification Schema'
                        IB_PARTY_AGENCY:
                          type: string
                          maxLength: 120
                          description: 'XI Partner: Agency'
                        IB_SYSTEM:
                          type: string
                          maxLength: 60
                          description: Receiving System
                        IB_NS:
                          type: string
                          maxLength: 255
                          description: Inbound Interface Namespace
                        IB_NAME:
                          type: string
                          maxLength: 120
                          description: Inbound Interface Name
                        ERRCAT:
                          type: string
                          maxLength: 20
                          description: 'XI: Error Category'
                        ERRCODE:
                          type: string
                          maxLength: 30
                          description: 'XI: Error ID'
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: 'Integration Engine: Message Type'
                        SENDTIMEST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        QUEUEGUID:
                          type: string
                          maxLength: 32
                          description: ID for Message Queue
                        ADAPT_STAT:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Adapter Status'
                        CHILDCOUNT:
                          type: integer
                          format: int64
                          description: Numc3, internal use
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        ADMINUSER:
                          type: string
                          maxLength: 12
                          description: User Name
                        GEN_ENTRY:
                          type: string
                          maxLength: 1
                          description: 'XMS: Flag (true/false)'
                        RETRYCOUNT:
                          type: integer
                          format: int64
                          description: Numc3, internal use
                        REST_VERS:
                          type: integer
                          format: int64
                          description: Sequence Number for a Message Log ID
                        REF_TO_MSG:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        REF_TO_REC_MSG:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        REORG:
                          type: string
                          maxLength: 3
                          description: Reorganization Status
                        JOB_ID:
                          type: string
                          maxLength: 32
                          description: Job ID
                        STATUS:
                          type: string
                          maxLength: 1
                          description: Job Processing Status
                        QUEUESTATE:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Queue Status'
                        STATUS_TYPE:
                          type: integer
                          format: int64
                          description: 'XI: Type of a Status'
                  EX_RESULT:
                    type: object
                    properties:
                      MSGKEY:
                        type: object
                        properties:
                          MSGID:
                            type: string
                            maxLength: 32
                            description: GUID in 'CHAR' Format in Uppercase
                          PID:
                            type: string
                            maxLength: 40
                            description: 'Integration Engine: Pipeline ID'
                      WAS_SUCCESSFUL:
                        type: string
                        maxLength: 1
                        description: 'XMS: Flag (true/false)'
                      CODE:
                        type: string
                        maxLength: 30
                        description: 'XI: Error ID'
                      TEXT:
                        type: string
                        description: Admin Action Result Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
