PUT api/Favorites/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Favorite
NameDescriptionTypeAdditional information
FavoriteId

integer

None.

UserId

string

None.

AlbumId

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FavoriteId": 1,
  "UserId": "sample string 2",
  "AlbumId": 3,
  "CreatedDate": "2018-05-11T08:22:10.9194982+00:00",
  "ModifiedDate": "2018-05-11T08:22:10.9194982+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-05-11T08:22:11.0445311+00:00</CreatedDate>
  <FavoriteId>1</FavoriteId>
  <IsDeleted>true</IsDeleted>
  <ModifiedDate>2018-05-11T08:22:10.9194982+00:00</ModifiedDate>
  <UserId>sample string 2</UserId>
</Favorite>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.