POST api/Championship/EditChampionship

Request Information

URI Parameters

None.

Body Parameters

EditChampionshipCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ChampionshipName

string

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "0c614d10-66a5-42f7-a214-61d6e83ce63a",
  "ChampionshipName": "sample string 2",
  "UserId": "2833c907-6310-4225-b774-ad26b8ef8f85"
}

application/xml, text/xml

Sample:
<EditChampionshipCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ChampionshipModule.Model">
  <ChampionshipName>sample string 2</ChampionshipName>
  <Id>0c614d10-66a5-42f7-a214-61d6e83ce63a</Id>
  <UserId>2833c907-6310-4225-b774-ad26b8ef8f85</UserId>
</EditChampionshipCommandDto>

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 'EditChampionshipCommandDto'.

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>