POST api/Favorites/Save
Saves a new bookmark
Request Information
URI Parameters
None.
Body Parameters
Favorites| Name | Description | Type | Additional information |
|---|---|---|---|
| FavoritesId | integer |
None. |
|
| UserId | integer |
None. |
|
| Title | string |
None. |
|
| URL | string |
None. |
|
| Status | integer |
None. |
|
| Created | date |
None. |
|
| ImgURL | string |
None. |
|
| ArticleId | string |
None. |
|
| Topic | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"FavoritesId": 1,
"UserId": 2,
"Title": "sample string 3",
"URL": "sample string 4",
"Status": 5,
"Created": "2025-10-30T09:05:15.3930866-07:00",
"ImgURL": "sample string 7",
"ArticleId": "sample string 8",
"Topic": "sample string 9"
}
application/xml, text/xml
Sample:
<Favorites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <ArticleId>sample string 8</ArticleId> <Created>2025-10-30T09:05:15.3930866-07:00</Created> <FavoritesId>1</FavoritesId> <ImgURL>sample string 7</ImgURL> <Status>5</Status> <Title>sample string 3</Title> <Topic>sample string 9</Topic> <URL>sample string 4</URL> <UserId>2</UserId> </Favorites>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.