POST api/DraftLobby/CreateNewPrivateLeagueRequest
Request Information
URI Parameters
None.
Body Parameters
CreatePrivateLeagueInputModelName | Description | Type | Additional information |
---|---|---|---|
SessionID | string |
None. |
|
LeagueTypeID | integer |
None. |
|
StartWeek | integer |
None. |
|
NumberOfTeams | integer |
None. |
|
ExpectedNumberOfTeams | integer |
None. |
|
SlowDraft | boolean |
None. |
|
DraftClockInSeconds | integer |
None. |
|
DraftClockInHours | integer |
None. |
|
DraftStartDate | date |
None. |
|
DraftStartTime | string |
None. |
|
AutoRandomizeDraftOrderPreDraft | boolean |
None. |
|
DraftStartsWhenFull | boolean |
None. |
|
ExpandRosters | boolean |
None. |
|
AllowTrading | boolean |
None. |
|
UnlockFreeAgents | boolean |
None. |
|
FAABProcessingScheduleID | FAABProcessingSchedule |
None. |
|
LeagueName | string |
None. |
|
CreatorTeamName | string |
None. |
|
PrivateLeagueRecordInserted | boolean |
None. |
|
PrivateLeagueRecordID | string |
None. |
|
TeamManagementMode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SessionID": "sample string 1", "LeagueTypeID": 2, "StartWeek": 3, "NumberOfTeams": 4, "ExpectedNumberOfTeams": 5, "SlowDraft": true, "DraftClockInSeconds": 7, "DraftClockInHours": 8, "DraftStartDate": "2024-11-21T03:42:45.4854489-05:00", "DraftStartTime": "sample string 10", "AutoRandomizeDraftOrderPreDraft": true, "DraftStartsWhenFull": true, "ExpandRosters": true, "AllowTrading": true, "UnlockFreeAgents": true, "FAABProcessingScheduleID": 1, "LeagueName": "sample string 16", "CreatorTeamName": "sample string 17", "PrivateLeagueRecordInserted": true, "PrivateLeagueRecordID": "sample string 19", "TeamManagementMode": 20 }
text/html
Sample:
{"SessionID":"sample string 1","LeagueTypeID":2,"StartWeek":3,"NumberOfTeams":4,"ExpectedNumberOfTeams":5,"SlowDraft":true,"DraftClockInSeconds":7,"DraftClockInHours":8,"DraftStartDate":"2024-11-21T03:42:45.4854489-05:00","DraftStartTime":"sample string 10","AutoRandomizeDraftOrderPreDraft":true,"DraftStartsWhenFull":true,"ExpandRosters":true,"AllowTrading":true,"UnlockFreeAgents":true,"FAABProcessingScheduleID":1,"LeagueName":"sample string 16","CreatorTeamName":"sample string 17","PrivateLeagueRecordInserted":true,"PrivateLeagueRecordID":"sample string 19","TeamManagementMode":20}
application/xml, text/xml
Sample:
<CreatePrivateLeagueInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <AllowTrading>true</AllowTrading> <AutoRandomizeDraftOrderPreDraft>true</AutoRandomizeDraftOrderPreDraft> <CreatorTeamName>sample string 17</CreatorTeamName> <DraftClockInHours>8</DraftClockInHours> <DraftClockInSeconds>7</DraftClockInSeconds> <DraftStartDate>2024-11-21T03:42:45.4854489-05:00</DraftStartDate> <DraftStartTime>sample string 10</DraftStartTime> <DraftStartsWhenFull>true</DraftStartsWhenFull> <ExpandRosters>true</ExpandRosters> <ExpectedNumberOfTeams>5</ExpectedNumberOfTeams> <FAABProcessingScheduleID>WedThuSunNoFCFS</FAABProcessingScheduleID> <LeagueName>sample string 16</LeagueName> <LeagueTypeID>2</LeagueTypeID> <NumberOfTeams>4</NumberOfTeams> <PrivateLeagueRecordID>sample string 19</PrivateLeagueRecordID> <PrivateLeagueRecordInserted>true</PrivateLeagueRecordInserted> <SessionID>sample string 1</SessionID> <SlowDraft>true</SlowDraft> <StartWeek>3</StartWeek> <TeamManagementMode>20</TeamManagementMode> <UnlockFreeAgents>true</UnlockFreeAgents> </CreatePrivateLeagueInputModel>
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>