POST api/DynastyDepot/GetPurchaseRequest
Request Information
URI Parameters
None.
Body Parameters
DynastyDepotPurchaseRequestInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DDPurchaseRequestID | string |
None. |
|
| DDOriginalTeamOwnerUserID | string |
None. |
|
| LeagueID | integer |
None. |
|
| TeamID | integer |
None. |
|
| PurchasingUserDDUserID | string |
None. |
|
| PurchasingUserEmailAddress | string |
None. |
|
| PurchasePrice | decimal number |
None. |
|
| BuyerDynastyDepotFee | decimal number |
None. |
|
| SellerDynastyDepotFee | decimal number |
None. |
|
| SellerListingFeeRefund | decimal number |
None. |
|
| Duration | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DDPurchaseRequestID": "sample string 1",
"DDOriginalTeamOwnerUserID": "sample string 2",
"LeagueID": 3,
"TeamID": 4,
"PurchasingUserDDUserID": "sample string 5",
"PurchasingUserEmailAddress": "sample string 6",
"PurchasePrice": 7.0,
"BuyerDynastyDepotFee": 8.0,
"SellerDynastyDepotFee": 9.0,
"SellerListingFeeRefund": 10.0,
"Duration": 11
}
text/html
Sample:
{"DDPurchaseRequestID":"sample string 1","DDOriginalTeamOwnerUserID":"sample string 2","LeagueID":3,"TeamID":4,"PurchasingUserDDUserID":"sample string 5","PurchasingUserEmailAddress":"sample string 6","PurchasePrice":7.0,"BuyerDynastyDepotFee":8.0,"SellerDynastyDepotFee":9.0,"SellerListingFeeRefund":10.0,"Duration":11}
application/xml, text/xml
Sample:
<DynastyDepotPurchaseRequestInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <BuyerDynastyDepotFee>8</BuyerDynastyDepotFee> <DDOriginalTeamOwnerUserID>sample string 2</DDOriginalTeamOwnerUserID> <DDPurchaseRequestID>sample string 1</DDPurchaseRequestID> <Duration>11</Duration> <LeagueID>3</LeagueID> <PurchasePrice>7</PurchasePrice> <PurchasingUserDDUserID>sample string 5</PurchasingUserDDUserID> <PurchasingUserEmailAddress>sample string 6</PurchasingUserEmailAddress> <SellerDynastyDepotFee>9</SellerDynastyDepotFee> <SellerListingFeeRefund>10</SellerListingFeeRefund> <TeamID>4</TeamID> </DynastyDepotPurchaseRequestInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModel| Name | 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>