openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCAG_GET_HIERARCHIE_OF_OBJECTS:
    post:
      tags:
      - SCAG
      operationId: /rfc/SCAG_GET_HIERARCHIE_OF_OBJECTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT:
                  type: string
                  maxLength: 4
                PGMID:
                  type: string
                  maxLength: 4
                OBJ_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_L1:
                        type: string
                        maxLength: 40
                        description: Statistics, name of object
                      OBJ_L2:
                        type: string
                        maxLength: 40
                        description: Statistics, name of object
                      OBJ_L3:
                        type: string
                        maxLength: 40
                        description: Statistics, name of object
                      OBJ_L4:
                        type: string
                        maxLength: 40
                        description: Statistics, name of object
                      OBJ_L5:
                        type: string
                        maxLength: 40
                        description: Statistics, name of object
                      OBJ_L6:
                        type: string
                        maxLength: 40
                        description: Statistics, name of object
                      ID:
                        type: string
                        maxLength: 2
                        description: Statistics; Id for object of hierarchy
              required:
              - OBJECT
              - PGMID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJ_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_L1:
                          type: string
                          maxLength: 40
                          description: Statistics, name of object
                        OBJ_L2:
                          type: string
                          maxLength: 40
                          description: Statistics, name of object
                        OBJ_L3:
                          type: string
                          maxLength: 40
                          description: Statistics, name of object
                        OBJ_L4:
                          type: string
                          maxLength: 40
                          description: Statistics, name of object
                        OBJ_L5:
                          type: string
                          maxLength: 40
                          description: Statistics, name of object
                        OBJ_L6:
                          type: string
                          maxLength: 40
                          description: Statistics, name of object
                        ID:
                          type: string
                          maxLength: 2
                          description: Statistics; Id for object of hierarchy
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
