POST api/DraftLobby/GetLeagueRules
Request Information
URI Parameters
None.
Body Parameters
LeagueInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionID | string |
None. |
|
| LTUID | string |
None. |
|
| LeagueID | integer |
None. |
|
| TeamID | integer |
None. |
|
| WeekNum | integer |
None. |
|
| TransactionTypes | string |
None. |
|
| SiteUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SessionID": "sample string 1",
"LTUID": "sample string 2",
"LeagueID": 3,
"TeamID": 4,
"WeekNum": 5,
"TransactionTypes": "sample string 6",
"SiteUserID": 7
}
text/html
Sample:
{"SessionID":"sample string 1","LTUID":"sample string 2","LeagueID":3,"TeamID":4,"WeekNum":5,"TransactionTypes":"sample string 6","SiteUserID":7}
application/xml, text/xml
Sample:
<LeagueInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <LTUID>sample string 2</LTUID> <LeagueID>3</LeagueID> <SessionID>sample string 1</SessionID> <SiteUserID>7</SiteUserID> <TeamID>4</TeamID> <TransactionTypes>sample string 6</TransactionTypes> <WeekNum>5</WeekNum> </LeagueInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModel| Name | 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>