POST api/UpdateRecommend
Qly gian hàng: Update Giới thiệu Note: Cần truyền cả description cũ và descritiontemp lên để so sánh
Request Information
Requires Authorization!
Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SalonUserRecomendUpdate |
SalonUserRecomendUpdate |
SalonUserRecomendUpdate |
None. |
Body Parameters
SalonUserRecomendUpdateName | Description | Type | Additional information |
---|---|---|---|
uploadImageSalon | string |
None. |
|
DescriptionTemp | string |
None. |
|
Description | string |
None. |
|
Address | string |
None. |
|
Mobile | string |
None. |
|
Zalo | string |
None. |
|
string |
None. |
||
type | integer |
None. |
|
salonSalemanID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "uploadImageSalon": "sample string 1", "DescriptionTemp": "sample string 2", "Description": "sample string 3", "Address": "sample string 4", "Mobile": "sample string 5", "Zalo": "sample string 6", "Facebook": "sample string 7", "type": 8, "salonSalemanID": 9 }
application/xml, text/xml
Sample:
<SalonUserRecomendUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <salonSalemanID>9</salonSalemanID> <type>8</type> <Address>sample string 4</Address> <Description>sample string 3</Description> <DescriptionTemp>sample string 2</DescriptionTemp> <Facebook>sample string 7</Facebook> <Mobile>sample string 5</Mobile> <Zalo>sample string 6</Zalo> <uploadImageSalon>sample string 1</uploadImageSalon> </SalonUserRecomendUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataReturnObjName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Message | string |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Data": "sample string 3" }
application/xml, text/xml
Sample:
<DataReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Status>1</Status> </DataReturnObj>