PUT api/Team

Updates team information. Set Team Mastery Range 4-70, assign TimeSlotId. Mastery is always required even if it does not change

Request Information

URI Parameters

None.

Body Parameters

The information to update on the team.

UpdateTeamInputModel
NameDescriptionTypeAdditional information
TeamId

integer

Required

TeamMastery

integer

Required

Range: inclusive between 4 and 70

TimeslotId

integer

Required

GroupId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "TeamId": 1,
  "TeamMastery": 2,
  "TimeslotId": 3,
  "GroupId": 4
}

application/xml, text/xml

Sample:
<UpdateTeamInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LS_API.Models.TeamModels.InputModel">
  <GroupId>4</GroupId>
  <TeamId>1</TeamId>
  <TeamMastery>2</TeamMastery>
  <TimeslotId>3</TimeslotId>
</UpdateTeamInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.