POST api/Prizes/PayPrizeWinners
Request Information
URI Parameters
None.
Body Parameters
PayPrizeWinnersInputModelName | Description | Type | Additional information |
---|---|---|---|
PrizeWinners | Collection of PayPrizeWinnerInputModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "PrizeWinners": [ { "LeagueID": 1, "Rank": 2, "PrizeAmount": 3.0, "TeamID": 4, "PaymentMade": true, "PrizeRuleTargetID": 6 }, { "LeagueID": 1, "Rank": 2, "PrizeAmount": 3.0, "TeamID": 4, "PaymentMade": true, "PrizeRuleTargetID": 6 } ] }
text/html
Sample:
{"PrizeWinners":[{"LeagueID":1,"Rank":2,"PrizeAmount":3.0,"TeamID":4,"PaymentMade":true,"PrizeRuleTargetID":6},{"LeagueID":1,"Rank":2,"PrizeAmount":3.0,"TeamID":4,"PaymentMade":true,"PrizeRuleTargetID":6}]}
application/xml, text/xml
Sample:
<PayPrizeWinnersInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <PrizeWinners> <PayPrizeWinnerInputModel> <LeagueID>1</LeagueID> <PaymentMade>true</PaymentMade> <PrizeAmount>3</PrizeAmount> <PrizeRuleTargetID>6</PrizeRuleTargetID> <Rank>2</Rank> <TeamID>4</TeamID> </PayPrizeWinnerInputModel> <PayPrizeWinnerInputModel> <LeagueID>1</LeagueID> <PaymentMade>true</PaymentMade> <PrizeAmount>3</PrizeAmount> <PrizeRuleTargetID>6</PrizeRuleTargetID> <Rank>2</Rank> <TeamID>4</TeamID> </PayPrizeWinnerInputModel> </PrizeWinners> </PayPrizeWinnersInputModel>
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>