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": "7c494c0e-44d8-461a-ab2d-26b35088d0ef",
  "ChampionshipName": "sample string 2",
  "UserId": "78534b2d-ec36-4a7b-bb77-76e11cd838c0"
}

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>7c494c0e-44d8-461a-ab2d-26b35088d0ef</Id>
  <UserId>78534b2d-ec36-4a7b-bb77-76e11cd838c0</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>