POST api/LeagueDetail/AddLeagueDetail

Request Information

URI Parameters

None.

Body Parameters

AddLeagueDetailCommandDto
NameDescriptionTypeAdditional information
LeagueHeaderId

globally unique identifier

None.

MemberId

globally unique identifier

None.

IsAdmin

boolean

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "LeagueHeaderId": "686e3006-bd87-430a-a833-0741d4f52390",
  "MemberId": "71c9eae0-ed85-4a15-a915-cd98b7ef367a",
  "IsAdmin": true,
  "UserId": "83c0ff1a-daee-4d9e-8093-70554da6eb8f"
}

application/xml, text/xml

Sample:
<AddLeagueDetailCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueDetailModule.Model">
  <IsAdmin>true</IsAdmin>
  <LeagueHeaderId>686e3006-bd87-430a-a833-0741d4f52390</LeagueHeaderId>
  <MemberId>71c9eae0-ed85-4a15-a915-cd98b7ef367a</MemberId>
  <UserId>83c0ff1a-daee-4d9e-8093-70554da6eb8f</UserId>
</AddLeagueDetailCommandDto>

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

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>