POST api/Team/EditTeam

Request Information

URI Parameters

None.

Body Parameters

EditTeamCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

TeamName

string

None.

TeamNameFr

string

None.

TeamStats

string

None.

SportsTypeId

globally unique identifier

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "57405f72-51b0-46c9-9978-70f1a6a10086",
  "TeamName": "sample string 2",
  "TeamNameFr": "sample string 3",
  "TeamStats": "sample string 4",
  "SportsTypeId": "149b88f2-d80e-4a68-a31c-d23f2bb7d0a2",
  "UserId": "6c69174f-eab4-42a0-a89a-f2f685fd3428"
}

application/xml, text/xml

Sample:
<EditTeamCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.TeamModule.Model">
  <Id>57405f72-51b0-46c9-9978-70f1a6a10086</Id>
  <SportsTypeId>149b88f2-d80e-4a68-a31c-d23f2bb7d0a2</SportsTypeId>
  <TeamName>sample string 2</TeamName>
  <TeamNameFr>sample string 3</TeamNameFr>
  <TeamStats>sample string 4</TeamStats>
  <UserId>6c69174f-eab4-42a0-a89a-f2f685fd3428</UserId>
</EditTeamCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EditTeamCommandDto'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>