POST api/Dance/SavaDanceTeamInfo

Create dance team information

Request Information

Body Parameters

DanceTeamInfoModel
NameDescriptionTypeAdditional information
DeviceId

device Id

integer

None.

TeamName

Team Name

string

None.

CreateUser

founder

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

application/xml, text/xml

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

Response Information

Resource Description

State status code
0. Says failure
1. Indicates success
2. The team leader is represented in the database
3. Indicates that the device is in other teams
1100. device does not exist

DanceTeamInfoResult
NameDescriptionTypeAdditional information
State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1
}

application/xml, text/xml

Sample:
<DanceTeamInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
</DanceTeamInfoResult>