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": "87e35247-ffdd-46f3-846d-0473dd534014",
  "UniqueCode": "sample string 2",
  "UserId": "4d63a1e8-2117-4e43-adb5-5a9952c41205"
}

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>87e35247-ffdd-46f3-846d-0473dd534014</MemberId>
  <UniqueCode>sample string 2</UniqueCode>
  <UserId>4d63a1e8-2117-4e43-adb5-5a9952c41205</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": "8c88502d-13c6-4923-b76a-a924497cfd04",
  "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>8c88502d-13c6-4923-b76a-a924497cfd04</Id>
  <Message>sample string 2</Message>
</ResponseInfo>