POST api/DraftLobby/GetCashLeaguesForLeagueTypeAndNumTeams

Request Information

URI Parameters

None.

Body Parameters

GuillotineCashLeaguesInputModel
NameDescriptionTypeAdditional information
LeagueTypeID

integer

None.

NumTeams

integer

None.

WithSecondChanceLeague

boolean

None.

StartWeek

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LeagueTypeID": 1,
  "NumTeams": 2,
  "WithSecondChanceLeague": true,
  "StartWeek": 4
}

text/html

Sample:
{"LeagueTypeID":1,"NumTeams":2,"WithSecondChanceLeague":true,"StartWeek":4}

application/xml, text/xml

Sample:
<GuillotineCashLeaguesInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <LeagueTypeID>1</LeagueTypeID>
  <NumTeams>2</NumTeams>
  <StartWeek>4</StartWeek>
  <WithSecondChanceLeague>true</WithSecondChanceLeague>
</GuillotineCashLeaguesInputModel>

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

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>