openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSC1_MAINTAIN_DELTA_TABLES:
    post:
      tags:
      - RSC1
      operationId: /rfc/RSC1_MAINTAIN_DELTA_TABLES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_FORCE:
                  type: string
                  default: X
                  maxLength: 1
                I_INITRNR:
                  type: string
                  maxLength: 30
                I_OLTPSOURCE:
                  type: string
                  maxLength: 30
                I_REQUNR:
                  type: string
                  maxLength: 30
                I_RLOGSYS:
                  type: string
                  maxLength: 10
                I_S_ROIDOCPRMS:
                  type: object
                  properties:
                    SLOGSYS:
                      type: string
                      maxLength: 10
                      description: Source system
                    MAXSIZE:
                      type: integer
                      format: int64
                      description: Maximum size of a data packet in kilo bytes
                    STATFRQU:
                      type: integer
                      format: int64
                      description: Frequency with which status Idocs are sent
                    MAXPROCS:
                      type: integer
                      format: int64
                      description: Maximum number of parallel processes for data transfer
                    BTCSYSTEM:
                      type: string
                      maxLength: 32
                      description: Target System to Run Background Job
                    MAXLINES:
                      type: integer
                      format: int64
                      description: Maximum Number of Lines in a DataPacket
                    MAXDPAKS:
                      type: string
                      maxLength: 4
                      description: Maximum Number of Data Packages in a Delta Request
                E_T_ROOSPRMS:
                  type: array
                  items:
                    type: object
                    properties:
                      OLTPSOURCE:
                        type: string
                        maxLength: 30
                        description: DataSource
                      RLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system of the receiver
                      SRLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system
                      UPDMODE:
                        type: string
                        maxLength: 2
                        description: 'Mode of data update (Full, Delta, etc.)  enumValues: D=Transfer of the Delta Since the Last Request,R=Repetition of the transfer of a data packet,C=Initialization of the delta transfer,I=Transfer of an opening balance for non-cumulative values,F=Transfer of all requested data,S=Simulation of Initialzation of Delta Transfer'
                        enum:
                        - D
                        - R
                        - C
                        - I
                        - F
                        - S
                      MAXSIZE:
                        type: integer
                        format: int64
                        description: Maximum size of a data packet in kilo bytes
                      STATFRQU:
                        type: integer
                        format: int64
                        description: Frequency with which status Idocs are sent
                      MAXPROCS:
                        type: integer
                        format: int64
                        description: Maximum number of parallel processes for data transfer
                      MAXDPAKS:
                        type: string
                        maxLength: 4
                        description: Maximum Number of Data Packages in a Delta Request
                E_T_ROOSPRMSC:
                  type: array
                  items:
                    type: object
                    properties:
                      OLTPSOURCE:
                        type: string
                        maxLength: 30
                        description: DataSource
                      RLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system of the receiver
                      SLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system
                      INITRNR:
                        type: string
                        maxLength: 30
                        description: Request number for the data transfer
                      DELTARNR:
                        type: string
                        maxLength: 30
                        description: Request number for the data transfer
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      DELTAINIT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Initialization Currently Running  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      GETPID:
                        type: string
                        maxLength: 16
                        description: Starting Point for Next Delta Request
                      GOTPID:
                        type: string
                        maxLength: 16
                        description: Largest Process Number of the Last Delta Request
                      QUEUEOK:
                        type: string
                        maxLength: 1
                        description: 'Flag: Last Delta in Queue Checked In  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INITCOMMIT:
                        type: string
                        maxLength: 1
                        description: 'ID: Extractor has been installed  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DELTAEXIST:
                        type: string
                        maxLength: 1
                        description: 'Indicator: The Extractor Can not be Initialized  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INITSTATE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      GETTID:
                        type: string
                        maxLength: 24
                        description: 'Delta Queue: Pointer to Maximum Booked Records in BW'
                      GOTTID:
                        type: string
                        maxLength: 24
                        description: 'Delta Queue: Pointer to Maxiumum Extracted Record'
                      GETVERS:
                        type: integer
                        format: int64
                        description: Version of an Extract Structure
                      GOTVERS:
                        type: integer
                        format: int64
                        description: Version of an Extract Structure
                E_T_ROOSPRMSF:
                  type: array
                  items:
                    type: object
                    properties:
                      OLTPSOURCE:
                        type: string
                        maxLength: 30
                        description: DataSource
                      SLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system
                      RLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system of the receiver
                      INITRNR:
                        type: string
                        maxLength: 30
                        description: Request number for the data transfer
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                      POSIT:
                        type: integer
                        format: int64
                        description: Position of the Field in the Structure / Table
                      RSSIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection criteria: SIGN'
                      RSOPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection criteria: OPTION'
                      RSLOW:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: From value'
                      RSHIGH:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: To value'
                E_T_RORQSTPRMS:
                  type: array
                  items:
                    type: object
                    properties:
                      REQUNR:
                        type: string
                        maxLength: 30
                        description: Request number for the data transfer
                      DATAPAKID:
                        type: integer
                        format: int64
                        description: Data packet number
                      INFOPAKID:
                        type: integer
                        format: int64
                        description: Data packet number
                      IDOCNR:
                        type: integer
                        format: int64
                        description: IDoc number
                      ERROR:
                        type: integer
                        format: int32
                        description: Return Value of ABAP Statements
                      DATUM:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      ZEIT:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      MILISECS:
                        type: integer
                        format: int32
                        description: Natural number
                      RCRDEXTR:
                        type: integer
                        format: int32
                        description: Number of Data Records Extracted
                      RCRDSENT:
                        type: integer
                        format: int32
                        description: Number of Sent Data Records
              required:
              - I_OLTPSOURCE
              - I_RLOGSYS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_S_ROIDOCPRMS:
                    type: object
                    properties:
                      SLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system
                      MAXSIZE:
                        type: integer
                        format: int64
                        description: Maximum size of a data packet in kilo bytes
                      STATFRQU:
                        type: integer
                        format: int64
                        description: Frequency with which status Idocs are sent
                      MAXPROCS:
                        type: integer
                        format: int64
                        description: Maximum number of parallel processes for data transfer
                      BTCSYSTEM:
                        type: string
                        maxLength: 32
                        description: Target System to Run Background Job
                      MAXLINES:
                        type: integer
                        format: int64
                        description: Maximum Number of Lines in a DataPacket
                      MAXDPAKS:
                        type: string
                        maxLength: 4
                        description: Maximum Number of Data Packages in a Delta Request
                  E_T_ROOSPRMS:
                    type: array
                    items:
                      type: object
                      properties:
                        OLTPSOURCE:
                          type: string
                          maxLength: 30
                          description: DataSource
                        RLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system of the receiver
                        SRLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system
                        UPDMODE:
                          type: string
                          maxLength: 2
                          description: 'Mode of data update (Full, Delta, etc.)  enumValues: D=Transfer of the Delta Since the Last Request,R=Repetition of the transfer of a data packet,C=Initialization of the delta transfer,I=Transfer of an opening balance for non-cumulative values,F=Transfer of all requested data,S=Simulation of Initialzation of Delta Transfer'
                          enum:
                          - D
                          - R
                          - C
                          - I
                          - F
                          - S
                        MAXSIZE:
                          type: integer
                          format: int64
                          description: Maximum size of a data packet in kilo bytes
                        STATFRQU:
                          type: integer
                          format: int64
                          description: Frequency with which status Idocs are sent
                        MAXPROCS:
                          type: integer
                          format: int64
                          description: Maximum number of parallel processes for data transfer
                        MAXDPAKS:
                          type: string
                          maxLength: 4
                          description: Maximum Number of Data Packages in a Delta Request
                  E_T_ROOSPRMSC:
                    type: array
                    items:
                      type: object
                      properties:
                        OLTPSOURCE:
                          type: string
                          maxLength: 30
                          description: DataSource
                        RLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system of the receiver
                        SLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system
                        INITRNR:
                          type: string
                          maxLength: 30
                          description: Request number for the data transfer
                        DELTARNR:
                          type: string
                          maxLength: 30
                          description: Request number for the data transfer
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        DELTAINIT:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Initialization Currently Running  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        GETPID:
                          type: string
                          maxLength: 16
                          description: Starting Point for Next Delta Request
                        GOTPID:
                          type: string
                          maxLength: 16
                          description: Largest Process Number of the Last Delta Request
                        QUEUEOK:
                          type: string
                          maxLength: 1
                          description: 'Flag: Last Delta in Queue Checked In  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INITCOMMIT:
                          type: string
                          maxLength: 1
                          description: 'ID: Extractor has been installed  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DELTAEXIST:
                          type: string
                          maxLength: 1
                          description: 'Indicator: The Extractor Can not be Initialized  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INITSTATE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        GETTID:
                          type: string
                          maxLength: 24
                          description: 'Delta Queue: Pointer to Maximum Booked Records in BW'
                        GOTTID:
                          type: string
                          maxLength: 24
                          description: 'Delta Queue: Pointer to Maxiumum Extracted Record'
                        GETVERS:
                          type: integer
                          format: int64
                          description: Version of an Extract Structure
                        GOTVERS:
                          type: integer
                          format: int64
                          description: Version of an Extract Structure
                  E_T_ROOSPRMSF:
                    type: array
                    items:
                      type: object
                      properties:
                        OLTPSOURCE:
                          type: string
                          maxLength: 30
                          description: DataSource
                        SLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system
                        RLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system of the receiver
                        INITRNR:
                          type: string
                          maxLength: 30
                          description: Request number for the data transfer
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        POSIT:
                          type: integer
                          format: int64
                          description: Position of the Field in the Structure / Table
                        RSSIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection criteria: SIGN'
                        RSOPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection criteria: OPTION'
                        RSLOW:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: From value'
                        RSHIGH:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: To value'
                  E_T_RORQSTPRMS:
                    type: array
                    items:
                      type: object
                      properties:
                        REQUNR:
                          type: string
                          maxLength: 30
                          description: Request number for the data transfer
                        DATAPAKID:
                          type: integer
                          format: int64
                          description: Data packet number
                        INFOPAKID:
                          type: integer
                          format: int64
                          description: Data packet number
                        IDOCNR:
                          type: integer
                          format: int64
                          description: IDoc number
                        ERROR:
                          type: integer
                          format: int32
                          description: Return Value of ABAP Statements
                        DATUM:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        ZEIT:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        MILISECS:
                          type: integer
                          format: int32
                          description: Natural number
                        RCRDEXTR:
                          type: integer
                          format: int32
                          description: Number of Data Records Extracted
                        RCRDSENT:
                          type: integer
                          format: int32
                          description: Number of Sent Data Records
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
