openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSWAD_MDITEMS_DEFAULTS_GET:
    post:
      tags:
      - RSWADBR
      summary: 'BI Runtime: Obtain Items Default'
      operationId: /rfc/RSWAD_MDITEMS_DEFAULTS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                C_T_RSZWMDITEM:
                  type: array
                  items:
                    type: object
                    properties:
                      NAMESPACEPREFIX:
                        type: string
                        maxLength: 2
                        description: Namespace Prefix ( Namespace defined in RSZWTEMITEM)
                      MDITEMNAME:
                        type: string
                        maxLength: 30
                        description: 'BW Web Metadata: Template Item Name'
                      VERSION:
                        type: integer
                        format: int64
                        description: 'BW Web Metadata: Version'
                      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
                      ITEMCLASS:
                        type: string
                        maxLength: 3
                        description: 'BW Web Metadata: Template Item Class  enumValues: PAT=Pattern,CGR=Command Group,IPA=Initial Pattern,KYW=Keyword ( Reserved Word),DP=Dataprovider,IGR=Item Group ( plane sorting in Design Tool ),NSP=Namespace,ITE=Item,REG=Obsolete: Renderer ( Graphical like ),NGR=New-Template-Dialog Group,CMD=Command,REC=Obsolete: Renderer ( Container Like, e.g. Tabstrip ),CAL=Command Alias (Preconfigured Command),NTA=New Template Alias (CMDALIAS = Templatename),PGR=Parameter Group,IAL=Item
                          Alias ( Preconfigured Item) CMDALIAS = true item'
                        enum:
                        - PAT
                        - CGR
                        - IPA
                        - KYW
                        - DP
                        - IGR
                        - NSP
                        - ITE
                        - REG
                        - NGR
                        - CMD
                        - REC
                        - CAL
                        - NTA
                        - PGR
                        - IAL
                      ITEMTYPE:
                        type: integer
                        format: int64
                        description: 'BW Metadata: Item Type  enumValues: 08=Condition,09=Alert Monitor,17=Table,01=Navigation Block,19=Ticker,10=Label,14=Document,00=Nothing,07=Exception,22=Container Item,03=Text Elements,06=Map Layer,02=Filter,16=Document List,11=Radio Button,20=Template Properties,21=Data Provider,13=Description Box,05=Map,18=Building Block,04=Chart,12=Dropdown List'
                        enum:
                        - '08'
                        - '09'
                        - '17'
                        - '01'
                        - '19'
                        - '10'
                        - '14'
                        - '00'
                        - '07'
                        - '22'
                        - '03'
                        - '06'
                        - '02'
                        - '16'
                        - '11'
                        - '20'
                        - '21'
                        - '13'
                        - '05'
                        - '18'
                        - '04'
                        - '12'
                      REN_ICONID:
                        type: string
                        maxLength: 4
                        description: Icon in text fields (substitute display, alias)
                      WITH_DATABIND:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      DISPLAYORDER:
                        type: integer
                        format: int32
                        description: Parameter Display Order
                      GROUPNAME:
                        type: string
                        maxLength: 30
                        description: 'BW Web Metadata: Template Item Name'
                      CMDCLASS:
                        type: string
                        maxLength: 1
                        description: 'BI Web Command Class ( OpenDialog / Standard )  enumValues: D=Open Dialog Command,""=Default ( Standard command)'
                        enum:
                        - D
                        - ''
                      CMDALIAS:
                        type: string
                        maxLength: 30
                        description: Technical Name of Object
                      CMDALIASID:
                        type: integer
                        format: int64
                        description: Two digit number
                      IMPLCLASS:
                        type: string
                        maxLength: 255
                        description: Implementation class for BEx Web Runtime
                      CMDTGTCATEGORY:
                        type: string
                        maxLength: 2
                        description: 'Command Target Category  enumValues: AD=Primary target DP can be of any type (like space),QD=Primary target;  Query View Data provider preferred,""=Default behaviour,PG=Page'
                        enum:
                        - AD
                        - QD
                        - ''
                        - PG
                      WEBRT:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      BEXAN:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      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)
                      ACTIVFL:
                        type: string
                        maxLength: 1
                        description: 'Active and revised version do not agree  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_DEFAULTSXML:
                    type: string
                    description: Default Items Parameters
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Error code 0=
                  C_T_RSZWMDITEM:
                    type: array
                    items:
                      type: object
                      properties:
                        NAMESPACEPREFIX:
                          type: string
                          maxLength: 2
                          description: Namespace Prefix ( Namespace defined in RSZWTEMITEM)
                        MDITEMNAME:
                          type: string
                          maxLength: 30
                          description: 'BW Web Metadata: Template Item Name'
                        VERSION:
                          type: integer
                          format: int64
                          description: 'BW Web Metadata: Version'
                        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
                        ITEMCLASS:
                          type: string
                          maxLength: 3
                          description: 'BW Web Metadata: Template Item Class  enumValues: PAT=Pattern,CGR=Command Group,IPA=Initial Pattern,KYW=Keyword ( Reserved Word),DP=Dataprovider,IGR=Item Group ( plane sorting in Design Tool ),NSP=Namespace,ITE=Item,REG=Obsolete: Renderer ( Graphical like ),NGR=New-Template-Dialog Group,CMD=Command,REC=Obsolete: Renderer ( Container Like, e.g. Tabstrip ),CAL=Command Alias (Preconfigured Command),NTA=New Template Alias (CMDALIAS = Templatename),PGR=Parameter
                            Group,IAL=Item Alias ( Preconfigured Item) CMDALIAS = true item'
                          enum:
                          - PAT
                          - CGR
                          - IPA
                          - KYW
                          - DP
                          - IGR
                          - NSP
                          - ITE
                          - REG
                          - NGR
                          - CMD
                          - REC
                          - CAL
                          - NTA
                          - PGR
                          - IAL
                        ITEMTYPE:
                          type: integer
                          format: int64
                          description: 'BW Metadata: Item Type  enumValues: 08=Condition,09=Alert Monitor,17=Table,01=Navigation Block,19=Ticker,10=Label,14=Document,00=Nothing,07=Exception,22=Container Item,03=Text Elements,06=Map Layer,02=Filter,16=Document List,11=Radio Button,20=Template Properties,21=Data Provider,13=Description Box,05=Map,18=Building Block,04=Chart,12=Dropdown List'
                          enum:
                          - '08'
                          - '09'
                          - '17'
                          - '01'
                          - '19'
                          - '10'
                          - '14'
                          - '00'
                          - '07'
                          - '22'
                          - '03'
                          - '06'
                          - '02'
                          - '16'
                          - '11'
                          - '20'
                          - '21'
                          - '13'
                          - '05'
                          - '18'
                          - '04'
                          - '12'
                        REN_ICONID:
                          type: string
                          maxLength: 4
                          description: Icon in text fields (substitute display, alias)
                        WITH_DATABIND:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        DISPLAYORDER:
                          type: integer
                          format: int32
                          description: Parameter Display Order
                        GROUPNAME:
                          type: string
                          maxLength: 30
                          description: 'BW Web Metadata: Template Item Name'
                        CMDCLASS:
                          type: string
                          maxLength: 1
                          description: 'BI Web Command Class ( OpenDialog / Standard )  enumValues: D=Open Dialog Command,""=Default ( Standard command)'
                          enum:
                          - D
                          - ''
                        CMDALIAS:
                          type: string
                          maxLength: 30
                          description: Technical Name of Object
                        CMDALIASID:
                          type: integer
                          format: int64
                          description: Two digit number
                        IMPLCLASS:
                          type: string
                          maxLength: 255
                          description: Implementation class for BEx Web Runtime
                        CMDTGTCATEGORY:
                          type: string
                          maxLength: 2
                          description: 'Command Target Category  enumValues: AD=Primary target DP can be of any type (like space),QD=Primary target;  Query View Data provider preferred,""=Default behaviour,PG=Page'
                          enum:
                          - AD
                          - QD
                          - ''
                          - PG
                        WEBRT:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        BEXAN:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        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)
                        ACTIVFL:
                          type: string
                          maxLength: 1
                          description: 'Active and revised version do not agree  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
