openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSHWD_COPY_HIE_RFC:
    post:
      tags:
      - RSSHWD
      operationId: /rfc/RSSHWD_COPY_HIE_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_HIEID_SOURCE:
                  type: string
                  maxLength: 25
                I_OBJVERS_SOURCE:
                  type: string
                  maxLength: 1
                I_S_HIESEL_SOURCE:
                  type: object
                  properties:
                    HIETYPE:
                      type: string
                      maxLength: 1
                      description: 'BW Hierarchy Types  enumValues: 1=Master Data Hieratchy with Reference to an InfoObject,2=SAP InfoCatalog,6=Master Data Hierarchy with Reference to a Metadata InfoObj.,3=Enterprise InfoCatalog,5=User Favorites,4=User Groups InfoCatalog,7=Virtual Time Hierarchies'
                      enum:
                      - '1'
                      - '2'
                      - '6'
                      - '3'
                      - '5'
                      - '4'
                      - '7'
                    HIENM:
                      type: string
                      maxLength: 30
                      description: Hierarchy name
                    VERSION:
                      type: string
                      maxLength: 3
                      description: Hierarchy version
                    DATETO:
                      type: string
                      format: date
                      description: Valid-to date
                    IOBJNM:
                      type: string
                      maxLength: 30
                      description: InfoObject
                I_S_HIESEL_TARGET:
                  type: object
                  properties:
                    HIETYPE:
                      type: string
                      maxLength: 1
                      description: 'BW Hierarchy Types  enumValues: 1=Master Data Hieratchy with Reference to an InfoObject,2=SAP InfoCatalog,6=Master Data Hierarchy with Reference to a Metadata InfoObj.,3=Enterprise InfoCatalog,5=User Favorites,4=User Groups InfoCatalog,7=Virtual Time Hierarchies'
                      enum:
                      - '1'
                      - '2'
                      - '6'
                      - '3'
                      - '5'
                      - '4'
                      - '7'
                    HIENM:
                      type: string
                      maxLength: 30
                      description: Hierarchy name
                    VERSION:
                      type: string
                      maxLength: 3
                      description: Hierarchy version
                    DATEFROM:
                      type: string
                      format: date
                      description: Valid-From Date
                    DATETO:
                      type: string
                      format: date
                      description: Valid-to date
                    IOBJNM:
                      type: string
                      maxLength: 30
                      description: InfoObject
                I_T_HIETXT_TARGET:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
              required:
              - I_HIEID_SOURCE
              - I_OBJVERS_SOURCE
              - I_S_HIESEL_SOURCE
              - I_S_HIESEL_TARGET
              - I_T_HIETXT_TARGET
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
