POST api/DraftLobby/SwapPlayersInGuillotineWeeklyRankings

Request Information

URI Parameters

None.

Body Parameters

GuillotineRankingsInputModel
NameDescriptionTypeAdditional information
WeekNum

integer

None.

Position

string

None.

MovingPlayerID

string

None.

ReplacedPlayerID

string

None.

SelectedPlayerID

string

None.

CharchRating

decimal number

None.

Hide

boolean

None.

Notes

string

None.

RadioNotes

string

None.

ShowPlayersWithoutCharchRank

boolean

None.

CharchRatingBeforeEdit

decimal number

None.

ProjectedFantasyPointsBeforeEdit

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "WeekNum": 1,
  "Position": "sample string 2",
  "MovingPlayerID": "sample string 3",
  "ReplacedPlayerID": "sample string 4",
  "SelectedPlayerID": "sample string 5",
  "CharchRating": 6.0,
  "Hide": true,
  "Notes": "sample string 8",
  "RadioNotes": "sample string 9",
  "ShowPlayersWithoutCharchRank": true,
  "CharchRatingBeforeEdit": 11.0,
  "ProjectedFantasyPointsBeforeEdit": 12.0
}

text/html

Sample:
{"WeekNum":1,"Position":"sample string 2","MovingPlayerID":"sample string 3","ReplacedPlayerID":"sample string 4","SelectedPlayerID":"sample string 5","CharchRating":6.0,"Hide":true,"Notes":"sample string 8","RadioNotes":"sample string 9","ShowPlayersWithoutCharchRank":true,"CharchRatingBeforeEdit":11.0,"ProjectedFantasyPointsBeforeEdit":12.0}

application/xml, text/xml

Sample:
<GuillotineRankingsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <CharchRating>6</CharchRating>
  <CharchRatingBeforeEdit>11</CharchRatingBeforeEdit>
  <Hide>true</Hide>
  <MovingPlayerID>sample string 3</MovingPlayerID>
  <Notes>sample string 8</Notes>
  <Position>sample string 2</Position>
  <ProjectedFantasyPointsBeforeEdit>12</ProjectedFantasyPointsBeforeEdit>
  <RadioNotes>sample string 9</RadioNotes>
  <ReplacedPlayerID>sample string 4</ReplacedPlayerID>
  <SelectedPlayerID>sample string 5</SelectedPlayerID>
  <ShowPlayersWithoutCharchRank>true</ShowPlayersWithoutCharchRank>
  <WeekNum>1</WeekNum>
</GuillotineRankingsInputModel>

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

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>