openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_UPB_HIERARCHY_CREATE:
    post:
      tags:
      - RSSEM_UPB1
      operationId: /rfc/RSSEM_UPB_HIERARCHY_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_COMMAND:
                  type: string
                  maxLength: 1
                I_HIEID:
                  type: string
                  maxLength: 25
                I_IOBJNM:
                  type: string
                  maxLength: 30
                I_OBJVERS:
                  type: string
                  maxLength: 1
                I_S_HIESEL:
                  type: object
                  properties:
                    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
                    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
                E_T_MSG:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      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
              required:
              - I_COMMAND
              - I_HIEID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_MSG:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
