POST api/templates/removeuserfavorite

Request Information

URI Parameters

None.

Body Parameters

TemplateFavoritesDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserId

globally unique identifier

None.

RB_TemplateId

integer

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "d658a9ff-077a-4ee7-afc9-2e2eb0d28be1",
  "UserId": "1462859a-39a1-4e4e-b68f-70a6bff907c0",
  "RB_TemplateId": 3,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<TemplateFavoritesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
  <Id>d658a9ff-077a-4ee7-afc9-2e2eb0d28be1</Id>
  <IsDeleted>true</IsDeleted>
  <RB_TemplateId>3</RB_TemplateId>
  <UserId>1462859a-39a1-4e4e-b68f-70a6bff907c0</UserId>
</TemplateFavoritesDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TemplateFavoritesDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.