GET Api/calculatePrize?participants={participants}&fees={fees}&PrizeMoney={PrizeMoney}&Winner={Winner}&contestTypeId={contestTypeId}
Return question earning and status of question for user when playing contest.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
participants |
Required,participants which is supplied as a int type |
integer |
Required |
fees |
Required,fees which is supplied as a double type |
decimal number |
Required |
PrizeMoney |
Required,PrizeMoney which is supplied as a double type |
decimal number |
Required |
Winner |
Required,Winner which is supplied as a double type |
decimal number |
Required |
contestTypeId |
Required,contestTypeId which is supplied as a int type |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
{"success":true,"data":[{"Rank":1,"Prize":60},{"Rank":2,"Prize":46},{"Rank":4,"Prize":35},{"Rank":8,"Prize":27},{"Rank":16,"Prize":21},{"Rank":32,"Prize":16},{"Rank":63,"Prize":12},{"Rank":125,"Prize":9},{"Rank":250,"Prize":7},{"Rank":500,"Prize":5},{"Rank":1000,"Prize":4}],"message":"Prize Card"}
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |