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": "fae296e3-99c4-41e7-a871-1be86dd7dabf", "ContestId": "fff70bc1-2256-4b3a-94a3-ae69111e36a5" }
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>fff70bc1-2256-4b3a-94a3-ae69111e36a5</ContestId> <CustomerId>fae296e3-99c4-41e7-a871-1be86dd7dabf</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": "6acf4543-f29f-4012-be86-4d269b8eb257", "CustomerId": "388f2657-b9f5-472d-9723-e728a2939a2e", "UserId": "8a5df592-bf91-4fd5-923f-2c204103e7df", "QuestionId": "bac50a60-49fc-4a58-8ba1-5453e084b3da", "Options": [ { "OptionText": "sample string 1", "OptionId": "4961794c-6abd-4d5b-afd9-0680f4c3f488", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "4961794c-6abd-4d5b-afd9-0680f4c3f488", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" } ] }, { "ContestId": "6acf4543-f29f-4012-be86-4d269b8eb257", "CustomerId": "388f2657-b9f5-472d-9723-e728a2939a2e", "UserId": "8a5df592-bf91-4fd5-923f-2c204103e7df", "QuestionId": "bac50a60-49fc-4a58-8ba1-5453e084b3da", "Options": [ { "OptionText": "sample string 1", "OptionId": "4961794c-6abd-4d5b-afd9-0680f4c3f488", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "4961794c-6abd-4d5b-afd9-0680f4c3f488", "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>6acf4543-f29f-4012-be86-4d269b8eb257</ContestId> <CustomerId>388f2657-b9f5-472d-9723-e728a2939a2e</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>4961794c-6abd-4d5b-afd9-0680f4c3f488</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>4961794c-6abd-4d5b-afd9-0680f4c3f488</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>bac50a60-49fc-4a58-8ba1-5453e084b3da</QuestionId> <UserId>8a5df592-bf91-4fd5-923f-2c204103e7df</UserId> </CustomerResponseDto> <CustomerResponseDto> <ContestId>6acf4543-f29f-4012-be86-4d269b8eb257</ContestId> <CustomerId>388f2657-b9f5-472d-9723-e728a2939a2e</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>4961794c-6abd-4d5b-afd9-0680f4c3f488</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>4961794c-6abd-4d5b-afd9-0680f4c3f488</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>bac50a60-49fc-4a58-8ba1-5453e084b3da</QuestionId> <UserId>8a5df592-bf91-4fd5-923f-2c204103e7df</UserId> </CustomerResponseDto> </ArrayOfCustomerResponseDto>