POST Dealer/DeleteFavoriteProduct

Request Information

URI Parameters

None.

Body Parameters

FavoriteProductEN
NameDescriptionTypeAdditional information
Id

integer

None.

PersonID

integer

None.

ProductID

integer

None.

DistributorID

integer

None.

Amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PersonID": 2,
  "ProductID": 3,
  "DistributorID": 4,
  "Amount": 5.0
}

application/xml, text/xml

Sample:
<FavoriteProductEN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
  <Amount>5</Amount>
  <DistributorID>4</DistributorID>
  <Id>1</Id>
  <PersonID>2</PersonID>
  <ProductID>3</ProductID>
</FavoriteProductEN>

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 'FavoriteProductEN'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.