POST api/AuthShare/ShareList

Guardian list

Request Information

Body Parameters

device guardian list parameters

ShareListModel
NameDescriptionTypeAdditional information
DeviceId

device id

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:
{
  "DeviceId": 1,
  "Token": "sample string 2",
  "Language": "sample string 3",
  "AppId": "sample string 4"
}

application/xml, text/xml

Sample:
<ShareListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 4</AppId>
  <Language>sample string 3</Language>
  <Token>sample string 2</Token>
  <DeviceId>1</DeviceId>
</ShareListModel>

Response Information

Resource Description

State valus is:
0. Indicates success
100. Success but no data list

ShareListResult
NameDescriptionTypeAdditional information
Items

Annual inspection information collection

Collection of Guarder

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Nickname": "sample string 1",
      "UserId": 2,
      "UserGroupId": 3,
      "DeviceId": 4,
      "GroupName": "sample string 5",
      "Username": "sample string 6",
      "DeviceName": "sample string 7",
      "SerialNumber": "sample string 8",
      "Avatar": "sample string 9",
      "IsAdmin": true,
      "Phone": "sample string 11",
      "RelationName": "sample string 12",
      "RelationPhone": "sample string 13",
      "LoginName": "sample string 14",
      "IsDefault": true,
      "IsSos": true
    },
    {
      "Nickname": "sample string 1",
      "UserId": 2,
      "UserGroupId": 3,
      "DeviceId": 4,
      "GroupName": "sample string 5",
      "Username": "sample string 6",
      "DeviceName": "sample string 7",
      "SerialNumber": "sample string 8",
      "Avatar": "sample string 9",
      "IsAdmin": true,
      "Phone": "sample string 11",
      "RelationName": "sample string 12",
      "RelationPhone": "sample string 13",
      "LoginName": "sample string 14",
      "IsDefault": true,
      "IsSos": true
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<ShareListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Model">
    <d2p1:Guarder>
      <d2p1:Avatar>sample string 9</d2p1:Avatar>
      <d2p1:DeviceId>4</d2p1:DeviceId>
      <d2p1:DeviceName>sample string 7</d2p1:DeviceName>
      <d2p1:GroupName>sample string 5</d2p1:GroupName>
      <d2p1:IsAdmin>true</d2p1:IsAdmin>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:IsSos>true</d2p1:IsSos>
      <d2p1:LoginName>sample string 14</d2p1:LoginName>
      <d2p1:Nickname>sample string 1</d2p1:Nickname>
      <d2p1:Phone>sample string 11</d2p1:Phone>
      <d2p1:RelationName>sample string 12</d2p1:RelationName>
      <d2p1:RelationPhone>sample string 13</d2p1:RelationPhone>
      <d2p1:SerialNumber>sample string 8</d2p1:SerialNumber>
      <d2p1:UserGroupId>3</d2p1:UserGroupId>
      <d2p1:UserId>2</d2p1:UserId>
      <d2p1:Username>sample string 6</d2p1:Username>
    </d2p1:Guarder>
    <d2p1:Guarder>
      <d2p1:Avatar>sample string 9</d2p1:Avatar>
      <d2p1:DeviceId>4</d2p1:DeviceId>
      <d2p1:DeviceName>sample string 7</d2p1:DeviceName>
      <d2p1:GroupName>sample string 5</d2p1:GroupName>
      <d2p1:IsAdmin>true</d2p1:IsAdmin>
      <d2p1:IsDefault>true</d2p1:IsDefault>
      <d2p1:IsSos>true</d2p1:IsSos>
      <d2p1:LoginName>sample string 14</d2p1:LoginName>
      <d2p1:Nickname>sample string 1</d2p1:Nickname>
      <d2p1:Phone>sample string 11</d2p1:Phone>
      <d2p1:RelationName>sample string 12</d2p1:RelationName>
      <d2p1:RelationPhone>sample string 13</d2p1:RelationPhone>
      <d2p1:SerialNumber>sample string 8</d2p1:SerialNumber>
      <d2p1:UserGroupId>3</d2p1:UserGroupId>
      <d2p1:UserId>2</d2p1:UserId>
      <d2p1:Username>sample string 6</d2p1:Username>
    </d2p1:Guarder>
  </Items>
</ShareListResult>