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": "0f29feb5-127f-4804-8227-a96ba10485c5",
  "ChampionshipName": "sample string 2",
  "UserId": "c620127e-982f-40da-a5d5-5973c8039bf0"
}

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>0f29feb5-127f-4804-8227-a96ba10485c5</Id>
  <UserId>c620127e-982f-40da-a5d5-5973c8039bf0</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>