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": "56b66be0-5a08-4f39-ad4a-11494cbb4a17", "ContestId": "8cacc48e-bbd0-4a61-ab3e-40edf868ef86" }
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>8cacc48e-bbd0-4a61-ab3e-40edf868ef86</ContestId> <CustomerId>56b66be0-5a08-4f39-ad4a-11494cbb4a17</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": "bb1c6510-0a54-4a3b-84f2-9d4bae9ded4b", "CustomerId": "acf1c286-13bc-491f-8a07-5bb801bd9882", "QuestionId": "b70ab737-1cde-400a-bd7e-51a1eb8aeb4c", "Score": 4, "IsCorrectAnswer": true, "CorrectAnswer": "sample string 6", "CorrectAnswerId": "2f2d693a-037a-4f00-a95f-ecba7626543b" }, { "ContestId": "bb1c6510-0a54-4a3b-84f2-9d4bae9ded4b", "CustomerId": "acf1c286-13bc-491f-8a07-5bb801bd9882", "QuestionId": "b70ab737-1cde-400a-bd7e-51a1eb8aeb4c", "Score": 4, "IsCorrectAnswer": true, "CorrectAnswer": "sample string 6", "CorrectAnswerId": "2f2d693a-037a-4f00-a95f-ecba7626543b" } ]
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>bb1c6510-0a54-4a3b-84f2-9d4bae9ded4b</ContestId> <CorrectAnswer>sample string 6</CorrectAnswer> <CorrectAnswerId>2f2d693a-037a-4f00-a95f-ecba7626543b</CorrectAnswerId> <CustomerId>acf1c286-13bc-491f-8a07-5bb801bd9882</CustomerId> <IsCorrectAnswer>true</IsCorrectAnswer> <QuestionId>b70ab737-1cde-400a-bd7e-51a1eb8aeb4c</QuestionId> <Score>4</Score> </CustomerResponseScoreDto> <CustomerResponseScoreDto> <ContestId>bb1c6510-0a54-4a3b-84f2-9d4bae9ded4b</ContestId> <CorrectAnswer>sample string 6</CorrectAnswer> <CorrectAnswerId>2f2d693a-037a-4f00-a95f-ecba7626543b</CorrectAnswerId> <CustomerId>acf1c286-13bc-491f-8a07-5bb801bd9882</CustomerId> <IsCorrectAnswer>true</IsCorrectAnswer> <QuestionId>b70ab737-1cde-400a-bd7e-51a1eb8aeb4c</QuestionId> <Score>4</Score> </CustomerResponseScoreDto> </ArrayOfCustomerResponseScoreDto>