POST api/v2/member/favorite/collection
添加收藏
Request Information
URI Parameters
None.
Body Parameters
FavoriteContractName | Description | Type | Additional information |
---|---|---|---|
memberId |
会员ID |
integer |
None. |
relationId |
产品ID |
string |
None. |
itemType |
订单产品类型(4.TourGroup,5.LocalTravel) |
ItemType |
None. |
Request Formats
application/json, text/json
Sample:
{ "memberId": 1, "relationId": "sample string 2", "itemType": 0 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
添加收藏
ReturnResultName | Description | Type | Additional information |
---|---|---|---|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2" }