openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMB_GET_MESSAGES:
    post:
      tags:
      - SXMB_MSG_TRANSFER
      operationId: /rfc/SXMB_GET_MESSAGES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MSG_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGGUID:
                        type: string
                        format: byte
                        description: 'XI: Message ID'
                      PID:
                        type: string
                        maxLength: 40
                        description: 'Integration Engine: Pipeline ID'
                      ADD_ATTRIBUTE:
                        type: string
                        maxLength: 120
                        description: char120
              required:
              - MSG_LIST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_ERR_MSG_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGGUID:
                          type: string
                          format: byte
                          description: 'XI: Message ID'
                        PID:
                          type: string
                          maxLength: 40
                          description: 'Integration Engine: Pipeline ID'
                        MSG_TRANS_STATE:
                          type: integer
                          format: int64
                          description: Status for Message Transfer
                  EX_MSG_CONTENT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        MSGGUID:
                          type: string
                          format: byte
                          description: 'XI: Message ID'
                        PID:
                          type: string
                          maxLength: 40
                          description: 'Integration Engine: Pipeline ID'
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: 'Integration Engine: Message Type'
                        MSGSTATE:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Message Status'
                        QOSMODE:
                          type: string
                          maxLength: 4
                          description: 'Integration Engine: Quality of Service'
                        EXETIMEST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        INITTIMEST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        SENDTIMEST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        SNDRGUID:
                          type: string
                          format: byte
                          description: Sender ID
                        QUEUEGUID:
                          type: string
                          maxLength: 32
                          description: ID for Message Queue
                        EO_REFID:
                          type: string
                          maxLength: 8
                          description: 'Integration Engine: Reference Type'
                        EO_REFVAL:
                          type: string
                          maxLength: 32
                          description: 'Integration Engine: Reference Value'
                        ADAPT_TYP:
                          type: string
                          maxLength: 10
                          description: Pipeline Service Type
                        ADAPT_STAT:
                          type: integer
                          format: int64
                          description: 'Integration Engine: Adapter Status'
                        PARENTMSG:
                          type: string
                          format: byte
                          description: 'XI: Message ID'
                        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)'
                        MANUALSTAT:
                          type: string
                          maxLength: 1
                          description: 'XMS: Flag (true/false)'
                        RETRYCOUNT:
                          type: integer
                          format: int64
                          description: Numc3, internal use
                        ITFACTION:
                          type: string
                          maxLength: 4
                          description: 'Integration Engine: Action for Interface'
                        COMMITACT:
                          type: string
                          maxLength: 1
                          description: 'XMS: Flag (true/false)'
                        EO_REFID_I:
                          type: string
                          maxLength: 8
                          description: 'Integration Engine: Reference Type'
                        EO_REFVL_I:
                          type: string
                          maxLength: 32
                          description: 'Integration Engine: Reference Value'
                        ADAPT_TP_I:
                          type: string
                          maxLength: 10
                          description: Pipeline Service Type
                        REST_VERS:
                          type: integer
                          format: int64
                          description: Sequence Number for a Message Log ID
                        EO_REFID_O:
                          type: string
                          maxLength: 8
                          description: 'Integration Engine: Reference Type'
                        EO_REFVL_O:
                          type: string
                          maxLength: 32
                          description: 'Integration Engine: Reference Value'
                        QUEUEINT:
                          type: string
                          maxLength: 24
                          description: Name of tRFC Queue
                        REF_TO_MSG:
                          type: string
                          format: byte
                          description: 'XI: Message ID'
                        REF_TO_REC_MSG:
                          type: string
                          format: byte
                          description: 'XI: Message ID'
                        ACK_STATE:
                          type: integer
                          format: int64
                          description: 'XI: Acknowledgment Status'
                        REORG:
                          type: string
                          maxLength: 3
                          description: Reorganization Status
                        RND_NUMBER:
                          type: integer
                          format: int64
                          description: Random Number for Integration Engine Messages
                        VERS:
                          type: integer
                          format: int64
                          description: Sequence Number for a Message Log ID
                        SECURITY:
                          type: integer
                          format: int64
                          description: Security Flag
                        RETRYCOUNT_MAN:
                          type: integer
                          format: int32
                          description: Manual Retry Counter
                        USERINFOSTORAGE:
                          type: string
                          format: byte
                          description: Unique Identifier for Saving USERINFO Metadata
                        USERINFODATA:
                          type: string
                          format: byte
                          description: KEy for Engine Look Up Table
                        MSG_SIZE:
                          type: integer
                          format: int64
                          description: Message Size
                        BULK_ERROR:
                          type: string
                          maxLength: 1
                          description: Errors in Bulk
                        MSG_VERS_T:
                          type: array
                          items:
                            type: object
                            properties:
                              MANDT:
                                type: string
                                maxLength: 3
                                description: Client ID of Current User
                              MSGGUID:
                                type: string
                                format: byte
                                description: 'XI: Message ID'
                              PID:
                                type: string
                                maxLength: 40
                                description: 'Integration Engine: Pipeline ID'
                              VERS:
                                type: integer
                                format: int64
                                description: Sequence Number for a Message Log ID
                              PAYLCOUNT:
                                type: integer
                                format: int64
                                description: 'Integration Engine: Payload Counter'
                              VERS_LINK:
                                type: integer
                                format: int64
                                description: Sequence Number for a Message Log ID
                              PAYLCOUNT_LINK:
                                type: integer
                                format: int64
                                description: 'Integration Engine: Payload Counter'
                              PELGUID:
                                type: string
                                maxLength: 32
                                description: GUID of a Pipeline Element
                              MSGSTATE:
                                type: integer
                                format: int64
                                description: 'Integration Engine: Message Status'
                              TIMESTAMP:
                                type: integer
                                format: int64
                                description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                              LOG_ENTRY:
                                type: string
                                maxLength: 1
                                description: 'XMS: Flag (true/false)'
                              RESPONSE:
                                type: string
                                maxLength: 1
                                description: 'XMS: Flag (true/false)'
                              CLIENT:
                                type: string
                                maxLength: 3
                                description: Client ID of Current User
                              REST_VERS:
                                type: integer
                                format: int64
                                description: Sequence Number for a Message Log ID
                              MAJOR:
                                type: integer
                                format: int64
                                description: Protocol Version for Incompatible Changes
                              MINOR:
                                type: integer
                                format: int64
                                description: Protocol Version for Compatible Changes
                              MSG_SIZE:
                                type: integer
                                format: int64
                                description: Message Size
                              TPROP:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    MSGGUID:
                                      type: string
                                      format: byte
                                      description: 'XI: Message ID'
                                    PID:
                                      type: string
                                      maxLength: 40
                                      description: 'Integration Engine: Pipeline ID'
                                    LINECOUNT:
                                      type: integer
                                      format: int64
                                      description: Sequence Number
                                    NSURI:
                                      type: string
                                      description: 'Integration Engine: XML String'
                                    LCNAME:
                                      type: string
                                      description: 'Integration Engine: XML String'
                                    CONTENT:
                                      type: string
                                      description: 'Integration Engine: XML String'
                              TXRES:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    MSGGUID:
                                      type: string
                                      format: byte
                                      description: 'XI: Message ID'
                                    PID:
                                      type: string
                                      maxLength: 40
                                      description: 'Integration Engine: Pipeline ID'
                                    LINECOUNT:
                                      type: integer
                                      format: int64
                                      description: Sequence Number
                                    RESNAME:
                                      type: string
                                      description: 'Integration Engine: XML String'
                                    RESCONTENT:
                                      type: string
                                      format: byte
                                      description: 'Integration Engine: XML String (binary)'
                                    RESATTRIB:
                                      type: string
                                      description: 'Integration Engine: XML String'
                              TNS:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    MSGGUID:
                                      type: string
                                      format: byte
                                      description: 'XI: Message ID'
                                    PID:
                                      type: string
                                      maxLength: 40
                                      description: 'Integration Engine: Pipeline ID'
                                    LINECOUNT:
                                      type: integer
                                      format: int64
                                      description: Sequence Number
                                    PREFIX:
                                      type: string
                                      description: 'Integration Engine: XML String'
                                    URI:
                                      type: string
                                      description: 'Integration Engine: XML String'
                              TRES:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    MSGGUID:
                                      type: string
                                      format: byte
                                      description: 'XI: Message ID'
                                    PID:
                                      type: string
                                      maxLength: 40
                                      description: 'Integration Engine: Pipeline ID'
                                    LINECOUNT:
                                      type: integer
                                      format: int64
                                      description: Sequence Number
                                    RESNAME:
                                      type: string
                                      description: 'Integration Engine: XML String'
                                    RESCONTENT:
                                      type: string
                                      description: 'Integration Engine: XML String'
                                    RESATTRIB:
                                      type: string
                                      description: 'Integration Engine: XML String'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
