GET Api/StorageCustomer/GetCategoryTreeItems/{categoryId}?language={language}

Returns a list of category -items by specifying a category -id, but without its children an user has access to. Using the id 0 or -1 will return the root -nodes. If you are specifying an invalid id or an id that doesn't exists, an empty set will be returned.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

A category -item id.

integer

Required

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

200 - OK.A list of category -items. If id is invalid or doesn't exists the list is empty.
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.