POST api/DraftLobby/GetDraftGridLeagues

Request Information

URI Parameters

None.

Body Parameters

DraftGridInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

LeagueTypeFilterCode

string

None.

EntryFeeFilterCode

string

None.

ScoringModelFilterCode

string

None.

PrivateLeaguesFilterCode

string

None.

OSDraftTypeFilterCode

string

None.

OSLeagueFormatFilterCode

string

None.

OSDraftDateFilterCode

string

None.

SearchText

string

None.

SortExpression

string

None.

SortDirection

string

None.

ViewAll

boolean

None.

OSDraftTypeFilterCodeList

Collection of string

None.

OSDraftDateFilterCodeList

Collection of string

None.

OSLeagueFormatFilterCodeList

Collection of string

None.

EntryFeeFilterCodeList

Collection of string

None.

ScoringModelFilterCodeList

Collection of string

None.

PrivateLeaguesFilterCodeList

Collection of string

None.

DraftSpeedFilterCodeList

Collection of string

None.

DraftDateFilterCodeList

Collection of string

None.

GameModeFilterCodeList

Collection of string

None.

PlayoffFormatFilterCodeList

Collection of string

None.

LeagueID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "LeagueTypeFilterCode": "sample string 2",
  "EntryFeeFilterCode": "sample string 3",
  "ScoringModelFilterCode": "sample string 4",
  "PrivateLeaguesFilterCode": "sample string 5",
  "OSDraftTypeFilterCode": "sample string 6",
  "OSLeagueFormatFilterCode": "sample string 7",
  "OSDraftDateFilterCode": "sample string 8",
  "SearchText": "sample string 9",
  "SortExpression": "sample string 10",
  "SortDirection": "sample string 11",
  "ViewAll": true,
  "OSDraftTypeFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "OSDraftDateFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "OSLeagueFormatFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "EntryFeeFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "ScoringModelFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "PrivateLeaguesFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "DraftSpeedFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "DraftDateFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "GameModeFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "PlayoffFormatFilterCodeList": [
    "sample string 1",
    "sample string 2"
  ],
  "LeagueID": 13
}

text/html

Sample:
{"SessionID":"sample string 1","LeagueTypeFilterCode":"sample string 2","EntryFeeFilterCode":"sample string 3","ScoringModelFilterCode":"sample string 4","PrivateLeaguesFilterCode":"sample string 5","OSDraftTypeFilterCode":"sample string 6","OSLeagueFormatFilterCode":"sample string 7","OSDraftDateFilterCode":"sample string 8","SearchText":"sample string 9","SortExpression":"sample string 10","SortDirection":"sample string 11","ViewAll":true,"OSDraftTypeFilterCodeList":["sample string 1","sample string 2"],"OSDraftDateFilterCodeList":["sample string 1","sample string 2"],"OSLeagueFormatFilterCodeList":["sample string 1","sample string 2"],"EntryFeeFilterCodeList":["sample string 1","sample string 2"],"ScoringModelFilterCodeList":["sample string 1","sample string 2"],"PrivateLeaguesFilterCodeList":["sample string 1","sample string 2"],"DraftSpeedFilterCodeList":["sample string 1","sample string 2"],"DraftDateFilterCodeList":["sample string 1","sample string 2"],"GameModeFilterCodeList":["sample string 1","sample string 2"],"PlayoffFormatFilterCodeList":["sample string 1","sample string 2"],"LeagueID":13}

application/xml, text/xml

Sample:
<DraftGridInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <DraftDateFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DraftDateFilterCodeList>
  <DraftSpeedFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DraftSpeedFilterCodeList>
  <EntryFeeFilterCode>sample string 3</EntryFeeFilterCode>
  <EntryFeeFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </EntryFeeFilterCodeList>
  <GameModeFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </GameModeFilterCodeList>
  <LeagueID>13</LeagueID>
  <LeagueTypeFilterCode>sample string 2</LeagueTypeFilterCode>
  <OSDraftDateFilterCode>sample string 8</OSDraftDateFilterCode>
  <OSDraftDateFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </OSDraftDateFilterCodeList>
  <OSDraftTypeFilterCode>sample string 6</OSDraftTypeFilterCode>
  <OSDraftTypeFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </OSDraftTypeFilterCodeList>
  <OSLeagueFormatFilterCode>sample string 7</OSLeagueFormatFilterCode>
  <OSLeagueFormatFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </OSLeagueFormatFilterCodeList>
  <PlayoffFormatFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PlayoffFormatFilterCodeList>
  <PrivateLeaguesFilterCode>sample string 5</PrivateLeaguesFilterCode>
  <PrivateLeaguesFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PrivateLeaguesFilterCodeList>
  <ScoringModelFilterCode>sample string 4</ScoringModelFilterCode>
  <ScoringModelFilterCodeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ScoringModelFilterCodeList>
  <SearchText>sample string 9</SearchText>
  <SessionID>sample string 1</SessionID>
  <SortDirection>sample string 11</SortDirection>
  <SortExpression>sample string 10</SortExpression>
  <ViewAll>true</ViewAll>
</DraftGridInputModel>

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

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>