GET Api/StorageCustomer/GetCategoryTree?language={language}

Returns the entire category tree, including subcategories. If it exists a translation you may use the language -code. If no translation can be found, the default -name will be used. Categoryitems that the current user do not have access to, are omitted.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

Use a ISO 639-1 language-code or languagecodes specified in RFC 3066 or don't specify it at all. Examples: sv or sv-SE.

string

None.

Body Parameters

None.

Response Information

Resource Description

The entire category -tree including child -categories.
200 - OK. An entire tree of category -items.
400 - Bad request, the languagecode is not valid or not supported.
403 - The auth-token is no longer valid.
500 - Serverside exception.

JsonResultOfListOfServiceCategoryItem
NameDescriptionTypeAdditional information
Content

Collection of ServiceCategoryItem

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.