POST api/PositionInfoCollect/LBSCollect

LBS信息收集

Request Information

Body Parameters

LBSCollectModel
NameDescriptionTypeAdditional information
Items

数据集合

Collection of LBSCollect

None.

Token

登录后获取到的 Token

string

None.

Language

语言选项

string

None.

AppId

APP应用标识

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "MCC": 1,
      "MNC": 2,
      "LAC": 3,
      "CID": 4,
      "Signal": 5.0,
      "Lat": 6.0,
      "Lng": 7.0,
      "LatLngType": 8
    },
    {
      "MCC": 1,
      "MNC": 2,
      "LAC": 3,
      "CID": 4,
      "Signal": 5.0,
      "Lat": 6.0,
      "Lng": 7.0,
      "LatLngType": 8
    }
  ],
  "Token": "sample string 1",
  "Language": "sample string 2",
  "AppId": "sample string 3"
}

application/xml, text/xml

Sample:
<LBSCollectModel 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>
    <LBSCollect>
      <CID>4</CID>
      <LAC>3</LAC>
      <Lat>6</Lat>
      <LatLngType>8</LatLngType>
      <Lng>7</Lng>
      <MCC>1</MCC>
      <MNC>2</MNC>
      <Signal>5</Signal>
    </LBSCollect>
    <LBSCollect>
      <CID>4</CID>
      <LAC>3</LAC>
      <Lat>6</Lat>
      <LatLngType>8</LatLngType>
      <Lng>7</Lng>
      <MCC>1</MCC>
      <MNC>2</MNC>
      <Signal>5</Signal>
    </LBSCollect>
  </Items>
</LBSCollectModel>

Response Information

Resource Description

State状态码
0 为成功

BaseResult
NameDescriptionTypeAdditional 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>