The function NavigationChildren is a TypeScript function that returns an object with methods for retrieving, creating, updating, and deleting navigation children items.

  • Parameters

    • baseUrl: string

      The base URL for the API endpoint.

    • clientId: TClientId

      The clientId parameter is a variable of type TClientId, which represents the client ID.

    • siteId: string

      The siteId parameter is a string that represents the ID of the site for which the navigation children are being queried.

    • navItemId: string

      The navItemId parameter is the ID of the navigation item for which you want to retrieve or manipulate its children.

    • OptionalchildrenId: string = null

      The childrenId parameter is an optional parameter that represents the ID of a specific child item within the navigation. If provided, it will be used to construct the URL for the API endpoint. If not provided, the URL will not include the childrenId segment.

    Returns IQueryNavigationChildren

    an object of type IQueryNavigationChildren.