POST api/Trade/AcceptTradeOffer
Request Information
URI Parameters
None.
Body Parameters
TradeActionInputModelName | Description | Type | Additional information |
---|---|---|---|
LeagueID | integer |
None. |
|
TeamID | integer |
None. |
|
TradeOfferID | integer |
None. |
|
PlayersDroppedByAcceptingTeam | string |
None. |
|
TradeMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LeagueID": 1, "TeamID": 2, "TradeOfferID": 3, "PlayersDroppedByAcceptingTeam": "sample string 4", "TradeMessage": "sample string 5" }
text/html
Sample:
{"LeagueID":1,"TeamID":2,"TradeOfferID":3,"PlayersDroppedByAcceptingTeam":"sample string 4","TradeMessage":"sample string 5"}
application/xml, text/xml
Sample:
<TradeActionInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <LeagueID>1</LeagueID> <PlayersDroppedByAcceptingTeam>sample string 4</PlayersDroppedByAcceptingTeam> <TeamID>2</TeamID> <TradeMessage>sample string 5</TradeMessage> <TradeOfferID>3</TradeOfferID> </TradeActionInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelName | Description | Type | Additional 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>