Table of Contents

Method GetRootCategories

Namespace
Everest.Service.Catalog.Categories
Assembly
Everest.Service.dll

GetRootCategories()

[OperationContract]
[SwaggerWcfTag("Catalog categories", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get the list of root catalog categories", Description = "Returns the hierarchical representation of the catalog categories.")]
[WebGet(UriTemplate = "/Trees", ResponseFormat = WebMessageFormat.Json)]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.OK, Description = "Success")]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.BadRequest, Description = "Invalid language and/or iteration option", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.InternalServerError, Description = "An unexpected error occurred while processing the request.", Type = typeof(JsonErrorMessage))]
CatalogCategoryContract[] GetRootCategories()

Returns

CatalogCategoryContract[]