openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_BEX_REPORT_SAVE_RFC:
    post:
      tags:
      - RS_BEX_REPORT_RFC
      operationId: /rfc/RS_BEX_REPORT_SAVE_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_REPORT_DESIGN_XML:
                  type: string
                I_REPORT_HEADER:
                  type: object
                  properties:
                    REPORT_ID:
                      type: string
                      maxLength: 30
                      description: 'Report Designer: Report ID for Loading and Saving'
                    OBJVERS:
                      type: string
                      maxLength: 1
                      description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                      enum:
                      - N
                      - A
                      - M
                      - D
                      - H
                      - T
                    TSTPNM:
                      type: string
                      maxLength: 12
                      description: Last changed by
                    TIMESTMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                    OBJSTAT:
                      type: string
                      maxLength: 3
                      description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                      enum:
                      - 'OFF'
                      - INA
                      - ACT
                      - PRO
                    CONTREL:
                      type: string
                      maxLength: 6
                      description: Content release
                    CONTTIMESTMP:
                      type: integer
                      format: int64
                      description: 'Content time stamp: Last modification to the object by SAP'
                    OWNER:
                      type: string
                      maxLength: 12
                      description: Owner (Person Responsible)
                    BWAPPL:
                      type: string
                      maxLength: 10
                      description: BW Application (Namespace)
                I_REPORT_RUNTIME_XML:
                  type: string
                I_REPORT_VERSION:
                  type: string
                  maxLength: 3
                I_S_PARAMS:
                  type: object
                  properties:
                    IS_NEW:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    CHECK_REPORT:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ENQUEUE_MODE:
                      type: string
                      maxLength: 1
                      description: 'Lock mode  enumValues: E=Write Lock,X=Exclusive, not cumulative,S=Read Lock'
                      enum:
                      - E
                      - X
                      - S
                    DEQUEUE_MODE:
                      type: string
                      maxLength: 1
                      description: 'Lock mode  enumValues: E=Write Lock,X=Exclusive, not cumulative,S=Read Lock'
                      enum:
                      - E
                      - X
                      - S
                I_TEXT:
                  type: object
                  properties:
                    REPORT_ID:
                      type: string
                      maxLength: 30
                      description: 'Report Designer: Report ID for Loading and Saving'
                    OBJVERS:
                      type: string
                      maxLength: 1
                      description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                      enum:
                      - N
                      - A
                      - M
                      - D
                      - H
                      - T
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key of Current Text Environment
                    TEXT:
                      type: string
                      maxLength: 255
                      description: Text of length 255
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      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
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
                I_T_XREF:
                  type: array
                  items:
                    type: object
                    properties:
                      REPORT_ID:
                        type: string
                        maxLength: 30
                        description: 'Report Designer: Report ID for Loading and Saving'
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      COUNTER:
                        type: integer
                        format: int64
                        description: 'Report Designer: Counter'
                      TLOGO:
                        type: string
                        maxLength: 4
                        description: 'BW: Object Type (TLOGO)  enumValues: ISTS=Transfer structure,RSPV=Process Variants,TRFN=Transformation,BRSE=Broadcast Setting,RRCA=RRI InfoCube Receiver,LSYS=Source System,ITEM=Web Item (Format SAP BW 3.x),TMPL=Web Template (Format SAP BW 3.x),EVEN=Event Processing Chain,DTPA=Data Transfer Process,DEST=Open Hub Destination,ANMO=Mining Model,ALVL=Aggregation Level,AREA=InfoArea,AQSG=InfoSet,WWIB=Web Design Time Item Metadata,SUSO=Authorization Object,UPDR=Update
                          rules,HIER=BW Hierarchies,EREL=Enterprise Report: Reusable Element,BITM=BEx Web Item,PLDS=Data Slices,IOBC=InfoObject Catalog,UOMT=Quantity Conversion Type,ISMP=Transfer Rules,ERPT=Enterprise Report,THJT=Key Date of Type Derivation,PLCR=Characteristic Relationships,DAPA=Data Archiving Process,RSDS=DataSource,ACGR=Role,ANSO=Model Source,RSPT=Process Chain Starter,ANPR=Analysis Process,RASE=Reporting Agent Setting,APCO=Application,RSPC=Process Chain,AQBG=InfoSet Query User
                          Group,WWPA=Web Design Time Parameter Metadata,BTMP=BEx Web Template,USER=User,MPRO=MultiProvider,PLSQ=Planning Sequence,ISFS=3.x DataSource,ELEM=Query Element,CUBE=InfoCube,TRCS=InfoSource,AUTH=Authorization,DMOD=Data model,CTRT=Currency Translation Type,ISIP=InfoPackage,RSFO=BW Formula,CRWB=Crystal Report,RSPI=Interrupt Process,ISCS=Communication Structure,IOBJ=InfoObject,DMMO=Data Mining Model,ROUT=Routine,RRUL=Remodeling Rule,RRQA=RRI Query Receiver,XLWB=Workbook,SPOK=InfoSpoke,SUSP=Authorization
                          Profile,DDAS=Data Access Service,AQQU=InfoSet Query,ISIG=InfoPackage Group,RAPA=Reporting Agent Scheduling Package,THEM=Theme,PLSE=Planning Function,QVIW=Query View,PLST=Planning Function Type,AGGR=Aggregate,ISTD=3.x InfoSource,ODSO=DataStore Object'
                        enum:
                        - ISTS
                        - RSPV
                        - TRFN
                        - BRSE
                        - RRCA
                        - LSYS
                        - ITEM
                        - TMPL
                        - EVEN
                        - DTPA
                        - DEST
                        - ANMO
                        - ALVL
                        - AREA
                        - AQSG
                        - WWIB
                        - SUSO
                        - UPDR
                        - HIER
                        - EREL
                        - BITM
                        - PLDS
                        - IOBC
                        - UOMT
                        - ISMP
                        - ERPT
                        - THJT
                        - PLCR
                        - DAPA
                        - RSDS
                        - ACGR
                        - ANSO
                        - RSPT
                        - ANPR
                        - RASE
                        - APCO
                        - RSPC
                        - AQBG
                        - WWPA
                        - BTMP
                        - USER
                        - MPRO
                        - PLSQ
                        - ISFS
                        - ELEM
                        - CUBE
                        - TRCS
                        - AUTH
                        - DMOD
                        - CTRT
                        - ISIP
                        - RSFO
                        - CRWB
                        - RSPI
                        - ISCS
                        - IOBJ
                        - DMMO
                        - ROUT
                        - RRUL
                        - RRQA
                        - XLWB
                        - SPOK
                        - SUSP
                        - DDAS
                        - AQQU
                        - ISIG
                        - RAPA
                        - THEM
                        - PLSE
                        - QVIW
                        - PLST
                        - AGGR
                        - ISTD
                        - ODSO
                      OBJNM:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      ASC_TYPE:
                        type: integer
                        format: int64
                        description: 'Association type in BW Repository  enumValues: 001=Existentially requires,107=Has outflow,020=Schedules,100=Is compounded to,110=Can be time-converted into,116=For Time Reference in the Currency Translation Type,109=Referenced key figure,111=Has as elimination characteristic,121=Quantity Translation: Determine Target Quantity Unit,108=Has fixed key figure,115=For Determination of Target Currency,106=Has access/non-cumulative value change,003=Used by,104=Refers
                          to characteristic,120=Quantity Translation: Determine Source Quantity Unit,117=For Exchange Rate Determination in the Currency Trans. Type,021=Is scheduled by,999=Undefined,105=Has unit,113=Has as Hierarchy Characteristic,118=Quantity Translation: Determing Translation Factor,119=Quantity Translation: Reference InfoObject,002=Requires,112=Has Navigation Attribute as InfoProvider,000=Default,101=Has attribute,004=Sends data to,114=For Determination of Source Currency,102=Has
                          navigation attribute,123=Quantity Translation: Determine Quantity Unit (Attribute),006=Is displayed in,103=Has aggregation-referenced characteristic,005=Receives data from'
                        enum:
                        - '001'
                        - '107'
                        - '020'
                        - '100'
                        - '110'
                        - '116'
                        - '109'
                        - '111'
                        - '121'
                        - '108'
                        - '115'
                        - '106'
                        - '003'
                        - '104'
                        - '120'
                        - '117'
                        - '021'
                        - '999'
                        - '105'
                        - '113'
                        - '118'
                        - '119'
                        - '002'
                        - '112'
                        - '000'
                        - '101'
                        - '004'
                        - '114'
                        - '102'
                        - '123'
                        - '006'
                        - '103'
                        - '005'
                      SUBTYPE:
                        type: string
                        maxLength: 4
                        description: 'BW Metadata Repository: Subtype of TLOGO Type  enumValues: TEXT=InfoObject: Texts,HIER=InfoObject: Hierarchies,ATTR=InfoObject: Attributes'
                        enum:
                        - TEXT
                        - HIER
                        - ATTR
              required:
              - I_REPORT_DESIGN_XML
              - I_REPORT_HEADER
              - I_REPORT_RUNTIME_XML
              - I_REPORT_VERSION
              - I_S_PARAMS
              - I_TEXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        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
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
                  I_T_XREF:
                    type: array
                    items:
                      type: object
                      properties:
                        REPORT_ID:
                          type: string
                          maxLength: 30
                          description: 'Report Designer: Report ID for Loading and Saving'
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        COUNTER:
                          type: integer
                          format: int64
                          description: 'Report Designer: Counter'
                        TLOGO:
                          type: string
                          maxLength: 4
                          description: 'BW: Object Type (TLOGO)  enumValues: ISTS=Transfer structure,RSPV=Process Variants,TRFN=Transformation,BRSE=Broadcast Setting,RRCA=RRI InfoCube Receiver,LSYS=Source System,ITEM=Web Item (Format SAP BW 3.x),TMPL=Web Template (Format SAP BW 3.x),EVEN=Event Processing Chain,DTPA=Data Transfer Process,DEST=Open Hub Destination,ANMO=Mining Model,ALVL=Aggregation Level,AREA=InfoArea,AQSG=InfoSet,WWIB=Web Design Time Item Metadata,SUSO=Authorization Object,UPDR=Update
                            rules,HIER=BW Hierarchies,EREL=Enterprise Report: Reusable Element,BITM=BEx Web Item,PLDS=Data Slices,IOBC=InfoObject Catalog,UOMT=Quantity Conversion Type,ISMP=Transfer Rules,ERPT=Enterprise Report,THJT=Key Date of Type Derivation,PLCR=Characteristic Relationships,DAPA=Data Archiving Process,RSDS=DataSource,ACGR=Role,ANSO=Model Source,RSPT=Process Chain Starter,ANPR=Analysis Process,RASE=Reporting Agent Setting,APCO=Application,RSPC=Process Chain,AQBG=InfoSet Query User
                            Group,WWPA=Web Design Time Parameter Metadata,BTMP=BEx Web Template,USER=User,MPRO=MultiProvider,PLSQ=Planning Sequence,ISFS=3.x DataSource,ELEM=Query Element,CUBE=InfoCube,TRCS=InfoSource,AUTH=Authorization,DMOD=Data model,CTRT=Currency Translation Type,ISIP=InfoPackage,RSFO=BW Formula,CRWB=Crystal Report,RSPI=Interrupt Process,ISCS=Communication Structure,IOBJ=InfoObject,DMMO=Data Mining Model,ROUT=Routine,RRUL=Remodeling Rule,RRQA=RRI Query Receiver,XLWB=Workbook,SPOK=InfoSpoke,SUSP=Authorization
                            Profile,DDAS=Data Access Service,AQQU=InfoSet Query,ISIG=InfoPackage Group,RAPA=Reporting Agent Scheduling Package,THEM=Theme,PLSE=Planning Function,QVIW=Query View,PLST=Planning Function Type,AGGR=Aggregate,ISTD=3.x InfoSource,ODSO=DataStore Object'
                          enum:
                          - ISTS
                          - RSPV
                          - TRFN
                          - BRSE
                          - RRCA
                          - LSYS
                          - ITEM
                          - TMPL
                          - EVEN
                          - DTPA
                          - DEST
                          - ANMO
                          - ALVL
                          - AREA
                          - AQSG
                          - WWIB
                          - SUSO
                          - UPDR
                          - HIER
                          - EREL
                          - BITM
                          - PLDS
                          - IOBC
                          - UOMT
                          - ISMP
                          - ERPT
                          - THJT
                          - PLCR
                          - DAPA
                          - RSDS
                          - ACGR
                          - ANSO
                          - RSPT
                          - ANPR
                          - RASE
                          - APCO
                          - RSPC
                          - AQBG
                          - WWPA
                          - BTMP
                          - USER
                          - MPRO
                          - PLSQ
                          - ISFS
                          - ELEM
                          - CUBE
                          - TRCS
                          - AUTH
                          - DMOD
                          - CTRT
                          - ISIP
                          - RSFO
                          - CRWB
                          - RSPI
                          - ISCS
                          - IOBJ
                          - DMMO
                          - ROUT
                          - RRUL
                          - RRQA
                          - XLWB
                          - SPOK
                          - SUSP
                          - DDAS
                          - AQQU
                          - ISIG
                          - RAPA
                          - THEM
                          - PLSE
                          - QVIW
                          - PLST
                          - AGGR
                          - ISTD
                          - ODSO
                        OBJNM:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        ASC_TYPE:
                          type: integer
                          format: int64
                          description: 'Association type in BW Repository  enumValues: 001=Existentially requires,107=Has outflow,020=Schedules,100=Is compounded to,110=Can be time-converted into,116=For Time Reference in the Currency Translation Type,109=Referenced key figure,111=Has as elimination characteristic,121=Quantity Translation: Determine Target Quantity Unit,108=Has fixed key figure,115=For Determination of Target Currency,106=Has access/non-cumulative value change,003=Used by,104=Refers
                            to characteristic,120=Quantity Translation: Determine Source Quantity Unit,117=For Exchange Rate Determination in the Currency Trans. Type,021=Is scheduled by,999=Undefined,105=Has unit,113=Has as Hierarchy Characteristic,118=Quantity Translation: Determing Translation Factor,119=Quantity Translation: Reference InfoObject,002=Requires,112=Has Navigation Attribute as InfoProvider,000=Default,101=Has attribute,004=Sends data to,114=For Determination of Source Currency,102=Has
                            navigation attribute,123=Quantity Translation: Determine Quantity Unit (Attribute),006=Is displayed in,103=Has aggregation-referenced characteristic,005=Receives data from'
                          enum:
                          - '001'
                          - '107'
                          - '020'
                          - '100'
                          - '110'
                          - '116'
                          - '109'
                          - '111'
                          - '121'
                          - '108'
                          - '115'
                          - '106'
                          - '003'
                          - '104'
                          - '120'
                          - '117'
                          - '021'
                          - '999'
                          - '105'
                          - '113'
                          - '118'
                          - '119'
                          - '002'
                          - '112'
                          - '000'
                          - '101'
                          - '004'
                          - '114'
                          - '102'
                          - '123'
                          - '006'
                          - '103'
                          - '005'
                        SUBTYPE:
                          type: string
                          maxLength: 4
                          description: 'BW Metadata Repository: Subtype of TLOGO Type  enumValues: TEXT=InfoObject: Texts,HIER=InfoObject: Hierarchies,ATTR=InfoObject: Attributes'
                          enum:
                          - TEXT
                          - HIER
                          - ATTR
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
