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": "f02ac251-7d87-4098-b8e1-6494843576e0", "ContestId": "4bbaeb43-d9ab-4fcc-a77c-03110b3f3812" }
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>4bbaeb43-d9ab-4fcc-a77c-03110b3f3812</ContestId> <CustomerId>f02ac251-7d87-4098-b8e1-6494843576e0</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": "0b2e0e09-2dad-40df-a21a-57204c2dec36", "CustomerId": "f69881ae-73c2-469f-8f9f-dbf540a05c7c", "QuestionId": "dbbf7e78-3a4a-491b-8b48-9abc1b98a583", "Score": 4, "IsCorrectAnswer": true, "CorrectAnswer": "sample string 6", "CorrectAnswerId": "2eeebbcb-20bf-4c4b-b9f1-e979746bef4e" }, { "ContestId": "0b2e0e09-2dad-40df-a21a-57204c2dec36", "CustomerId": "f69881ae-73c2-469f-8f9f-dbf540a05c7c", "QuestionId": "dbbf7e78-3a4a-491b-8b48-9abc1b98a583", "Score": 4, "IsCorrectAnswer": true, "CorrectAnswer": "sample string 6", "CorrectAnswerId": "2eeebbcb-20bf-4c4b-b9f1-e979746bef4e" } ]
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>0b2e0e09-2dad-40df-a21a-57204c2dec36</ContestId> <CorrectAnswer>sample string 6</CorrectAnswer> <CorrectAnswerId>2eeebbcb-20bf-4c4b-b9f1-e979746bef4e</CorrectAnswerId> <CustomerId>f69881ae-73c2-469f-8f9f-dbf540a05c7c</CustomerId> <IsCorrectAnswer>true</IsCorrectAnswer> <QuestionId>dbbf7e78-3a4a-491b-8b48-9abc1b98a583</QuestionId> <Score>4</Score> </CustomerResponseScoreDto> <CustomerResponseScoreDto> <ContestId>0b2e0e09-2dad-40df-a21a-57204c2dec36</ContestId> <CorrectAnswer>sample string 6</CorrectAnswer> <CorrectAnswerId>2eeebbcb-20bf-4c4b-b9f1-e979746bef4e</CorrectAnswerId> <CustomerId>f69881ae-73c2-469f-8f9f-dbf540a05c7c</CustomerId> <IsCorrectAnswer>true</IsCorrectAnswer> <QuestionId>dbbf7e78-3a4a-491b-8b48-9abc1b98a583</QuestionId> <Score>4</Score> </CustomerResponseScoreDto> </ArrayOfCustomerResponseScoreDto>