openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_TREE_GET_CHILDREN:
    post:
      tags:
      - SWOT
      summary: Read All Children of Node in BOR Object Type Tree
      operationId: /rfc/SWO_TREE_GET_CHILDREN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALLOBJECTS:
                  type: string
                  default: ' '
                  maxLength: 1
                BUSOBJECTS:
                  type: string
                  default: X
                  maxLength: 1
                INTERFACES:
                  type: string
                  default: ' '
                  maxLength: 1
                OBJECTS_WITH_API_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                OBJKEY:
                  type: string
                  maxLength: 70
                OBJTYPE:
                  type: string
                  maxLength: 10
                ORGOBJECTS:
                  type: string
                  default: X
                  maxLength: 1
                CHILDREN:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      OBJTYPEID:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 32
                        description: Object name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      ISFOLDER:
                        type: string
                        maxLength: 1
                        description: 'Node contains several nodes  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      IS_BUSOBJ:
                        type: string
                        maxLength: 1
                        description: 'Business Object  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - OBJKEY
              - OBJTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER_OF_CHILDREN:
                    type: integer
                    format: int64
                  CHILDREN:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        OBJTYPEID:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 32
                          description: Object name
                        SHORTTEXT:
                          type: string
                          maxLength: 80
                          description: Description
                        ISFOLDER:
                          type: string
                          maxLength: 1
                          description: 'Node contains several nodes  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        IS_BUSOBJ:
                          type: string
                          maxLength: 1
                          description: 'Business Object  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
