openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAR_ODS_UPDATE_DATA_PAR:
    post:
      tags:
      - RSAODS
      operationId: /rfc/RSAR_ODS_UPDATE_DATA_PAR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_PROGRAMNAME:
                  type: string
                  maxLength: 40
                  description: Programmname
                I_S_MINFO_HEAD:
                  type: object
                  properties:
                    REQUNR:
                      type: string
                      maxLength: 30
                      description: Request number for the data transfer
                    DATAPAKID:
                      type: integer
                      format: int64
                      description: Data packet number
                    ISOURCE:
                      type: string
                      maxLength: 30
                      description: InfoSource
                    TYPE:
                      type: string
                      maxLength: 1
                      description: 'Type of Requested Data - Also New DS Types  enumValues: T=Master data text (language dependent description),D=Transaction Data,M=Master Data Attributes,S=Segmented DS,H=Hierachies'
                      enum:
                      - T
                      - D
                      - M
                      - S
                      - H
                    ISTYPE:
                      type: string
                      maxLength: 1
                      description: InfoSource type
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Source system
                    OLTPSOURCE:
                      type: string
                      maxLength: 30
                      description: InfoSource
                    SOURCE_SYSTEM:
                      type: string
                      maxLength: 2
                      description: Prefix of logical system
                    HIENM:
                      type: string
                      maxLength: 30
                      description: Customer-defined Name of Hierarchy
                    HIEVERS:
                      type: string
                      maxLength: 3
                      description: Hierarchy version
                    HIEDATETO:
                      type: string
                      format: date
                      description: Valid-to date
                    HIECLASS:
                      type: string
                      maxLength: 4
                      description: Not More Closely Defined Area, Possibly Used for Patchlevels
                    REQDATE:
                      type: string
                      format: date
                      description: Date
                    REQTIME:
                      type: string
                      maxLength: 6
                      description: Time
                    REQUSER:
                      type: string
                      maxLength: 12
                      description: User Name
                    SELDATEFROM:
                      type: string
                      format: date
                      description: Date
                    SELDATETO:
                      type: string
                      format: date
                      description: Date
                    WRITETOIDOC:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    WRITETOODS:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    WRITETOCUBES:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    WRITEPARALLEL:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    SIMULATION:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    CANCELLATION:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    REBUILDING:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    DISPLAY:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    CHANGE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    UPDMODE:
                      type: string
                      maxLength: 2
                      description: 'Mode of data update (Full, Delta, etc.)  enumValues: D=Transfer of the deltas 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'
                      enum:
                      - D
                      - R
                      - C
                      - I
                      - F
                    SELECT_SIM:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    BOOKMODE:
                      type: integer
                      format: int64
                      description: Numeric 1-character
                    DEBUGMODE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    DEBUGMODE_TS:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    ASYNCMODE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    SIMREQUNR:
                      type: string
                      maxLength: 25
                      description: 'BW Generation tool: GUID in compressed form (CHAR25)'
                    CANCELLATIONREQUNR:
                      type: string
                      maxLength: 30
                      description: Request number for the data transfer
                    CHAVL_CHECK:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    CONTINUE_AT_ERR:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    REPORT_AT_ERR:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    NUMBER_AT_ERR:
                      type: integer
                      format: int32
                      description: No. of records to be checked when handling incorrect data
                    NOSISICO:
                      type: string
                      maxLength: 1
                      description: 'No single SID commit with master data update  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    UPDR_PROCESSED:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    DUPRECDEL:
                      type: string
                      maxLength: 1
                      description: 'Flag: Handling of duplicate data records  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    CRT_PACKAGE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    RUNTIME_CHECK:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    RUNTIME_VARIANT:
                      type: string
                      maxLength: 30
                      description: 'Runtime Analysis: Name of Variant for Restricting Measuremt'
                    DTP_OLD_TS:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    LOGDPID:
                      type: string
                      maxLength: 30
                      description: Logical InfoPackage variant (ID)
                C_T_IDOCSTATE:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCNUM:
                        type: integer
                        format: int64
                        description: IDoc number
                      STATUS:
                        type: string
                        maxLength: 2
                        description: Status of IDoc
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message identification
                      MSGNO:
                        type: string
                        maxLength: 3
                        description: System Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Parameter 1
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Parameter 2
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Parameter 3
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Parameter 4
                      SEGNUM:
                        type: integer
                        format: int64
                        description: Number of SAP segment
                      SEGFLD:
                        type: string
                        maxLength: 30
                        description: Field Name in SAP Segment
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User name
                      REPID:
                        type: string
                        maxLength: 30
                        description: Program Name
                      ROUTID:
                        type: string
                        maxLength: 30
                        description: Name of subroutine (routine, function module)
                      TID:
                        type: string
                        maxLength: 24
                        description: Transaction ID
                      APPL_LOG:
                        type: string
                        maxLength: 20
                        description: Application Log
                E3_T_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      DATA:
                        type: string
                        maxLength: 250
                        description: Generic structure for transferring data
                I_T_MINFO_CUBES:
                  type: array
                  items:
                    type: object
                    properties:
                      INFOCUBE:
                        type: string
                        maxLength: 30
                        description: InfoCube
              required:
              - I_S_MINFO_HEAD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  C_T_IDOCSTATE:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCNUM:
                          type: integer
                          format: int64
                          description: IDoc number
                        STATUS:
                          type: string
                          maxLength: 2
                          description: Status of IDoc
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message identification
                        MSGNO:
                          type: string
                          maxLength: 3
                          description: System Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Parameter 1
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Parameter 2
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Parameter 3
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Parameter 4
                        SEGNUM:
                          type: integer
                          format: int64
                          description: Number of SAP segment
                        SEGFLD:
                          type: string
                          maxLength: 30
                          description: Field Name in SAP Segment
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User name
                        REPID:
                          type: string
                          maxLength: 30
                          description: Program Name
                        ROUTID:
                          type: string
                          maxLength: 30
                          description: Name of subroutine (routine, function module)
                        TID:
                          type: string
                          maxLength: 24
                          description: Transaction ID
                        APPL_LOG:
                          type: string
                          maxLength: 20
                          description: Application Log
                  E3_T_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        DATA:
                          type: string
                          maxLength: 250
                          description: Generic structure for transferring data
                  I_T_MINFO_CUBES:
                    type: array
                    items:
                      type: object
                      properties:
                        INFOCUBE:
                          type: string
                          maxLength: 30
                          description: InfoCube
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
