POST api/DraftRoom?dbID={dbID}&leagueID={leagueID}&teamID={teamID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dbID

string

Required

leagueID

integer

Required

teamID

integer

Required

Body Parameters

None.

Response Information

Resource Description

UpcomingDraftPickRosterRequirementsViewModel
NameDescriptionTypeAdditional information
PositionsDrafted

Collection of RosterPositionDrafted

None.

PositionsRequireImmediateFillingToMeetsMinimumRequirements

boolean

None.

PositionsMustDraft

string

None.

RemainingNumberOfPositionsToFillForValidRoster

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PositionsDrafted": [
    {
      "Position": "sample string 1",
      "PlayersDrafted": 2,
      "MinOnRoster": 3,
      "MaxOnRoster": 4,
      "MinToBeDrafted": 5,
      "StartingSlotCategoryCode": "sample string 6",
      "StartingSlotLabel": "sample string 7",
      "StartingSlotShortLabel": "sample string 8",
      "FlexPosition": true,
      "StartingSlots": 10,
      "SlotsFilled": 11,
      "BenchPlayers": 12,
      "NumOnRoster": 13,
      "StartingSlotsAvailable": true
    },
    {
      "Position": "sample string 1",
      "PlayersDrafted": 2,
      "MinOnRoster": 3,
      "MaxOnRoster": 4,
      "MinToBeDrafted": 5,
      "StartingSlotCategoryCode": "sample string 6",
      "StartingSlotLabel": "sample string 7",
      "StartingSlotShortLabel": "sample string 8",
      "FlexPosition": true,
      "StartingSlots": 10,
      "SlotsFilled": 11,
      "BenchPlayers": 12,
      "NumOnRoster": 13,
      "StartingSlotsAvailable": true
    }
  ],
  "PositionsRequireImmediateFillingToMeetsMinimumRequirements": true,
  "PositionsMustDraft": "sample string 1 sample string 1",
  "RemainingNumberOfPositionsToFillForValidRoster": 10
}

text/html

Sample:
{"PositionsDrafted":[{"Position":"sample string 1","PlayersDrafted":2,"MinOnRoster":3,"MaxOnRoster":4,"MinToBeDrafted":5,"StartingSlotCategoryCode":"sample string 6","StartingSlotLabel":"sample string 7","StartingSlotShortLabel":"sample string 8","FlexPosition":true,"StartingSlots":10,"SlotsFilled":11,"BenchPlayers":12,"NumOnRoster":13,"StartingSlotsAvailable":true},{"Position":"sample string 1","PlayersDrafted":2,"MinOnRoster":3,"MaxOnRoster":4,"MinToBeDrafted":5,"StartingSlotCategoryCode":"sample string 6","StartingSlotLabel":"sample string 7","StartingSlotShortLabel":"sample string 8","FlexPosition":true,"StartingSlots":10,"SlotsFilled":11,"BenchPlayers":12,"NumOnRoster":13,"StartingSlotsAvailable":true}],"PositionsRequireImmediateFillingToMeetsMinimumRequirements":true,"PositionsMustDraft":"sample string 1 sample string 1","RemainingNumberOfPositionsToFillForValidRoster":10}

application/xml, text/xml

Sample:
<UpcomingDraftPickRosterRequirementsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <PositionsDrafted>
    <RosterPositionDrafted>
      <BenchPlayers>12</BenchPlayers>
      <FlexPosition>true</FlexPosition>
      <MaxOnRoster>4</MaxOnRoster>
      <MinOnRoster>3</MinOnRoster>
      <MinToBeDrafted>5</MinToBeDrafted>
      <NumOnRoster>13</NumOnRoster>
      <PlayersDrafted>2</PlayersDrafted>
      <Position>sample string 1</Position>
      <SlotsFilled>11</SlotsFilled>
      <StartingSlotCategoryCode>sample string 6</StartingSlotCategoryCode>
      <StartingSlotLabel>sample string 7</StartingSlotLabel>
      <StartingSlotShortLabel>sample string 8</StartingSlotShortLabel>
      <StartingSlots>10</StartingSlots>
      <StartingSlotsAvailable>true</StartingSlotsAvailable>
    </RosterPositionDrafted>
    <RosterPositionDrafted>
      <BenchPlayers>12</BenchPlayers>
      <FlexPosition>true</FlexPosition>
      <MaxOnRoster>4</MaxOnRoster>
      <MinOnRoster>3</MinOnRoster>
      <MinToBeDrafted>5</MinToBeDrafted>
      <NumOnRoster>13</NumOnRoster>
      <PlayersDrafted>2</PlayersDrafted>
      <Position>sample string 1</Position>
      <SlotsFilled>11</SlotsFilled>
      <StartingSlotCategoryCode>sample string 6</StartingSlotCategoryCode>
      <StartingSlotLabel>sample string 7</StartingSlotLabel>
      <StartingSlotShortLabel>sample string 8</StartingSlotShortLabel>
      <StartingSlots>10</StartingSlots>
      <StartingSlotsAvailable>true</StartingSlotsAvailable>
    </RosterPositionDrafted>
  </PositionsDrafted>
  <PositionsRequireImmediateFillingToMeetsMinimumRequirements>true</PositionsRequireImmediateFillingToMeetsMinimumRequirements>
</UpcomingDraftPickRosterRequirementsViewModel>