POST api/PositionInfoCollect/WIFICollect

Wifi information collection

Request Information

Body Parameters

WIFICollectModel
NameDescriptionTypeAdditional information
Items

data collection

Collection of WIFICollect

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

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

Statestatus code
0. is success

BaseResult
NameDescriptionTypeAdditional information
State

status code

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>