POST api/favorite/category/{id}/{userid}

V2 - This method adds a favorite category for the specified user or child.
The available categories can be retrieved through the /api/filters/categories method.
NOTE: this method ignores the X-ChildID header.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID for the category to add.

integer

Required

userid

The ID for the user or child

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.