POST api/Dance/GetChinaGuardian

Get the guardian data

Request Information

Body Parameters

DanceInfoModel
NameDescriptionTypeAdditional information
DeviceId

device id

integer

None.

Type

Type 1 Last ranking 2: this week's ranking

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

application/xml, text/xml

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

Response Information

Resource Description

0:success
1100:device does not exist
3000:no data

ChinaGuardianResult
NameDescriptionTypeAdditional information
GuardiansList

Guardian information

Collection of Guardian

None.

MemberInfo

person under guardianship information

PersonProfile

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "GuardiansList": [
    {
      "Id": 1,
      "User_Id": 2,
      "Tutelage_Name": "sample string 3",
      "Tutelage_Sex": "sample string 4",
      "Tutelage_Relation": "sample string 5",
      "Tutelage_Phone": "sample string 6",
      "Tutelage_Telphone": "sample string 7",
      "Tutelage_Unitphone": "sample string 8",
      "Tutelage_Unit": "sample string 9",
      "Tutelage_Address": "sample string 10",
      "Tutelage_Seq": 11
    },
    {
      "Id": 1,
      "User_Id": 2,
      "Tutelage_Name": "sample string 3",
      "Tutelage_Sex": "sample string 4",
      "Tutelage_Relation": "sample string 5",
      "Tutelage_Phone": "sample string 6",
      "Tutelage_Telphone": "sample string 7",
      "Tutelage_Unitphone": "sample string 8",
      "Tutelage_Unit": "sample string 9",
      "Tutelage_Address": "sample string 10",
      "Tutelage_Seq": 11
    }
  ],
  "MemberInfo": {
    "BloodType": "sample string 1",
    "CellPhone": "sample string 2",
    "CellPhone2": "sample string 3",
    "Address": "sample string 4",
    "Age": 5,
    "Birthday": "2018-10-24T11:46:02.6390214+08:00",
    "DeviceID": 7,
    "Grade": "sample string 8",
    "Area": "sample string 9",
    "Gender": 10,
    "Height": 11,
    "Nickname": "sample string 12",
    "UpdateTime": "2018-10-24T11:46:02.6390214+08:00",
    "Weight": 14.0,
    "Condition": "sample string 15",
    "Notes": "sample string 16",
    "Allergic": "sample string 17",
    "Organ": 18,
    "Drug": "sample string 19",
    "IDnumber": "sample string 20",
    "Breed": "sample string 21",
    "Remark": "sample string 22",
    "Context": "sample string 23",
    "School": "sample string 24"
  },
  "State": 1
}

application/xml, text/xml

Sample:
<ChinaGuardianResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <GuardiansList xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
    <d2p1:Guardian>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Tutelage_Address>sample string 10</d2p1:Tutelage_Address>
      <d2p1:Tutelage_Name>sample string 3</d2p1:Tutelage_Name>
      <d2p1:Tutelage_Phone>sample string 6</d2p1:Tutelage_Phone>
      <d2p1:Tutelage_Relation>sample string 5</d2p1:Tutelage_Relation>
      <d2p1:Tutelage_Seq>11</d2p1:Tutelage_Seq>
      <d2p1:Tutelage_Sex>sample string 4</d2p1:Tutelage_Sex>
      <d2p1:Tutelage_Telphone>sample string 7</d2p1:Tutelage_Telphone>
      <d2p1:Tutelage_Unit>sample string 9</d2p1:Tutelage_Unit>
      <d2p1:Tutelage_Unitphone>sample string 8</d2p1:Tutelage_Unitphone>
      <d2p1:User_Id>2</d2p1:User_Id>
    </d2p1:Guardian>
    <d2p1:Guardian>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Tutelage_Address>sample string 10</d2p1:Tutelage_Address>
      <d2p1:Tutelage_Name>sample string 3</d2p1:Tutelage_Name>
      <d2p1:Tutelage_Phone>sample string 6</d2p1:Tutelage_Phone>
      <d2p1:Tutelage_Relation>sample string 5</d2p1:Tutelage_Relation>
      <d2p1:Tutelage_Seq>11</d2p1:Tutelage_Seq>
      <d2p1:Tutelage_Sex>sample string 4</d2p1:Tutelage_Sex>
      <d2p1:Tutelage_Telphone>sample string 7</d2p1:Tutelage_Telphone>
      <d2p1:Tutelage_Unit>sample string 9</d2p1:Tutelage_Unit>
      <d2p1:Tutelage_Unitphone>sample string 8</d2p1:Tutelage_Unitphone>
      <d2p1:User_Id>2</d2p1:User_Id>
    </d2p1:Guardian>
  </GuardiansList>
  <MemberInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity">
    <d2p1:Address>sample string 4</d2p1:Address>
    <d2p1:Age>5</d2p1:Age>
    <d2p1:Allergic>sample string 17</d2p1:Allergic>
    <d2p1:Area>sample string 9</d2p1:Area>
    <d2p1:Birthday>2018-10-24T11:46:02.6390214+08:00</d2p1:Birthday>
    <d2p1:BloodType>sample string 1</d2p1:BloodType>
    <d2p1:Breed>sample string 21</d2p1:Breed>
    <d2p1:CellPhone>sample string 2</d2p1:CellPhone>
    <d2p1:CellPhone2>sample string 3</d2p1:CellPhone2>
    <d2p1:Condition>sample string 15</d2p1:Condition>
    <d2p1:Context>sample string 23</d2p1:Context>
    <d2p1:DeviceID>7</d2p1:DeviceID>
    <d2p1:Drug>sample string 19</d2p1:Drug>
    <d2p1:Gender>10</d2p1:Gender>
    <d2p1:Grade>sample string 8</d2p1:Grade>
    <d2p1:Height>11</d2p1:Height>
    <d2p1:IDnumber>sample string 20</d2p1:IDnumber>
    <d2p1:Nickname>sample string 12</d2p1:Nickname>
    <d2p1:Notes>sample string 16</d2p1:Notes>
    <d2p1:Organ>18</d2p1:Organ>
    <d2p1:Remark>sample string 22</d2p1:Remark>
    <d2p1:School>sample string 24</d2p1:School>
    <d2p1:UpdateTime>2018-10-24T11:46:02.6390214+08:00</d2p1:UpdateTime>
    <d2p1:Weight>14</d2p1:Weight>
  </MemberInfo>
</ChinaGuardianResult>