DELETE api/Favorites/DeleteFavorite/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FavoriteName | Description | Type | Additional information |
---|---|---|---|
FavoriteId | integer |
None. |
|
UserId | string |
None. |
|
AlbumId | integer |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
IsDeleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "FavoriteId": 1, "UserId": "sample string 2", "AlbumId": 3, "CreatedDate": "2019-02-21T20:57:24.052479+00:00", "ModifiedDate": "2019-02-21T20:57:24.052479+00:00", "IsDeleted": true }
application/xml, text/xml
Sample:
<Favorite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.Models"> <AlbumId>3</AlbumId> <CreatedDate>2019-02-21T20:57:24.052479+00:00</CreatedDate> <FavoriteId>1</FavoriteId> <IsDeleted>true</IsDeleted> <ModifiedDate>2019-02-21T20:57:24.052479+00:00</ModifiedDate> <UserId>sample string 2</UserId> </Favorite>