openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPR4_GET_FAVO_CHILDREN:
    post:
      tags:
      - SPR4
      operationId: /rfc/SPR4_GET_FAVO_CHILDREN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_ID:
                  type: integer
                  format: int64
                CHILDREN:
                  type: array
                  items:
                    type: object
                    properties:
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: ''
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: ''
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: ''
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: ''
                      NODE_TYPE:
                        type: string
                        maxLength: 1
                        description: ''
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Current Transaction Code
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      ROLE:
                        type: string
                        maxLength: 30
                        description: ''
                      URL:
                        type: string
                        maxLength: 2000
                        description: ''
                      URL_TYPE:
                        type: string
                        maxLength: 20
                        description: ''
                      HAS_CHILDREN:
                        type: string
                        maxLength: 1
                        description: ''
              required:
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHILDREN:
                    type: array
                    items:
                      type: object
                      properties:
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: ''
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: ''
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: ''
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: ''
                        NODE_TYPE:
                          type: string
                          maxLength: 1
                          description: ''
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Current Transaction Code
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        ROLE:
                          type: string
                          maxLength: 30
                          description: ''
                        URL:
                          type: string
                          maxLength: 2000
                          description: ''
                        URL_TYPE:
                          type: string
                          maxLength: 20
                          description: ''
                        HAS_CHILDREN:
                          type: string
                          maxLength: 1
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
