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": "4fb0cda0-ea7e-4ace-8d6f-adbd54b2053f", "ContestId": "29d04bc8-5dee-4017-b467-1efe21971178" }
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>29d04bc8-5dee-4017-b467-1efe21971178</ContestId> <CustomerId>4fb0cda0-ea7e-4ace-8d6f-adbd54b2053f</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": "ac7fbdfb-8ab7-4680-bc88-8059162f90bb", "CustomerId": "ec52f30f-6b55-4c1c-90a1-b51a07012dc0", "UserId": "82fd5380-98c1-4dd1-95e7-12a0a515a865", "QuestionId": "74a7f98e-ec76-4a84-a648-5b215cef16f7", "Options": [ { "OptionText": "sample string 1", "OptionId": "7e4caf6f-700e-46e9-b610-be670fb3f669", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "7e4caf6f-700e-46e9-b610-be670fb3f669", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" } ] }, { "ContestId": "ac7fbdfb-8ab7-4680-bc88-8059162f90bb", "CustomerId": "ec52f30f-6b55-4c1c-90a1-b51a07012dc0", "UserId": "82fd5380-98c1-4dd1-95e7-12a0a515a865", "QuestionId": "74a7f98e-ec76-4a84-a648-5b215cef16f7", "Options": [ { "OptionText": "sample string 1", "OptionId": "7e4caf6f-700e-46e9-b610-be670fb3f669", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "7e4caf6f-700e-46e9-b610-be670fb3f669", "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>ac7fbdfb-8ab7-4680-bc88-8059162f90bb</ContestId> <CustomerId>ec52f30f-6b55-4c1c-90a1-b51a07012dc0</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>7e4caf6f-700e-46e9-b610-be670fb3f669</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>7e4caf6f-700e-46e9-b610-be670fb3f669</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>74a7f98e-ec76-4a84-a648-5b215cef16f7</QuestionId> <UserId>82fd5380-98c1-4dd1-95e7-12a0a515a865</UserId> </CustomerResponseDto> <CustomerResponseDto> <ContestId>ac7fbdfb-8ab7-4680-bc88-8059162f90bb</ContestId> <CustomerId>ec52f30f-6b55-4c1c-90a1-b51a07012dc0</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>7e4caf6f-700e-46e9-b610-be670fb3f669</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>7e4caf6f-700e-46e9-b610-be670fb3f669</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>74a7f98e-ec76-4a84-a648-5b215cef16f7</QuestionId> <UserId>82fd5380-98c1-4dd1-95e7-12a0a515a865</UserId> </CustomerResponseDto> </ArrayOfCustomerResponseDto>