POST api/PositionInfoCollect/WIFICollect
Wifi信息收集
Request Information
Body Parameters
WIFICollectModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Items |
采集数据 |
Collection of WIFICollect |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Items": [
{
"MAC": "sample string 1",
"Signal": 2.0,
"Lat": 3.0,
"Lng": 4.0,
"LatLngType": 5
},
{
"MAC": "sample string 1",
"Signal": 2.0,
"Lat": 3.0,
"Lng": 4.0,
"LatLngType": 5
}
],
"Token": "sample string 1",
"Language": "sample string 2",
"AppId": "sample string 3"
}
application/xml, text/xml
Sample:
<WIFICollectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
<AppId>sample string 3</AppId>
<Language>sample string 2</Language>
<Token>sample string 1</Token>
<Items>
<WIFICollect>
<Lat>3</Lat>
<LatLngType>5</LatLngType>
<Lng>4</Lng>
<MAC>sample string 1</MAC>
<Signal>2</Signal>
</WIFICollect>
<WIFICollect>
<Lat>3</Lat>
<LatLngType>5</LatLngType>
<Lng>4</Lng>
<MAC>sample string 1</MAC>
<Signal>2</Signal>
</WIFICollect>
</Items>
</WIFICollectModel>
Response Information
Resource Description
State状态码
0. 为成功
| Name | Description | Type | Additional information |
|---|---|---|---|
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"State": 1
}
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel"> <State>1</State> </BaseResult>