POST api/updateUserAns
Updates user answers for a specific question in a multi-stage process. contestId: It is extracted from the HTTP request using HttpContext.Current.Request.Form["contestId"]. levelId: It is extracted from the HTTP request using HttpContext.Current.Request.Form["levelId"]. userId: It is extracted from the HTTP request using HttpContext.Current.Request.Form["userId"]. questionId: Extracted using HttpContext.Current.Request.Form["questionId"]. questionAnswerId: Extracted using HttpContext.Current.Request.Form["questionAnswerId"]. stage: Extracted using HttpContext.Current.Request.Form["stage"]. timeTaken: Extracted using HttpContext.Current.Request.Form["timeTaken"]. remark: Extracted using HttpContext.Current.Request.Form["remark"].
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
{"Success": true,"Message": "Success"}
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. |