POST api/Team/AcceptTradeOffer2021
Request Information
URI Parameters
None.
Body Parameters
CreateTradeOfferInputModelName | Description | Type | Additional information |
---|---|---|---|
TradeOfferID | integer |
None. |
|
LTUID | string |
None. |
|
SessionID | string |
None. |
|
OtherTeamID | integer |
None. |
|
FAABDollarsOffered | integer |
None. |
|
PlayersOffered | string |
None. |
|
FAABDollarsRequested | integer |
None. |
|
PlayersRequested | string |
None. |
|
PlayersDroppedByAcceptingTeam | string |
None. |
|
TradeMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TradeOfferID": 1, "LTUID": "sample string 2", "SessionID": "sample string 3", "OtherTeamID": 4, "FAABDollarsOffered": 5, "PlayersOffered": "sample string 6", "FAABDollarsRequested": 7, "PlayersRequested": "sample string 8", "PlayersDroppedByAcceptingTeam": "sample string 9", "TradeMessage": "sample string 10" }
text/html
Sample:
{"TradeOfferID":1,"LTUID":"sample string 2","SessionID":"sample string 3","OtherTeamID":4,"FAABDollarsOffered":5,"PlayersOffered":"sample string 6","FAABDollarsRequested":7,"PlayersRequested":"sample string 8","PlayersDroppedByAcceptingTeam":"sample string 9","TradeMessage":"sample string 10"}
application/xml, text/xml
Sample:
<CreateTradeOfferInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <FAABDollarsOffered>5</FAABDollarsOffered> <FAABDollarsRequested>7</FAABDollarsRequested> <LTUID>sample string 2</LTUID> <OtherTeamID>4</OtherTeamID> <PlayersDroppedByAcceptingTeam>sample string 9</PlayersDroppedByAcceptingTeam> <PlayersOffered>sample string 6</PlayersOffered> <PlayersRequested>sample string 8</PlayersRequested> <SessionID>sample string 3</SessionID> <TradeMessage>sample string 10</TradeMessage> <TradeOfferID>1</TradeOfferID> </CreateTradeOfferInputModel>
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>