POST api/DraftLobby/JoinLeague

Request Information

URI Parameters

None.

Body Parameters

JoinLeaguePaymentInputModel_Guillotine
NameDescriptionTypeAdditional information
SessionID

string

None.

LeagueID

integer

None.

SuperChopContestLeague

boolean

None.

TeamName

string

None.

InsurancePurchased

boolean

None.

PurchaseTotal

decimal number

None.

ManualPromoCodeApplied

string

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "LeagueID": 2,
  "SuperChopContestLeague": true,
  "TeamName": "sample string 4",
  "InsurancePurchased": true,
  "PurchaseTotal": 6.0,
  "ManualPromoCodeApplied": "sample string 7",
  "Longitude": 8.1,
  "Latitude": 9.1
}

text/html

Sample:
{"SessionID":"sample string 1","LeagueID":2,"SuperChopContestLeague":true,"TeamName":"sample string 4","InsurancePurchased":true,"PurchaseTotal":6.0,"ManualPromoCodeApplied":"sample string 7","Longitude":8.1,"Latitude":9.1}

application/xml, text/xml

Sample:
<JoinLeaguePaymentInputModel_Guillotine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <InsurancePurchased>true</InsurancePurchased>
  <Latitude>9.1</Latitude>
  <LeagueID>2</LeagueID>
  <Longitude>8.1</Longitude>
  <ManualPromoCodeApplied>sample string 7</ManualPromoCodeApplied>
  <PurchaseTotal>6</PurchaseTotal>
  <SessionID>sample string 1</SessionID>
  <SuperChopContestLeague>true</SuperChopContestLeague>
  <TeamName>sample string 4</TeamName>
</JoinLeaguePaymentInputModel_Guillotine>

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

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>