POST api/Team/GetSideActionOfferVM

Request Information

URI Parameters

None.

Body Parameters

SideActionInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

NFLWeek

integer

None.

ViewingContext

integer

None.

UsersContextLID

integer

None.

UsersContextTID

integer

None.

OriginalSideActionOfferID

integer

None.

FFPCLeagueTypeID

integer

None.

TargetTeamLID

integer

None.

TargetTeamTID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "NFLWeek": 2,
  "ViewingContext": 3,
  "UsersContextLID": 4,
  "UsersContextTID": 5,
  "OriginalSideActionOfferID": 6,
  "FFPCLeagueTypeID": 7,
  "TargetTeamLID": 8,
  "TargetTeamTID": 9
}

text/html

Sample:
{"SessionID":"sample string 1","NFLWeek":2,"ViewingContext":3,"UsersContextLID":4,"UsersContextTID":5,"OriginalSideActionOfferID":6,"FFPCLeagueTypeID":7,"TargetTeamLID":8,"TargetTeamTID":9}

application/xml, text/xml

Sample:
<SideActionInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <FFPCLeagueTypeID>7</FFPCLeagueTypeID>
  <NFLWeek>2</NFLWeek>
  <OriginalSideActionOfferID>6</OriginalSideActionOfferID>
  <SessionID>sample string 1</SessionID>
  <TargetTeamLID>8</TargetTeamLID>
  <TargetTeamTID>9</TargetTeamTID>
  <UsersContextLID>4</UsersContextLID>
  <UsersContextTID>5</UsersContextTID>
  <ViewingContext>3</ViewingContext>
</SideActionInputModel>

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

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>