openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSDK_DATA_REMOTE_GET:
    post:
      tags:
      - RSSDK_REMOTE
      operationId: /rfc/RSSDK_DATA_REMOTE_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CACHE_KEY:
                  type: integer
                  format: int32
                I_DATASOURCE:
                  type: string
                  maxLength: 30
                I_MODE:
                  type: integer
                  format: int32
                  default: 1
                  description: Parallel sending of the data packets (flag)
                I_PACKSIZE:
                  type: integer
                  format: int32
                  description: Number of Data Records per Package
                I_QSYSTEMNAME:
                  type: string
                  maxLength: 30
                I_RETURN_CSV:
                  type: string
                  maxLength: 1
                I_RFCDEST:
                  type: string
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                I_S_HEADER:
                  type: object
                  properties:
                    REQUNR:
                      type: string
                      maxLength: 30
                      description: Request number for the data transfer
                    REQOBJTYPE:
                      type: string
                      maxLength: 1
                      description: 'Type of requested data  enumValues: T=Master data text (language dependent description),D=Transaction data,M=Master data attributes,H=Hierachies'
                      enum:
                      - T
                      - D
                      - M
                      - H
                    IOBJECT:
                      type: string
                      maxLength: 30
                      description: Object of the data import (InfoSource / InfoObject)
                    REQDATE:
                      type: string
                      format: date
                      description: Date on which the data was requested (UTC)
                    REQTIME:
                      type: string
                      maxLength: 6
                      description: Time at which the data was requested (UTC)
                    REQUSER:
                      type: string
                      maxLength: 12
                      description: User Name
                    DATAPAKID:
                      type: integer
                      format: int64
                      description: Data packet number
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Source system
                    SELDATE:
                      type: string
                      format: date
                      description: Date upon which the data was selected (UTC)
                    SELTIME:
                      type: string
                      maxLength: 6
                      description: Time at which the data was selected (UTC)
                E_T_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      RETLINR:
                        type: string
                        maxLength: 2000
                        description: ''
                E_T_MSG:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                E_T_TRACE:
                  type: array
                  items:
                    type: object
                    properties:
                      TRACETXT:
                        type: string
                        maxLength: 256
                        description: Data Element Keeping the Trace Information from UDC
                I_T_ETDATA_DESC:
                  type: array
                  items:
                    type: object
                    properties:
                      POSITION:
                        type: integer
                        format: int64
                        description: ''
                      BWISIOBJ:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      UDCFIELDNM:
                        type: string
                        maxLength: 90
                        description: Data Type That Maps the Name of a UDC DataSource Element
                      DATATP:
                        type: string
                        maxLength: 4
                        description: Data Type in ABAP Dictionary
                      LENGTH:
                        type: integer
                        format: int64
                        description: Internal Length of InfoObjects in BW - see Docu
                      DECIMALS:
                        type: integer
                        format: int64
                        description: ''
                I_T_FIELDLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      DATASOURCENAME:
                        type: string
                        maxLength: 30
                        description: Data Type That Maps the Name of BI SDK DataSources
                      FIELDNM:
                        type: string
                        maxLength: 90
                        description: Data Type That Maps the Name of a BI SDK Data Source Element
                      AGGRTYPE:
                        type: string
                        maxLength: 6
                        description: Type Contains AGGR Type Information
                I_T_SELECT:
                  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_DATASOURCE
              - I_PACKSIZE
              - I_QSYSTEMNAME
              - I_RFCDEST
              - I_S_HEADER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_CACHE_KEY:
                    type: integer
                    format: int32
                  E_IS_LAST_PACKAGE:
                    type: string
                    maxLength: 1
                  E_T_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        RETLINR:
                          type: string
                          maxLength: 2000
                          description: ''
                  E_T_MSG:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  E_T_TRACE:
                    type: array
                    items:
                      type: object
                      properties:
                        TRACETXT:
                          type: string
                          maxLength: 256
                          description: Data Element Keeping the Trace Information from UDC
                  I_T_ETDATA_DESC:
                    type: array
                    items:
                      type: object
                      properties:
                        POSITION:
                          type: integer
                          format: int64
                          description: ''
                        BWISIOBJ:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        UDCFIELDNM:
                          type: string
                          maxLength: 90
                          description: Data Type That Maps the Name of a UDC DataSource Element
                        DATATP:
                          type: string
                          maxLength: 4
                          description: Data Type in ABAP Dictionary
                        LENGTH:
                          type: integer
                          format: int64
                          description: Internal Length of InfoObjects in BW - see Docu
                        DECIMALS:
                          type: integer
                          format: int64
                          description: ''
                  I_T_FIELDLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        DATASOURCENAME:
                          type: string
                          maxLength: 30
                          description: Data Type That Maps the Name of BI SDK DataSources
                        FIELDNM:
                          type: string
                          maxLength: 90
                          description: Data Type That Maps the Name of a BI SDK Data Source Element
                        AGGRTYPE:
                          type: string
                          maxLength: 6
                          description: Type Contains AGGR Type Information
                  I_T_SELECT:
                    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.
