DELETE api/Favorites/DeleteFavorite/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Favorite
NameDescriptionTypeAdditional 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": "2018-11-08T18:50:09.8461237+00:00",
  "ModifiedDate": "2018-11-08T18:50:09.8461237+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>2018-11-08T18:50:09.8461237+00:00</CreatedDate>
  <FavoriteId>1</FavoriteId>
  <IsDeleted>true</IsDeleted>
  <ModifiedDate>2018-11-08T18:50:09.8461237+00:00</ModifiedDate>
  <UserId>sample string 2</UserId>
</Favorite>