openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RZX2_BTMP_GET:
    post:
      tags:
      - RZX2
      operationId: /rfc/RZX2_BTMP_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_S_PARAMS:
                  type: object
                  properties:
                    OBJID:
                      type: string
                      maxLength: 30
                      description: Technical Name of a Template
                    ENQUEUE_MODE:
                      type: string
                      maxLength: 1
                      description: 'Lock mode  enumValues: E=Write Lock,X=Exclusive, not cumulative,S=Read Lock'
                      enum:
                      - E
                      - X
                      - S
                    CHECK_AUTH_ONLY:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    AS_COPY:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                E_T_HEADTXT:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJID:
                        type: string
                        maxLength: 30
                        description: Technical Name of Object
                      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
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                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
                E_T_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      TMPLID:
                        type: string
                        maxLength: 30
                        description: Technical Name of a Template
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TEXT_KEY:
                        type: string
                        maxLength: 3
                        description: 'BW Web Templates: Text Key'
                      TEXT_ORDNUMC:
                        type: integer
                        format: int64
                        description: CR Textord
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Text of length 255
              required:
              - I_S_PARAMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_DATA:
                    type: string
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_S_HEAD:
                    type: object
                    properties:
                      OBJID:
                        type: string
                        maxLength: 30
                        description: Technical Name of a Template
                      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
                      VERSION:
                        type: integer
                        format: int32
                        description: Version of the reporting component
                      TYPE:
                        type: integer
                        format: int64
                        description: 'Type of Template  enumValues: 04=Reusable Row Pattern,01=Building Block (without <head>, <body>),00=HTML Template (Default),02=ReportItem XML (Runtime),03=ReportItem XML (Designtime)'
                        enum:
                        - '04'
                        - '01'
                        - '00'
                        - '02'
                        - '03'
                      STATELESS:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      VARIABLESCREEN:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      ITEMLIB:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      UPGRADE_DONE:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      WORKBOOKID:
                        type: string
                        maxLength: 25
                        description: 'BW Generation tool: GUID in compressed form (CHAR25)'
                      OLDTMPLID:
                        type: string
                        maxLength: 20
                        description: Short description
                      SKWF_LOIO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      SKWF_PHIO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      BCTCOMP:
                        type: string
                        maxLength: 10
                        description: Obsolete (Component of BI Content)
                      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)
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                  E_S_PARAMS:
                    type: object
                    properties:
                      CHANGE_AUTH:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      DISPL_AUTH:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                  E_T_HEADTXT:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJID:
                          type: string
                          maxLength: 30
                          description: Technical Name of Object
                        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
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  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
                  E_T_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        TMPLID:
                          type: string
                          maxLength: 30
                          description: Technical Name of a Template
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TEXT_KEY:
                          type: string
                          maxLength: 3
                          description: 'BW Web Templates: Text Key'
                        TEXT_ORDNUMC:
                          type: integer
                          format: int64
                          description: CR Textord
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Text of length 255
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
