POST api/Account/JoinLeague
Request Information
URI Parameters
None.
Body Parameters
JoinLeagueInputModelName | Description | Type | Additional information |
---|---|---|---|
SessionID | string |
None. |
|
LeagueID | integer |
None. |
|
TeamName | string |
None. |
|
CoManager | boolean |
None. |
|
CoManagerName | string |
None. |
|
CoManagerEmail | string |
None. |
|
CoManagerAtVegasDraft | boolean |
None. |
|
DepositPaymentOnly | boolean |
None. |
|
PurchaseTotal | integer |
None. |
|
InitialDepositAmount | integer |
None. |
|
ManualPromoCodeApplied | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SessionID": "sample string 1", "LeagueID": 2, "TeamName": "sample string 3", "CoManager": true, "CoManagerName": "sample string 5", "CoManagerEmail": "sample string 6", "CoManagerAtVegasDraft": true, "DepositPaymentOnly": true, "PurchaseTotal": 9, "InitialDepositAmount": 10, "ManualPromoCodeApplied": "sample string 11" }
text/html
Sample:
{"SessionID":"sample string 1","LeagueID":2,"TeamName":"sample string 3","CoManager":true,"CoManagerName":"sample string 5","CoManagerEmail":"sample string 6","CoManagerAtVegasDraft":true,"DepositPaymentOnly":true,"PurchaseTotal":9,"InitialDepositAmount":10,"ManualPromoCodeApplied":"sample string 11"}
application/xml, text/xml
Sample:
<JoinLeagueInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <CoManager>true</CoManager> <CoManagerAtVegasDraft>true</CoManagerAtVegasDraft> <CoManagerEmail>sample string 6</CoManagerEmail> <CoManagerName>sample string 5</CoManagerName> <DepositPaymentOnly>true</DepositPaymentOnly> <InitialDepositAmount>10</InitialDepositAmount> <LeagueID>2</LeagueID> <ManualPromoCodeApplied>sample string 11</ManualPromoCodeApplied> <PurchaseTotal>9</PurchaseTotal> <SessionID>sample string 1</SessionID> <TeamName>sample string 3</TeamName> </JoinLeagueInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelName | Description | Type | Additional 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>