POST api/Dance/GetMyTeam

Own team

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

Statestatus code
0. stands no data
1. Indicates success
1100. device does not exist

DeviceFriendsResult
NameDescriptionTypeAdditional information
Items

Device friend IMEI

Collection of string

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    "sample string 1",
    "sample string 2"
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<DeviceFriendsResult 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.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Items>
</DeviceFriendsResult>