POST api/YoungReporterV770/ApplyReporter
申请为小记者
Request Information
URI Parameters
None.
Body Parameters
ZaiMieApp.WebApi.ViewModel.Young.ReporterView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| reporterNO |
记者号 |
string |
None. |
| realName |
真实姓名 |
string |
None. |
| phone |
联系电话 |
string |
None. |
| school |
学校 |
string |
None. |
| grade |
当前的年级 |
integer |
None. |
| className |
当前班级 |
string |
None. |
| sex |
性别 1-男 0-女 |
integer |
None. |
| avatar |
头像 |
string |
None. |
| score |
积分 |
integer |
None. |
| joinActivityCount |
参加活动数量 |
integer |
None. |
| yearScore |
年度积分 |
integer |
None. |
| myArticleCount |
我的投稿数量 |
integer |
None. |
| myCertificate |
我的证书数量 |
integer |
None. |
| ThisMonthScore |
本月积分 |
integer |
None. |
| reporterType |
小记者类型,1-预备小记者 2-甘肃小记者 |
integer |
None. |
| reporterExpireDate |
小记者到期时间 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"reporterNO": "sample string 2",
"realName": "sample string 3",
"phone": "sample string 4",
"school": "sample string 5",
"grade": 6,
"className": "sample string 7",
"sex": 8,
"avatar": "sample string 9",
"score": 10,
"joinActivityCount": 11,
"yearScore": 12,
"myArticleCount": 13,
"myCertificate": 14,
"ThisMonthScore": 15,
"reporterType": 16,
"reporterExpireDate": "sample string 17"
}
application/xml, text/xml
Sample:
<ReporterView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel.Young"> <Id>1</Id> <ThisMonthScore>15</ThisMonthScore> <avatar>sample string 9</avatar> <className>sample string 7</className> <grade>6</grade> <joinActivityCount>11</joinActivityCount> <myArticleCount>13</myArticleCount> <myCertificate>14</myCertificate> <phone>sample string 4</phone> <realName>sample string 3</realName> <reporterExpireDate>sample string 17</reporterExpireDate> <reporterNO>sample string 2</reporterNO> <reporterType>16</reporterType> <school>sample string 5</school> <score>10</score> <sex>8</sex> <yearScore>12</yearScore> </ReporterView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| addcoin |
赠送的金币 |
integer |
None. |
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"addcoin": 3,
"message": "sample string 4"
}
application/xml, text/xml
Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <addcoin>3</addcoin> <code>2</code> <message>sample string 4</message> <success>true</success> </ResultMsg>