POST api/CustomerResponse/GetCustomerResponses
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": "1f943c5c-ef83-4a32-a9fc-45bf9c5f3b1c", "ContestId": "94aac99b-7377-4dbd-84ea-21395718be74" }
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>94aac99b-7377-4dbd-84ea-21395718be74</ContestId> <CustomerId>1f943c5c-ef83-4a32-a9fc-45bf9c5f3b1c</CustomerId> </CustomerResponseInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of CustomerResponseDtoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
CustomerId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
QuestionId | globally unique identifier |
None. |
|
Options | Collection of QuestionResponseOptions |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ContestId": "6639a298-4f74-460b-8cfd-79620bafeb4f", "CustomerId": "32c62997-1f09-4298-861c-1b4cf29eed59", "UserId": "edf7e262-c8b6-459e-bc9b-e48f5f09676e", "QuestionId": "692df637-c546-4330-a3cb-56605f5de54b", "Options": [ { "OptionText": "sample string 1", "OptionId": "35e7bd3f-78f8-461c-aa47-5752b2b8be60", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "35e7bd3f-78f8-461c-aa47-5752b2b8be60", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" } ] }, { "ContestId": "6639a298-4f74-460b-8cfd-79620bafeb4f", "CustomerId": "32c62997-1f09-4298-861c-1b4cf29eed59", "UserId": "edf7e262-c8b6-459e-bc9b-e48f5f09676e", "QuestionId": "692df637-c546-4330-a3cb-56605f5de54b", "Options": [ { "OptionText": "sample string 1", "OptionId": "35e7bd3f-78f8-461c-aa47-5752b2b8be60", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "35e7bd3f-78f8-461c-aa47-5752b2b8be60", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerResponseMoule.Model"> <CustomerResponseDto> <ContestId>6639a298-4f74-460b-8cfd-79620bafeb4f</ContestId> <CustomerId>32c62997-1f09-4298-861c-1b4cf29eed59</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>35e7bd3f-78f8-461c-aa47-5752b2b8be60</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>35e7bd3f-78f8-461c-aa47-5752b2b8be60</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>692df637-c546-4330-a3cb-56605f5de54b</QuestionId> <UserId>edf7e262-c8b6-459e-bc9b-e48f5f09676e</UserId> </CustomerResponseDto> <CustomerResponseDto> <ContestId>6639a298-4f74-460b-8cfd-79620bafeb4f</ContestId> <CustomerId>32c62997-1f09-4298-861c-1b4cf29eed59</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>35e7bd3f-78f8-461c-aa47-5752b2b8be60</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>35e7bd3f-78f8-461c-aa47-5752b2b8be60</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>692df637-c546-4330-a3cb-56605f5de54b</QuestionId> <UserId>edf7e262-c8b6-459e-bc9b-e48f5f09676e</UserId> </CustomerResponseDto> </ArrayOfCustomerResponseDto>