POST api/Device/PersonDeviceList

Personal device list [for watch]

Request Information

Body Parameters

PersonDeviceListModel
NameDescriptionTypeAdditional information
UserId

user id

integer

None.

GroupId

grouping Id

integer

None.

MapType

address type

string

None.

LastTime

Last achieve time

date

None.

TimeOffset

Between Utc0 time difference

decimal number

None.

LoginName

string

None.

DeviceId

integer

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:
{
  "UserId": 1,
  "GroupId": 2,
  "MapType": "sample string 3",
  "LastTime": "2018-12-19T05:26:10.7532031+08:00",
  "TimeOffset": 5.1,
  "LoginName": "sample string 6",
  "DeviceId": 7,
  "Token": "sample string 8",
  "Language": "sample string 9",
  "AppId": "sample string 10"
}

application/xml, text/xml

Sample:
<PersonDeviceListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 10</AppId>
  <Language>sample string 9</Language>
  <Token>sample string 8</Token>
  <DeviceId>7</DeviceId>
  <GroupId>2</GroupId>
  <LastTime>2018-12-19T05:26:10.7532031+08:00</LastTime>
  <LoginName>sample string 6</LoginName>
  <MapType>sample string 3</MapType>
  <TimeOffset>5.1</TimeOffset>
  <UserId>1</UserId>
</PersonDeviceListModel>

Response Information

Resource Description

Statestatus codeillustrate:
0. Indicates success
100. There are tons of things

PersonDeviceListResult
NameDescriptionTypeAdditional information
Items

device list

Collection of PersonDeviceInfo

None.

ExceptionCount

The alarm number

integer

None.

MessageCount

number of message

integer

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Id": 1,
      "Acc": 2,
      "SerialNumber": "sample string 3",
      "IsValiName": "sample string 4",
      "IsActivation": true,
      "DeviceType": 6,
      "IsMobile": true,
      "NickName": "sample string 8",
      "Name": "sample string 9",
      "Status": 10,
      "Icon": "sample string 11",
      "Avatar": "sample string 12",
      "PUK": "sample string 13",
      "Latitude": 14.0,
      "Longitude": 15.0,
      "OLat": 16.0,
      "OLng": 17.0,
      "DeviceUtcTime": "sample string 18",
      "Course": 19.0,
      "Type": "sample string 20",
      "TypeValue": 21,
      "IsShared": true,
      "Battery": 23,
      "Satellite": 24,
      "PositionType": 25,
      "Signal": 26,
      "Functions": "sample string 27",
      "HomeFx": "sample string 28",
      "UserGroupId": 29,
      "LastCommunication": "sample string 30",
      "Sim": "sample string 31",
      "MainPhone": "sample string 32",
      "QuickListen": true,
      "DeviceParams": "sample string 34",
      "Steps": 35,
      "NewVoiceCount": 36,
      "AfterSaleService": "sample string 37",
      "SaleServiceName": "sample string 38",
      "SaleServiceInfo": "sample string 39",
      "SaleServicePhone": "sample string 40",
      "Protocol": "sample string 41",
      "Model": 42,
      "ActiveDate": "2018-12-19T05:26:10.7590625+08:00",
      "ExpireDate": "2018-12-19T05:26:10.7590625+08:00",
      "VaildateDays": 45,
      "FenceConfig": {
        "Period": true,
        "AlarmType": "sample string 2",
        "Maximum": 3,
        "IsNeedSwitch": true
      },
      "Openlamp": 46,
      "HealthConfig": {
        "Step": true,
        "Sleep": true,
        "HeartRate": true,
        "BloodPressure": true,
        "BloodSugar": true
      },
      "UserMenu": [
        {
          "Type": 1,
          "Name": "sample string 2",
          "DeviceId": 3
        },
        {
          "Type": 1,
          "Name": "sample string 2",
          "DeviceId": 3
        }
      ],
      "Speed": 47.0,
      "OriginalUserId": 48,
      "IsMonitor": true,
      "NewVer": true,
      "BSJIP": "sample string 51",
      "IMSI": "sample string 52",
      "MarkerColor": 53,
      "SimChange": true,
      "KSoftVersion": "sample string 55",
      "IllegalSim": true,
      "Radius": 57,
      "Wear": true,
      "ApStatus": 59,
      "ApTime": "sample string 60",
      "ThirdUserName": "sample string 61"
    },
    {
      "Id": 1,
      "Acc": 2,
      "SerialNumber": "sample string 3",
      "IsValiName": "sample string 4",
      "IsActivation": true,
      "DeviceType": 6,
      "IsMobile": true,
      "NickName": "sample string 8",
      "Name": "sample string 9",
      "Status": 10,
      "Icon": "sample string 11",
      "Avatar": "sample string 12",
      "PUK": "sample string 13",
      "Latitude": 14.0,
      "Longitude": 15.0,
      "OLat": 16.0,
      "OLng": 17.0,
      "DeviceUtcTime": "sample string 18",
      "Course": 19.0,
      "Type": "sample string 20",
      "TypeValue": 21,
      "IsShared": true,
      "Battery": 23,
      "Satellite": 24,
      "PositionType": 25,
      "Signal": 26,
      "Functions": "sample string 27",
      "HomeFx": "sample string 28",
      "UserGroupId": 29,
      "LastCommunication": "sample string 30",
      "Sim": "sample string 31",
      "MainPhone": "sample string 32",
      "QuickListen": true,
      "DeviceParams": "sample string 34",
      "Steps": 35,
      "NewVoiceCount": 36,
      "AfterSaleService": "sample string 37",
      "SaleServiceName": "sample string 38",
      "SaleServiceInfo": "sample string 39",
      "SaleServicePhone": "sample string 40",
      "Protocol": "sample string 41",
      "Model": 42,
      "ActiveDate": "2018-12-19T05:26:10.7590625+08:00",
      "ExpireDate": "2018-12-19T05:26:10.7590625+08:00",
      "VaildateDays": 45,
      "FenceConfig": {
        "Period": true,
        "AlarmType": "sample string 2",
        "Maximum": 3,
        "IsNeedSwitch": true
      },
      "Openlamp": 46,
      "HealthConfig": {
        "Step": true,
        "Sleep": true,
        "HeartRate": true,
        "BloodPressure": true,
        "BloodSugar": true
      },
      "UserMenu": [
        {
          "Type": 1,
          "Name": "sample string 2",
          "DeviceId": 3
        },
        {
          "Type": 1,
          "Name": "sample string 2",
          "DeviceId": 3
        }
      ],
      "Speed": 47.0,
      "OriginalUserId": 48,
      "IsMonitor": true,
      "NewVer": true,
      "BSJIP": "sample string 51",
      "IMSI": "sample string 52",
      "MarkerColor": 53,
      "SimChange": true,
      "KSoftVersion": "sample string 55",
      "IllegalSim": true,
      "Radius": 57,
      "Wear": true,
      "ApStatus": 59,
      "ApTime": "sample string 60",
      "ThirdUserName": "sample string 61"
    }
  ],
  "ExceptionCount": 1,
  "MessageCount": 2,
  "State": 3
}

