POST api/CommunityV770/CompleteEpidemicSurvey
填报防疫调查表
Request Information
URI Parameters
None.
Body Parameters
ZaiMieApp.WebApi.ViewModel.PostEpidemicSurvey| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| fullName |
全名 |
string |
None. |
| phone |
手机号 |
string |
None. |
| code |
验证码 |
string |
None. |
| idCard |
身份证号码 |
string |
None. |
| streetId |
街道 |
integer |
None. |
| communityId |
所属社区 |
integer |
None. |
| residenceId |
小区id |
integer |
None. |
| addressDetail |
地址 具体到门牌号 |
string |
None. |
| arriveDate |
来兰返兰日期 |
string |
None. |
| comeFromProvince |
来自何地-省 |
string |
None. |
| comeFromCity |
来自何地-市 |
string |
None. |
| comeReason |
来兰原因 |
integer |
None. |
| conveyance |
交通工具 |
integer |
None. |
| conveyanceInfo |
交通信息(车牌号、航班号) |
string |
None. |
| hadCOVID |
是否有新冠史 |
boolean |
None. |
| threeDayHadDisease |
三天内是否有不适的症状 |
boolean |
None. |
| tripCity |
十四天去过的城市 |
string |
None. |
| tripQrcode |
行程码 |
string |
None. |
| healthQrcode |
健康码 |
string |
None. |
| peerTripCount |
同行人数 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"fullName": "sample string 2",
"phone": "sample string 3",
"code": "sample string 4",
"idCard": "sample string 5",
"streetId": 6,
"communityId": 7,
"residenceId": 8,
"addressDetail": "sample string 9",
"arriveDate": "sample string 10",
"comeFromProvince": "sample string 11",
"comeFromCity": "sample string 12",
"comeReason": 13,
"conveyance": 14,
"conveyanceInfo": "sample string 15",
"hadCOVID": true,
"threeDayHadDisease": true,
"tripCity": "sample string 18",
"tripQrcode": "sample string 19",
"healthQrcode": "sample string 20",
"peerTripCount": 21
}
application/xml, text/xml
Sample:
<PostEpidemicSurvey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <addressDetail>sample string 9</addressDetail> <arriveDate>sample string 10</arriveDate> <code>sample string 4</code> <comeFromCity>sample string 12</comeFromCity> <comeFromProvince>sample string 11</comeFromProvince> <comeReason>13</comeReason> <communityId>7</communityId> <conveyance>14</conveyance> <conveyanceInfo>sample string 15</conveyanceInfo> <fullName>sample string 2</fullName> <hadCOVID>true</hadCOVID> <healthQrcode>sample string 20</healthQrcode> <id>1</id> <idCard>sample string 5</idCard> <peerTripCount>21</peerTripCount> <phone>sample string 3</phone> <residenceId>8</residenceId> <streetId>6</streetId> <threeDayHadDisease>true</threeDayHadDisease> <tripCity>sample string 18</tripCity> <tripQrcode>sample string 19</tripQrcode> </PostEpidemicSurvey>
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>