POST api/Team/UserCancelsDynastyTeamForSalePendingPurchase

Request Information

URI Parameters

None.

Body Parameters

DynastyForSaleInputModel
NameDescriptionTypeAdditional information
SiteUserID

integer

None.

ShowWatchlistedTeamsOnly

boolean

None.

GetRosteredPlayerPool

boolean

None.

SearchPlayerID

string

None.

LeagueTypeFilters

string

None.

EntryFeeFilters

string

None.

DynastyTeamForSaleID

integer

None.

DynastyTeamForSalePurchaseRequestID

integer

None.

LeagueID

integer

None.

PromoPrice

integer

None.

PromoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteUserID": 1,
  "ShowWatchlistedTeamsOnly": true,
  "GetRosteredPlayerPool": true,
  "SearchPlayerID": "sample string 4",
  "LeagueTypeFilters": "sample string 5",
  "EntryFeeFilters": "sample string 6",
  "DynastyTeamForSaleID": 7,
  "DynastyTeamForSalePurchaseRequestID": 8,
  "LeagueID": 9,
  "PromoPrice": 10,
  "PromoCode": "sample string 11"
}

text/html

Sample:
{"SiteUserID":1,"ShowWatchlistedTeamsOnly":true,"GetRosteredPlayerPool":true,"SearchPlayerID":"sample string 4","LeagueTypeFilters":"sample string 5","EntryFeeFilters":"sample string 6","DynastyTeamForSaleID":7,"DynastyTeamForSalePurchaseRequestID":8,"LeagueID":9,"PromoPrice":10,"PromoCode":"sample string 11"}

application/xml, text/xml

Sample:
<DynastyForSaleInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <DynastyTeamForSaleID>7</DynastyTeamForSaleID>
  <DynastyTeamForSalePurchaseRequestID>8</DynastyTeamForSalePurchaseRequestID>
  <EntryFeeFilters>sample string 6</EntryFeeFilters>
  <GetRosteredPlayerPool>true</GetRosteredPlayerPool>
  <LeagueID>9</LeagueID>
  <LeagueTypeFilters>sample string 5</LeagueTypeFilters>
  <PromoCode>sample string 11</PromoCode>
  <PromoPrice>10</PromoPrice>
  <SearchPlayerID>sample string 4</SearchPlayerID>
  <ShowWatchlistedTeamsOnly>true</ShowWatchlistedTeamsOnly>
  <SiteUserID>1</SiteUserID>
</DynastyForSaleInputModel>

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

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>