POST Dealer/RegisterFavoriteProduct
Request Information
URI Parameters
None.
Body Parameters
FavoriteProductEN| Name | Description | Type | Additional 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:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |