Sitefinity’s OData web services expose a single endpoint that allows querying data from Sitefinity CMS sitemap. Such data can be used to construct navigation widgets. The navigation widget in Sitefinity .NET Core renderer uses this endpoint.
IMPORTANT: The following endpoint is designed to support .NET Core development only. You cannot use the endpoint for MVC development. For a comparison on using .NET Core vs using MVC framework, see Development comparison.
NOTE: This endpoint does not require authentication.
To use the endpoint, execute a POST request to the following endpoint:
POST
{baseurl}/api/default/pages/Default.HierarhicalByLevelsResponse()
Sample request
POST http://mysite.com/api/default/pages/Default.HierarhicalByLevelsResponse()
Sample response
There are query parameters that can be added to this request. For example:
selectionModeString
TopLevelPages
SelectedPages
selectedPages
CurrentPageSiblings
sf_page_node
CurrentPageChildren
SelectedPageChildren
selectedPageId
showParentPage
Boolean
GUID
The following example uses some of the above query parameters:
Sample request (with query parameters)
POST http://mysite.com/api/default/pages/Default.HierarhicalByLevelsResponse()?selectionModeString=SelectedPages&showParentPage=False&selectedPageId=00000000-0000-0000-0000-000000000000&selectedPages=["b5cb445c-bb30-4169-9476-422a1daf3df5","45b8578a-0184-456c-9f0d-68843df4af64","882c78d7-dc3a-4934-998f-2eeae074459f"]&sf_page_node=882c78d7-dc3a-4934-998f-2eeae074459f
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important