POST api/UserFavorite/SaveMyFavorite
Request Information
URI Parameters
None.
Body Parameters
UserFavoriteParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| SaleID | string |
None. |
|
| Catalog | string |
None. |
|
| Other | string |
None. |
|
| Quantity | integer |
None. |
|
| ProdSize | string |
None. |
|
| SuggestPrice | string |
None. |
|
| Color | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SaleID": "sample string 1",
"Catalog": "sample string 2",
"Other": "sample string 3",
"Quantity": 4,
"ProdSize": "sample string 5",
"SuggestPrice": "sample string 6",
"Color": "sample string 7"
}
application/xml, text/xml
Sample:
<UserFavoriteParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeaRun.Entity"> <Catalog>sample string 2</Catalog> <Color>sample string 7</Color> <Other>sample string 3</Other> <ProdSize>sample string 5</ProdSize> <Quantity>4</Quantity> <SaleID>sample string 1</SaleID> <SuggestPrice>sample string 6</SuggestPrice> </UserFavoriteParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OutModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Msg | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Msg": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<OutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeaRun.Api.Models"> <Code>sample string 1</Code> <Data /> <Msg>sample string 2</Msg> </OutModel>