POST api/Context/favorite/

Toggle favorite for a user

Request Information

URI Parameters

None.

Body Parameters

RecordModel
NameDescriptionTypeAdditional information
Niin

string

None.

IsFavorite

boolean

None.

FavoriteClass

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Niin": "sample string 1",
  "IsFavorite": true,
  "FavoriteClass": "favoriteon"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1