Table of Contents

Method GetTree

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

GetTree(int)

[OperationContract]
[SwaggerWcfTag("Catalog categories", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get the category by id", Description = "Returns the hierarchical representation of the catalog category")]
[WebGet(UriTemplate = "/Tree?id={id}", 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 GetTree(int id)

Parameters

id int

Returns

CatalogCategoryContract