GET api/UserInfoV720/GetMyReferralCode?UserInfoId={UserInfoId}&newspapergroupId={newspapergroupId}&sign={sign}&stamp={stamp}
我的推荐码
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserInfoId | integer |
Required |
|
| newspapergroupId | integer |
Default value is 0 |
|
| sign | string |
Default value is |
|
| stamp | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultDataMsgOfZaiMieApp.WebApi.ViewModel.ReferralCode| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| data | ZaiMieApp.WebApi.ViewModel.ReferralCode |
None. |
|
| addcoin | integer |
None. |
|
| message | string |
None. |
|
| page | integer |
None. |
|
| allPage | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"data": {
"Id": 1,
"userinfoId": 2,
"code": "sample string 3",
"referralCount": 4,
"shareUrl": "sample string 5",
"shareImage": "sample string 6"
},
"addcoin": 3,
"message": "sample string 4",
"page": 5,
"allPage": 6
}
application/xml, text/xml
Sample:
<ResultDataMsgOfReferralCodePr2Hy9OI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
<addcoin>3</addcoin>
<allPage>6</allPage>
<code>2</code>
<data>
<Id>1</Id>
<code>sample string 3</code>
<referralCount>4</referralCount>
<shareImage>sample string 6</shareImage>
<shareUrl>sample string 5</shareUrl>
<userinfoId>2</userinfoId>
</data>
<message>sample string 4</message>
<page>5</page>
<success>true</success>
</ResultDataMsgOfReferralCodePr2Hy9OI>