POST api/Team/DeleteTeam

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": "ed22d974-60f4-4641-9b1a-2a4f0a744e39",
  "TeamName": "sample string 2",
  "TeamNameFr": "sample string 3",
  "TeamStats": "sample string 4",
  "SportsTypeId": "29f17ba7-9f13-4a7c-9166-2e737de7b975",
  "UserId": "81ffebd0-06a6-4e21-8ed8-863937e79c0b"
}

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>ed22d974-60f4-4641-9b1a-2a4f0a744e39</Id>
  <SportsTypeId>29f17ba7-9f13-4a7c-9166-2e737de7b975</SportsTypeId>
  <TeamName>sample string 2</TeamName>
  <TeamNameFr>sample string 3</TeamNameFr>
  <TeamStats>sample string 4</TeamStats>
  <UserId>81ffebd0-06a6-4e21-8ed8-863937e79c0b</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>