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": "a041f204-2a65-4ad1-bc89-ab8ea2867fc1",
  "UserId": "fac09b28-8585-4d88-8252-8ac6c9b1f783",
  "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>a041f204-2a65-4ad1-bc89-ab8ea2867fc1</Id>
  <IsDeleted>true</IsDeleted>
  <RB_TemplateId>3</RB_TemplateId>
  <UserId>fac09b28-8585-4d88-8252-8ac6c9b1f783</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.