POST api/Favorites/Save
Saves a new bookmark
Request Information
URI Parameters
None.
Body Parameters
FavoritesName | 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": "2024-10-30T05:09:09.8235467-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>2024-10-30T05:09:09.8235467-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.