POST api/WeeklyContest/AddPlayerToRoster

Request Information

URI Parameters

None.

Body Parameters

WeeklyContestInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

DbID

string

None.

LTUID

string

None.

PositionCodeFilter

string

None.

SearchTextFilter

string

None.

SortColumn

string

None.

SortDirection

string

None.

PageNumber

integer

None.

PlayerID

string

None.

StartingPositionCategory

string

None.

PopulatePlayerPool

boolean

None.

SourceLTUIDForImport

string

None.

DestinationLTUIDForImport

string

None.

SourceLTUIDForExport

string

None.

DestinationLTUIDListForExport

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "DbID": "sample string 2",
  "LTUID": "sample string 3",
  "PositionCodeFilter": "sample string 4",
  "SearchTextFilter": "sample string 5",
  "SortColumn": "sample string 6",
  "SortDirection": "sample string 7",
  "PageNumber": 8,
  "PlayerID": "sample string 9",
  "StartingPositionCategory": "sample string 10",
  "PopulatePlayerPool": true,
  "SourceLTUIDForImport": "sample string 12",
  "DestinationLTUIDForImport": "sample string 13",
  "SourceLTUIDForExport": "sample string 14",
  "DestinationLTUIDListForExport": "sample string 15"
}

text/html

Sample:
{"SessionID":"sample string 1","DbID":"sample string 2","LTUID":"sample string 3","PositionCodeFilter":"sample string 4","SearchTextFilter":"sample string 5","SortColumn":"sample string 6","SortDirection":"sample string 7","PageNumber":8,"PlayerID":"sample string 9","StartingPositionCategory":"sample string 10","PopulatePlayerPool":true,"SourceLTUIDForImport":"sample string 12","DestinationLTUIDForImport":"sample string 13","SourceLTUIDForExport":"sample string 14","DestinationLTUIDListForExport":"sample string 15"}

application/xml, text/xml

Sample:
<WeeklyContestInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <DbID>sample string 2</DbID>
  <DestinationLTUIDForImport>sample string 13</DestinationLTUIDForImport>
  <DestinationLTUIDListForExport>sample string 15</DestinationLTUIDListForExport>
  <LTUID>sample string 3</LTUID>
  <PageNumber>8</PageNumber>
  <PlayerID>sample string 9</PlayerID>
  <PopulatePlayerPool>true</PopulatePlayerPool>
  <PositionCodeFilter>sample string 4</PositionCodeFilter>
  <SearchTextFilter>sample string 5</SearchTextFilter>
  <SessionID>sample string 1</SessionID>
  <SortColumn>sample string 6</SortColumn>
  <SortDirection>sample string 7</SortDirection>
  <SourceLTUIDForExport>sample string 14</SourceLTUIDForExport>
  <SourceLTUIDForImport>sample string 12</SourceLTUIDForImport>
  <StartingPositionCategory>sample string 10</StartingPositionCategory>
</WeeklyContestInputModel>

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

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>