POST api/CustomerResponse/GetCustomerReponseCompareWithResult
Request Information
URI Parameters
None.
Body Parameters
CustomerResponseInfoName | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
None. |
|
ContestId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "f4164a46-f786-4d41-a64c-f5a4484b69a4", "ContestId": "9a316d54-1b50-4349-a8c6-12059313071c" }
application/xml, text/xml
Sample:
<CustomerResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerResponseMoule.Model"> <ContestId>9a316d54-1b50-4349-a8c6-12059313071c</ContestId> <CustomerId>f4164a46-f786-4d41-a64c-f5a4484b69a4</CustomerId> </CustomerResponseInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of CustomerResponseScoreDtoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
CustomerId | globally unique identifier |
None. |
|
QuestionId | globally unique identifier |
None. |
|
Score | integer |
None. |
|
IsCorrectAnswer | boolean |
None. |
|
CorrectAnswer | string |
None. |
|
CorrectAnswerId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ContestId": "83bb8ec3-ee89-4212-8d9b-d842a917073b", "CustomerId": "d48177ef-3b3d-424a-ab9a-ca0aead3699f", "QuestionId": "30d972c3-7596-4026-b438-4e7623709e6f", "Score": 4, "IsCorrectAnswer": true, "CorrectAnswer": "sample string 6", "CorrectAnswerId": "9c67fc8d-b305-4fd6-b9fb-1985c7e1f2ab" }, { "ContestId": "83bb8ec3-ee89-4212-8d9b-d842a917073b", "CustomerId": "d48177ef-3b3d-424a-ab9a-ca0aead3699f", "QuestionId": "30d972c3-7596-4026-b438-4e7623709e6f", "Score": 4, "IsCorrectAnswer": true, "CorrectAnswer": "sample string 6", "CorrectAnswerId": "9c67fc8d-b305-4fd6-b9fb-1985c7e1f2ab" } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerResponseScoreDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerResponseMoule.Model"> <CustomerResponseScoreDto> <ContestId>83bb8ec3-ee89-4212-8d9b-d842a917073b</ContestId> <CorrectAnswer>sample string 6</CorrectAnswer> <CorrectAnswerId>9c67fc8d-b305-4fd6-b9fb-1985c7e1f2ab</CorrectAnswerId> <CustomerId>d48177ef-3b3d-424a-ab9a-ca0aead3699f</CustomerId> <IsCorrectAnswer>true</IsCorrectAnswer> <QuestionId>30d972c3-7596-4026-b438-4e7623709e6f</QuestionId> <Score>4</Score> </CustomerResponseScoreDto> <CustomerResponseScoreDto> <ContestId>83bb8ec3-ee89-4212-8d9b-d842a917073b</ContestId> <CorrectAnswer>sample string 6</CorrectAnswer> <CorrectAnswerId>9c67fc8d-b305-4fd6-b9fb-1985c7e1f2ab</CorrectAnswerId> <CustomerId>d48177ef-3b3d-424a-ab9a-ca0aead3699f</CustomerId> <IsCorrectAnswer>true</IsCorrectAnswer> <QuestionId>30d972c3-7596-4026-b438-4e7623709e6f</QuestionId> <Score>4</Score> </CustomerResponseScoreDto> </ArrayOfCustomerResponseScoreDto>