openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP3_GET_ROLE_HIERARCHY:
    post:
      tags:
      - WP3ROLE
      operationId: /rfc/WP3_GET_ROLE_HIERARCHY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IF_LOGSYS:
                  type: string
                  maxLength: 10
                ET_HIERARCHY:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLENAMEH:
                        type: string
                        maxLength: 32
                        description: Hash value of portal role
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Target system for a portal role
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Authorization role
                      PARENT_AGR:
                        type: string
                        maxLength: 30
                        description: Authorization role
                      AGR_LEVEL:
                        type: integer
                        format: int64
                        description: Level of service in menu hierarchy
              required:
              - IF_LOGSYS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_HIERARCHY:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLENAMEH:
                          type: string
                          maxLength: 32
                          description: Hash value of portal role
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Target system for a portal role
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Authorization role
                        PARENT_AGR:
                          type: string
                          maxLength: 30
                          description: Authorization role
                        AGR_LEVEL:
                          type: integer
                          format: int64
                          description: Level of service in menu hierarchy
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
