POST city/v3/QualifiedMattersH5/ReportEvent
上报事件 【k1.1】
Request
URI Params
None.
Body Params
上报事件 H5Model
ReportEventH5Model字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
EventID |
事件ID |
integer |
None. |
PsychopathId |
患者编号 |
integer |
None. |
BCategoryId |
事件大类编号 |
integer |
None. |
SCategoryId |
小类编号 |
string |
None. |
PM |
经纬度定位 |
EventPointModel |
None. |
ProvinceId |
省编号 |
integer |
None. |
ProvinceName |
省 |
string |
None. |
CityId |
市编号 |
integer |
None. |
CityName |
市 |
string |
None. |
CountyId |
县编号 |
integer |
None. |
CountyName |
县 |
string |
None. |
TownId |
镇编号 |
integer |
None. |
TownName |
镇 |
string |
None. |
VillageId |
村编号 |
integer |
None. |
VillageName |
村 |
string |
None. |
BasicGridId |
基础网格编号 |
integer |
None. |
BasicGridName |
基础网格名称 |
string |
None. |
EventDesc |
事件描述 |
string |
None. |
EventAddress |
事件地址 |
string |
None. |
EventPhotos |
事件照片 |
Collection of string |
None. |
ShootAnyTimeId |
随时拍编号 |
integer |
None. |
ReportSource |
上报来源 |
EnumReportSource |
None. |
Request Formats
application/json, text/json
Sample:
{ "EventID": "1", "PsychopathId": 2, "BCategoryId": "3", "SCategoryId": "sample string 4", "PM": { "Lon": 1.1, "Lat": 2.1 }, "ProvinceId": "5", "ProvinceName": "sample string 6", "CityId": "7", "CityName": "sample string 8", "CountyId": "9", "CountyName": "sample string 10", "TownId": "11", "TownName": "sample string 12", "VillageId": "13", "VillageName": "sample string 14", "BasicGridId": "15", "BasicGridName": "sample string 16", "EventDesc": "sample string 17", "EventAddress": "sample string 18", "EventPhotos": [ "sample string 1", "sample string 2" ], "ShootAnyTimeId": 19, "ReportSource": 1 }
application/x-www-form-urlencoded
Sample:
Response
APITResultOfBoolean字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
Data | boolean |
None. |
|
Ret |
返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效 |
integer |
None. |
ErrCode |
错误代码,因功能而异 |
integer |
None. |
Msg |
返回信息 |
string |
None. |
SeqId |
请求序列 |
integer |
None. |
InfoMsg |
API附加信息 |
string |
None. |
application/json, text/json
Sample:
{ "Data": true, "Ret": 2, "ErrCode": 3, "Msg": "sample string 4", "SeqId": 5, "InfoMsg": "sample string 6" }