POST api/Context/favorite/
Toggle favorite for a user
Request Information
URI Parameters
None.
Body Parameters
RecordModel| Name | Description | Type | Additional 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
integerResponse Formats
application/json, text/json
Sample:
1