POST api/Team/GetMyTeams

Request Information

URI Parameters

None.

Body Parameters

MyTeamsInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

DeviceToken

string

None.

AndroidDeviceToken

string

None.

MyTeamsLeagueFilterID

integer

None.

FilterValue

boolean

None.

LeagueID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "DeviceToken": "sample string 2",
  "AndroidDeviceToken": "sample string 3",
  "MyTeamsLeagueFilterID": 4,
  "FilterValue": true,
  "LeagueID": 6
}

text/html

Sample:
{"SessionID":"sample string 1","DeviceToken":"sample string 2","AndroidDeviceToken":"sample string 3","MyTeamsLeagueFilterID":4,"FilterValue":true,"LeagueID":6}

application/xml, text/xml

Sample:
<MyTeamsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <AndroidDeviceToken>sample string 3</AndroidDeviceToken>
  <DeviceToken>sample string 2</DeviceToken>
  <FilterValue>true</FilterValue>
  <LeagueID>6</LeagueID>
  <MyTeamsLeagueFilterID>4</MyTeamsLeagueFilterID>
  <SessionID>sample string 1</SessionID>
</MyTeamsInputModel>

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

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>