openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDPL_HIER_GETLIST:
    post:
      tags:
      - RSDPL
      operationId: /rfc/RSDPL_HIER_GETLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHANAME:
                  type: string
                  maxLength: 30
                I_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                E_T_HIERLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      HIERARCHY:
                        type: string
                        maxLength: 25
                        description: 'DM API: Hierarchy ID'
                      CHANAME:
                        type: string
                        maxLength: 30
                        description: 'DM API: Characteristic name'
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: 'DM API: Language'
                      TEXT:
                        type: string
                        maxLength: 20
                        description: Short description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_HIERLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        HIERARCHY:
                          type: string
                          maxLength: 25
                          description: 'DM API: Hierarchy ID'
                        CHANAME:
                          type: string
                          maxLength: 30
                          description: 'DM API: Characteristic name'
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: 'DM API: Language'
                        TEXT:
                          type: string
                          maxLength: 20
                          description: Short description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
