POST api/PlayoffChallenge/JoinPlayoffChallengeContests

Request Information

URI Parameters

None.

Body Parameters

JoinPlayoffChallengeContestsInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

DRContestsPurchase

boolean

None.

NumberOf200DollarTeamsToPurchase

integer

None.

NumberOf35DollarTeamsToPurchase

integer

None.

TeamName

string

None.

CoManager

boolean

None.

CoManagerName

string

None.

CoManagerEmail

string

None.

PurchaseTotal

integer

None.

ManualPromoCodeApplied

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "DRContestsPurchase": true,
  "NumberOf200DollarTeamsToPurchase": 3,
  "NumberOf35DollarTeamsToPurchase": 4,
  "TeamName": "sample string 5",
  "CoManager": true,
  "CoManagerName": "sample string 7",
  "CoManagerEmail": "sample string 8",
  "PurchaseTotal": 9,
  "ManualPromoCodeApplied": "sample string 10"
}

text/html

Sample:
{"SessionID":"sample string 1","DRContestsPurchase":true,"NumberOf200DollarTeamsToPurchase":3,"NumberOf35DollarTeamsToPurchase":4,"TeamName":"sample string 5","CoManager":true,"CoManagerName":"sample string 7","CoManagerEmail":"sample string 8","PurchaseTotal":9,"ManualPromoCodeApplied":"sample string 10"}

application/xml, text/xml

Sample:
<JoinPlayoffChallengeContestsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <CoManager>true</CoManager>
  <CoManagerEmail>sample string 8</CoManagerEmail>
  <CoManagerName>sample string 7</CoManagerName>
  <DRContestsPurchase>true</DRContestsPurchase>
  <ManualPromoCodeApplied>sample string 10</ManualPromoCodeApplied>
  <NumberOf200DollarTeamsToPurchase>3</NumberOf200DollarTeamsToPurchase>
  <NumberOf35DollarTeamsToPurchase>4</NumberOf35DollarTeamsToPurchase>
  <PurchaseTotal>9</PurchaseTotal>
  <SessionID>sample string 1</SessionID>
  <TeamName>sample string 5</TeamName>
</JoinPlayoffChallengeContestsInputModel>

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

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

ResultCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {},
  "ResultCode": 4
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Data />
  <Message>sample string 1</Message>
  <ResultCode>4</ResultCode>
  <Status>true</Status>
</ResponseModel>