POST api/Account/ValidatePromoCodeForDynastyOrphanPurchase
Request Information
URI Parameters
None.
Body Parameters
PromoCodeValidationInputModelName | Description | Type | Additional information |
---|---|---|---|
SessionID | string |
None. |
|
LeagueID | integer |
None. |
|
PromoCode | string |
None. |
|
OtherPromoCodeOnPurchase | string |
None. |
|
DynastyTeamForSalePurchaseRequestID | integer |
None. |
|
SuperChopContest | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "SessionID": "sample string 1", "LeagueID": 2, "PromoCode": "sample string 3", "OtherPromoCodeOnPurchase": "sample string 4", "DynastyTeamForSalePurchaseRequestID": 5, "SuperChopContest": true }
text/html
Sample:
{"SessionID":"sample string 1","LeagueID":2,"PromoCode":"sample string 3","OtherPromoCodeOnPurchase":"sample string 4","DynastyTeamForSalePurchaseRequestID":5,"SuperChopContest":true}
application/xml, text/xml
Sample:
<PromoCodeValidationInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <DynastyTeamForSalePurchaseRequestID>5</DynastyTeamForSalePurchaseRequestID> <LeagueID>2</LeagueID> <OtherPromoCodeOnPurchase>sample string 4</OtherPromoCodeOnPurchase> <PromoCode>sample string 3</PromoCode> <SessionID>sample string 1</SessionID> <SuperChopContest>true</SuperChopContest> </PromoCodeValidationInputModel>
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>