POST api/LeagueDetail/AddLeagueDetailByUniqueCode

Request Information

URI Parameters

None.

Body Parameters

AddLeagueDetailByUniqueCodeCommandDto
NameDescriptionTypeAdditional information
MemberId

globally unique identifier

None.

UniqueCode

string

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberId": "1d50ba45-10c3-4db8-8514-af8e35e90a25",
  "UniqueCode": "sample string 2",
  "UserId": "364e3537-f386-4d05-9f6c-d0b45cea6c8d"
}

application/xml, text/xml

Sample:
<AddLeagueDetailByUniqueCodeCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueDetailModule.Model">
  <MemberId>1d50ba45-10c3-4db8-8514-af8e35e90a25</MemberId>
  <UniqueCode>sample string 2</UniqueCode>
  <UserId>364e3537-f386-4d05-9f6c-d0b45cea6c8d</UserId>
</AddLeagueDetailByUniqueCodeCommandDto>

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

Response Information

Resource Description

ResponseInfo
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "034e1800-231a-4106-8975-ddb9702d9146",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueDetailModule.Model">
  <Id>034e1800-231a-4106-8975-ddb9702d9146</Id>
  <Message>sample string 2</Message>
</ResponseInfo>