openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMB_READ_HIST:
    post:
      tags:
      - SXMBPERSIST
      operationId: /rfc/SXMB_READ_HIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_ALL_MANDT:
                  type: string
                  default: '1'
                  maxLength: 1
                IM_MANDT:
                  type: string
                  maxLength: 3
                MAX_BLOCK_SIZE:
                  type: integer
                  format: int32
                  default: 1000
                TS_READ_START:
                  type: integer
                  format: int64
                  default: 0
                T_SXMSPHIST:
                  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'
                      EXESTRTTST:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
              required:
              - IM_ALL_MANDT
              - MAX_BLOCK_SIZE
              - TS_READ_START
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TS_READ_END:
                    type: integer
                    format: int64
                  T_SXMSPHIST:
                    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'
                        EXESTRTTST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
