POST api/Team/AcceptSideActionOffer

Request Information

URI Parameters

None.

Body Parameters

SideActionOfferInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

OfferingTeamLID

integer

None.

OfferingTeamTID

integer

None.

OtherTeamLID

integer

None.

OtherTeamTID

integer

None.

OfferingTeamIsFavorite

boolean

None.

PointsStartForUnderdog

decimal number

None.

BetAmountPerTeam

integer

None.

ViewingContext

integer

None.

OriginalSideActionOfferID

integer

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "OfferingTeamLID": 2,
  "OfferingTeamTID": 3,
  "OtherTeamLID": 4,
  "OtherTeamTID": 5,
  "OfferingTeamIsFavorite": true,
  "PointsStartForUnderdog": 7.0,
  "BetAmountPerTeam": 8,
  "ViewingContext": 9,
  "OriginalSideActionOfferID": 10,
  "Longitude": 11.1,
  "Latitude": 12.1
}

text/html

Sample:
{"SessionID":"sample string 1","OfferingTeamLID":2,"OfferingTeamTID":3,"OtherTeamLID":4,"OtherTeamTID":5,"OfferingTeamIsFavorite":true,"PointsStartForUnderdog":7.0,"BetAmountPerTeam":8,"ViewingContext":9,"OriginalSideActionOfferID":10,"Longitude":11.1,"Latitude":12.1}

application/xml, text/xml

Sample:
<SideActionOfferInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <BetAmountPerTeam>8</BetAmountPerTeam>
  <Latitude>12.1</Latitude>
  <Longitude>11.1</Longitude>
  <OfferingTeamIsFavorite>true</OfferingTeamIsFavorite>
  <OfferingTeamLID>2</OfferingTeamLID>
  <OfferingTeamTID>3</OfferingTeamTID>
  <OriginalSideActionOfferID>10</OriginalSideActionOfferID>
  <OtherTeamLID>4</OtherTeamLID>
  <OtherTeamTID>5</OtherTeamTID>
  <PointsStartForUnderdog>7</PointsStartForUnderdog>
  <SessionID>sample string 1</SessionID>
  <ViewingContext>9</ViewingContext>
</SideActionOfferInputModel>

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

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>