openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAD_INFOCUBE_READ_REMOTE_DATA:
    post:
      tags:
      - RSAD_REMOTE
      operationId: /rfc/RSAD_INFOCUBE_READ_REMOTE_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DELTA_REQUNR:
                  type: string
                  maxLength: 30
                I_INITFLAG:
                  type: string
                  default: X
                  maxLength: 1
                I_OLTPSOURCE:
                  type: string
                  maxLength: 30
                I_PACKAGE_SIZE:
                  type: integer
                  format: int32
                  default: 0
                I_RLOGSYS:
                  type: string
                  maxLength: 10
                I_S_TIMESTAMP:
                  type: object
                  properties:
                    TSTPNM:
                      type: string
                      maxLength: 12
                      description: Last changed by
                    TSTPDAT:
                      type: string
                      format: date
                      description: Changed On
                    TSTPTIM:
                      type: string
                      maxLength: 6
                      description: Changed at
                I_TARGET_RELEASE:
                  type: integer
                  format: int32
                I_UPDMODE:
                  type: string
                  maxLength: 2
                E_T_CONTAINER:
                  type: array
                  items:
                    type: object
                    properties:
                      CLUSTR:
                        type: integer
                        format: int32
                        description: Length field for user data in EXPORT/IMPORT tables
                      CLUSTD:
                        type: string
                        format: byte
                        description: Data field for IMPORT/EXPORT database tables
                E_T_INDX:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      RELID:
                        type: string
                        maxLength: 2
                        description: Region in IMPORT/EXPORT Data Table
                      SRTFD:
                        type: string
                        maxLength: 22
                        description: User-defined key in table INDX
                      SRTF2:
                        type: integer
                        format: int32
                        description: Next record counter in EXPORT/IMPORT data tables
                      LOEKZ:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPERR:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      AEDAT:
                        type: string
                        format: date
                        description: (8-character) Date for SYST
                      USERA:
                        type: string
                        maxLength: 12
                        description: User name
                      PGMID:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      BEGDT:
                        type: string
                        format: date
                        description: (8-character) Date for SYST
                      ENDDT:
                        type: string
                        format: date
                        description: (8-character) Date for SYST
                      CLUSTR:
                        type: integer
                        format: int32
                        description: Length field for user data in EXPORT/IMPORT tables
                      CLUSTD:
                        type: string
                        format: byte
                        description: Data field for IMPORT/EXPORT database tables
                E_T_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                I_T_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                I_T_SEGFD:
                  type: array
                  items:
                    type: object
                    properties:
                      SEGID:
                        type: integer
                        format: int64
                        description: Segment ID (NUMC4, corresponding to RSDS_SEGID in BW)
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                I_T_SELECTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection criteria: SIGN'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection criteria: OPTION'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: From value'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: To value'
              required:
              - I_OLTPSOURCE
              - I_RLOGSYS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_EXPORT_RELEASE:
                    type: integer
                    format: int32
                  E_LINES:
                    type: integer
                    format: int32
                  E_MORE_DATA:
                    type: string
                    maxLength: 1
                  E_S_RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                  E_T_CONTAINER:
                    type: array
                    items:
                      type: object
                      properties:
                        CLUSTR:
                          type: integer
                          format: int32
                          description: Length field for user data in EXPORT/IMPORT tables
                        CLUSTD:
                          type: string
                          format: byte
                          description: Data field for IMPORT/EXPORT database tables
                  E_T_INDX:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        RELID:
                          type: string
                          maxLength: 2
                          description: Region in IMPORT/EXPORT Data Table
                        SRTFD:
                          type: string
                          maxLength: 22
                          description: User-defined key in table INDX
                        SRTF2:
                          type: integer
                          format: int32
                          description: Next record counter in EXPORT/IMPORT data tables
                        LOEKZ:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        SPERR:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        AEDAT:
                          type: string
                          format: date
                          description: (8-character) Date for SYST
                        USERA:
                          type: string
                          maxLength: 12
                          description: User name
                        PGMID:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        BEGDT:
                          type: string
                          format: date
                          description: (8-character) Date for SYST
                        ENDDT:
                          type: string
                          format: date
                          description: (8-character) Date for SYST
                        CLUSTR:
                          type: integer
                          format: int32
                          description: Length field for user data in EXPORT/IMPORT tables
                        CLUSTD:
                          type: string
                          format: byte
                          description: Data field for IMPORT/EXPORT database tables
                  E_T_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  I_T_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                  I_T_SEGFD:
                    type: array
                    items:
                      type: object
                      properties:
                        SEGID:
                          type: integer
                          format: int64
                          description: Segment ID (NUMC4, corresponding to RSDS_SEGID in BW)
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                  I_T_SELECTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection criteria: SIGN'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection criteria: OPTION'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: From value'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: To value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
