POST api/devicelist/get_devicelist

get device list by current user

Request Information

Body Parameters

GetDevicelistModels
NameDescriptionTypeAdditional information
AccessToken

Token

string

None.

UserId

userid

integer

None.

MapType

Google

string

None.

Response Information

Resource Description

device list

DevicelistResult
NameDescriptionTypeAdditional information
Result

结果

Collection of DevicelistOutputDto

None.

State

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": [
    {
      "Imei": "sample string 1",
      "Imsi": "sample string 2",
      "Model": "sample string 3",
      "ActivateDate": "2021-09-17 21:27:05",
      "ExpireDate": "2021-09-17 21:27:05",
      "GpsTime": "sample string 6",
      "SignalTime": "sample string 7",
      "Lat": 8.1,
      "Lng": 9.1,
      "Status": 10,
      "PosType": "sample string 11",
      "Speed": 12.1,
      "Battery": 13.1
    },
    {
      "Imei": "sample string 1",
      "Imsi": "sample string 2",
      "Model": "sample string 3",
      "ActivateDate": "2021-09-17 21:27:05",
      "ExpireDate": "2021-09-17 21:27:05",
      "GpsTime": "sample string 6",
      "SignalTime": "sample string 7",
      "Lat": 8.1,
      "Lng": 9.1,
      "Status": 10,
      "PosType": "sample string 11",
      "Speed": 12.1,
      "Battery": 13.1
    }
  ],
  "State": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<DevicelistResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.OpenApi.Models.ResponseModels">
  <Msg>sample string 2</Msg>
  <State>1</State>
  <Result>
    <DevicelistOutputDto>
      <ActivateDate>2021-09-17T21:27:05.7956419+08:00</ActivateDate>
      <Battery>13.1</Battery>
      <ExpireDate>2021-09-17T21:27:05.7956419+08:00</ExpireDate>
      <GpsTime>sample string 6</GpsTime>
      <Imei>sample string 1</Imei>
      <Imsi>sample string 2</Imsi>
      <Lat>8.1</Lat>
      <Lng>9.1</Lng>
      <Model>sample string 3</Model>
      <PosType>sample string 11</PosType>
      <SignalTime>sample string 7</SignalTime>
      <Speed>12.1</Speed>
      <Status>10</Status>
    </DevicelistOutputDto>
    <DevicelistOutputDto>
      <ActivateDate>2021-09-17T21:27:05.7956419+08:00</ActivateDate>
      <Battery>13.1</Battery>
      <ExpireDate>2021-09-17T21:27:05.7956419+08:00</ExpireDate>
      <GpsTime>sample string 6</GpsTime>
      <Imei>sample string 1</Imei>
      <Imsi>sample string 2</Imsi>
      <Lat>8.1</Lat>
      <Lng>9.1</Lng>
      <Model>sample string 3</Model>
      <PosType>sample string 11</PosType>
      <SignalTime>sample string 7</SignalTime>
      <Speed>12.1</Speed>
      <Status>10</Status>
    </DevicelistOutputDto>
  </Result>
</DevicelistResult>