application/xml, text/xml

Sample:
<PersonDeviceListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>3</State>
  <ExceptionCount>1</ExceptionCount>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:PersonDeviceInfo>
      <d2p1:Acc>2</d2p1:Acc>
      <d2p1:ActiveDate>2018-12-19T05:26:10.7590625+08:00</d2p1:ActiveDate>
      <d2p1:AfterSaleService>sample string 37</d2p1:AfterSaleService>
      <d2p1:ApStatus>59</d2p1:ApStatus>
      <d2p1:ApTime>sample string 60</d2p1:ApTime>
      <d2p1:Avatar>sample string 12</d2p1:Avatar>
      <d2p1:BSJIP>sample string 51</d2p1:BSJIP>
      <d2p1:Battery>23</d2p1:Battery>
      <d2p1:Course>19</d2p1:Course>
      <d2p1:DeviceParams>sample string 34</d2p1:DeviceParams>
      <d2p1:DeviceType>6</d2p1:DeviceType>
      <d2p1:DeviceUtcTime>sample string 18</d2p1:DeviceUtcTime>
      <d2p1:ExpireDate>2018-12-19T05:26:10.7590625+08:00</d2p1:ExpireDate>
      <d2p1:FenceConfig>
        <d2p1:AlarmType>sample string 2</d2p1:AlarmType>
        <d2p1:IsNeedSwitch>true</d2p1:IsNeedSwitch>
        <d2p1:Maximum>3</d2p1:Maximum>
        <d2p1:Period>true</d2p1:Period>
      </d2p1:FenceConfig>
      <d2p1:Functions>sample string 27</d2p1:Functions>
      <d2p1:HealthConfig>
        <d2p1:BloodPressure>true</d2p1:BloodPressure>
        <d2p1:BloodSugar>true</d2p1:BloodSugar>
        <d2p1:HeartRate>true</d2p1:HeartRate>
        <d2p1:Sleep>true</d2p1:Sleep>
        <d2p1:Step>true</d2p1:Step>
      </d2p1:HealthConfig>
      <d2p1:HomeFx>sample string 28</d2p1:HomeFx>
      <d2p1:IMSI>sample string 52</d2p1:IMSI>
      <d2p1:Icon>sample string 11</d2p1:Icon>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IllegalSim>true</d2p1:IllegalSim>
      <d2p1:IsActivation>true</d2p1:IsActivation>
      <d2p1:IsMobile>true</d2p1:IsMobile>
      <d2p1:IsMonitor>true</d2p1:IsMonitor>
      <d2p1:IsShared>true</d2p1:IsShared>
      <d2p1:IsValiName>sample string 4</d2p1:IsValiName>
      <d2p1:KSoftVersion>sample string 55</d2p1:KSoftVersion>
      <d2p1:LastCommunication>sample string 30</d2p1:LastCommunication>
      <d2p1:Latitude>14</d2p1:Latitude>
      <d2p1:Longitude>15</d2p1:Longitude>
      <d2p1:MainPhone>sample string 32</d2p1:MainPhone>
      <d2p1:MarkerColor>53</d2p1:MarkerColor>
      <d2p1:Model>42</d2p1:Model>
      <d2p1:Name>sample string 9</d2p1:Name>
      <d2p1:NewVer>true</d2p1:NewVer>
      <d2p1:NewVoiceCount>36</d2p1:NewVoiceCount>
      <d2p1:NickName>sample string 8</d2p1:NickName>
      <d2p1:OLat>16</d2p1:OLat>
      <d2p1:OLng>17</d2p1:OLng>
      <d2p1:Openlamp>46</d2p1:Openlamp>
      <d2p1:OriginalUserId>48</d2p1:OriginalUserId>
      <d2p1:PUK>sample string 13</d2p1:PUK>
      <d2p1:PositionType>25</d2p1:PositionType>
      <d2p1:Protocol>sample string 41</d2p1:Protocol>
      <d2p1:QuickListen>true</d2p1:QuickListen>
      <d2p1:Radius>57</d2p1:Radius>
      <d2p1:SaleServiceInfo>sample string 39</d2p1:SaleServiceInfo>
      <d2p1:SaleServiceName>sample string 38</d2p1:SaleServiceName>
      <d2p1:SaleServicePhone>sample string 40</d2p1:SaleServicePhone>
      <d2p1:Satellite>24</d2p1:Satellite>
      <d2p1:SerialNumber>sample string 3</d2p1:SerialNumber>
      <d2p1:Signal>26</d2p1:Signal>
      <d2p1:Sim>sample string 31</d2p1:Sim>
      <d2p1:SimChange>true</d2p1:SimChange>
      <d2p1:Speed>47</d2p1:Speed>
      <d2p1:Status>10</d2p1:Status>
      <d2p1:Steps>35</d2p1:Steps>
      <d2p1:ThirdUserName>sample string 61</d2p1:ThirdUserName>
      <d2p1:Type>sample string 20</d2p1:Type>
      <d2p1:TypeValue>21</d2p1:TypeValue>
      <d2p1:UserGroupId>29</d2p1:UserGroupId>
      <d2p1:UserMenu xmlns:d4p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
        <d4p1:UserMenu>
          <d4p1:DeviceId>3</d4p1:DeviceId>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Type>1</d4p1:Type>
        </d4p1:UserMenu>
        <d4p1:UserMenu>
          <d4p1:DeviceId>3</d4p1:DeviceId>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Type>1</d4p1:Type>
        </d4p1:UserMenu>
      </d2p1:UserMenu>
      <d2p1:VaildateDays>45</d2p1:VaildateDays>
      <d2p1:Wear>true</d2p1:Wear>
    </d2p1:PersonDeviceInfo>
    <d2p1:PersonDeviceInfo>
      <d2p1:Acc>2</d2p1:Acc>
      <d2p1:ActiveDate>2018-12-19T05:26:10.7590625+08:00</d2p1:ActiveDate>
      <d2p1:AfterSaleService>sample string 37</d2p1:AfterSaleService>
      <d2p1:ApStatus>59</d2p1:ApStatus>
      <d2p1:ApTime>sample string 60</d2p1:ApTime>
      <d2p1:Avatar>sample string 12</d2p1:Avatar>
      <d2p1:BSJIP>sample string 51</d2p1:BSJIP>
      <d2p1:Battery>23</d2p1:Battery>
      <d2p1:Course>19</d2p1:Course>
      <d2p1:DeviceParams>sample string 34</d2p1:DeviceParams>
      <d2p1:DeviceType>6</d2p1:DeviceType>
      <d2p1:DeviceUtcTime>sample string 18</d2p1:DeviceUtcTime>
      <d2p1:ExpireDate>2018-12-19T05:26:10.7590625+08:00</d2p1:ExpireDate>
      <d2p1:FenceConfig>
        <d2p1:AlarmType>sample string 2</d2p1:AlarmType>
        <d2p1:IsNeedSwitch>true</d2p1:IsNeedSwitch>
        <d2p1:Maximum>3</d2p1:Maximum>
        <d2p1:Period>true</d2p1:Period>
      </d2p1:FenceConfig>
      <d2p1:Functions>sample string 27</d2p1:Functions>
      <d2p1:HealthConfig>
        <d2p1:BloodPressure>true</d2p1:BloodPressure>
        <d2p1:BloodSugar>true</d2p1:BloodSugar>
        <d2p1:HeartRate>true</d2p1:HeartRate>
        <d2p1:Sleep>true</d2p1:Sleep>
        <d2p1:Step>true</d2p1:Step>
      </d2p1:HealthConfig>
      <d2p1:HomeFx>sample string 28</d2p1:HomeFx>
      <d2p1:IMSI>sample string 52</d2p1:IMSI>
      <d2p1:Icon>sample string 11</d2p1:Icon>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IllegalSim>true</d2p1:IllegalSim>
      <d2p1:IsActivation>true</d2p1:IsActivation>
      <d2p1:IsMobile>true</d2p1:IsMobile>
      <d2p1:IsMonitor>true</d2p1:IsMonitor>
      <d2p1:IsShared>true</d2p1:IsShared>
      <d2p1:IsValiName>sample string 4</d2p1:IsValiName>
      <d2p1:KSoftVersion>sample string 55</d2p1:KSoftVersion>
      <d2p1:LastCommunication>sample string 30</d2p1:LastCommunication>
      <d2p1:Latitude>14</d2p1:Latitude>
      <d2p1:Longitude>15</d2p1:Longitude>
      <d2p1:MainPhone>sample string 32</d2p1:MainPhone>
      <d2p1:MarkerColor>53</d2p1:MarkerColor>
      <d2p1:Model>42</d2p1:Model>
      <d2p1:Name>sample string 9</d2p1:Name>
      <d2p1:NewVer>true</d2p1:NewVer>
      <d2p1:NewVoiceCount>36</d2p1:NewVoiceCount>
      <d2p1:NickName>sample string 8</d2p1:NickName>
      <d2p1:OLat>16</d2p1:OLat>
      <d2p1:OLng>17</d2p1:OLng>
      <d2p1:Openlamp>46</d2p1:Openlamp>
      <d2p1:OriginalUserId>48</d2p1:OriginalUserId>
      <d2p1:PUK>sample string 13</d2p1:PUK>
      <d2p1:PositionType>25</d2p1:PositionType>
      <d2p1:Protocol>sample string 41</d2p1:Protocol>
      <d2p1:QuickListen>true</d2p1:QuickListen>
      <d2p1:Radius>57</d2p1:Radius>
      <d2p1:SaleServiceInfo>sample string 39</d2p1:SaleServiceInfo>
      <d2p1:SaleServiceName>sample string 38</d2p1:SaleServiceName>
      <d2p1:SaleServicePhone>sample string 40</d2p1:SaleServicePhone>
      <d2p1:Satellite>24</d2p1:Satellite>
      <d2p1:SerialNumber>sample string 3</d2p1:SerialNumber>
      <d2p1:Signal>26</d2p1:Signal>
      <d2p1:Sim>sample string 31</d2p1:Sim>
      <d2p1:SimChange>true</d2p1:SimChange>
      <d2p1:Speed>47</d2p1:Speed>
      <d2p1:Status>10</d2p1:Status>
      <d2p1:Steps>35</d2p1:Steps>
      <d2p1:ThirdUserName>sample string 61</d2p1:ThirdUserName>
      <d2p1:Type>sample string 20</d2p1:Type>
      <d2p1:TypeValue>21</d2p1:TypeValue>
      <d2p1:UserGroupId>29</d2p1:UserGroupId>
      <d2p1:UserMenu xmlns:d4p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
        <d4p1:UserMenu>
          <d4p1:DeviceId>3</d4p1:DeviceId>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Type>1</d4p1:Type>
        </d4p1:UserMenu>
        <d4p1:UserMenu>
          <d4p1:DeviceId>3</d4p1:DeviceId>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:Type>1</d4p1:Type>
        </d4p1:UserMenu>
      </d2p1:UserMenu>
      <d2p1:VaildateDays>45</d2p1:VaildateDays>
      <d2p1:Wear>true</d2p1:Wear>
    </d2p1:PersonDeviceInfo>
  </Items>
  <MessageCount>2</MessageCount>
</PersonDeviceListResult>