GET api/{area}/OEUser/GetMedalOfHonor?aid={aid}&shopId={shopId}
获取荣誉小勋章
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| aid |
用户Id |
string |
Required |
| shopId |
商城Id |
string |
Required |
| area | string |
None. |
Body Parameters
None.
Response Information
Resource Description
MedalOfHonorList| Name | Description | Type | Additional information |
|---|---|---|---|
| MedalOfHonor |
荣誉小勋章 |
Collection of MedalOfHonorInfo |
None. |
| RuleList |
勋章规则 |
Collection of RuleText |
None. |
| LoginCount |
连续登陆次数 |
string |
None. |
| AccountImage |
会员头像 |
string |
None. |
| Received |
已领取 |
boolean |
None. |
| CanReceived |
可领取 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"MedalOfHonor": [
{
"Img": "sample string 1",
"Name": "sample string 2",
"IsIllume": true
},
{
"Img": "sample string 1",
"Name": "sample string 2",
"IsIllume": true
}
],
"RuleList": [
{
"Text": "sample string 1"
},
{
"Text": "sample string 1"
}
],
"LoginCount": "sample string 1",
"AccountImage": "sample string 2",
"Received": true,
"CanReceived": true
}
application/xml, text/xml
Sample:
<MedalOfHonorList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.OnlineEducation.Models">
<AccountImage>sample string 2</AccountImage>
<CanReceived>true</CanReceived>
<LoginCount>sample string 1</LoginCount>
<MedalOfHonor>
<MedalOfHonorInfo>
<Img>sample string 1</Img>
<IsIllume>true</IsIllume>
<Name>sample string 2</Name>
</MedalOfHonorInfo>
<MedalOfHonorInfo>
<Img>sample string 1</Img>
<IsIllume>true</IsIllume>
<Name>sample string 2</Name>
</MedalOfHonorInfo>
</MedalOfHonor>
<Received>true</Received>
<RuleList>
<RuleText>
<Text>sample string 1</Text>
</RuleText>
<RuleText>
<Text>sample string 1</Text>
</RuleText>
</RuleList>
</MedalOfHonorList>