POST api/CustomerResponse/UpsertCustomerResponse
Request Information
URI Parameters
None.
Body Parameters
Collection of UpsertCustomerResponseCommandDtoName | 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. |
Request Formats
application/json, text/json
Sample:
[ { "ContestId": "a8e6198e-20a5-4add-a7e6-db270aa3a9f7", "CustomerId": "aa6352b8-8c42-4b95-bb99-c56c7a5b7e36", "UserId": "875db729-60c9-4c1c-a8d7-f1b8b5437f81", "QuestionId": "2cf68238-176c-4de2-9a4c-578e9495b9f9", "Options": [ { "OptionText": "sample string 1", "OptionId": "80589063-9f66-4531-967e-0cbbaec04bf8", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "80589063-9f66-4531-967e-0cbbaec04bf8", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" } ] }, { "ContestId": "a8e6198e-20a5-4add-a7e6-db270aa3a9f7", "CustomerId": "aa6352b8-8c42-4b95-bb99-c56c7a5b7e36", "UserId": "875db729-60c9-4c1c-a8d7-f1b8b5437f81", "QuestionId": "2cf68238-176c-4de2-9a4c-578e9495b9f9", "Options": [ { "OptionText": "sample string 1", "OptionId": "80589063-9f66-4531-967e-0cbbaec04bf8", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" }, { "OptionText": "sample string 1", "OptionId": "80589063-9f66-4531-967e-0cbbaec04bf8", "Sequence": 2, "Name": "sample string 3", "NameImage": "sample string 4" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfUpsertCustomerResponseCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerResponseMoule.Model"> <UpsertCustomerResponseCommandDto> <ContestId>a8e6198e-20a5-4add-a7e6-db270aa3a9f7</ContestId> <CustomerId>aa6352b8-8c42-4b95-bb99-c56c7a5b7e36</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>80589063-9f66-4531-967e-0cbbaec04bf8</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>80589063-9f66-4531-967e-0cbbaec04bf8</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>2cf68238-176c-4de2-9a4c-578e9495b9f9</QuestionId> <UserId>875db729-60c9-4c1c-a8d7-f1b8b5437f81</UserId> </UpsertCustomerResponseCommandDto> <UpsertCustomerResponseCommandDto> <ContestId>a8e6198e-20a5-4add-a7e6-db270aa3a9f7</ContestId> <CustomerId>aa6352b8-8c42-4b95-bb99-c56c7a5b7e36</CustomerId> <Options> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>80589063-9f66-4531-967e-0cbbaec04bf8</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> <QuestionResponseOptions> <Name>sample string 3</Name> <NameImage>sample string 4</NameImage> <OptionId>80589063-9f66-4531-967e-0cbbaec04bf8</OptionId> <OptionText>sample string 1</OptionText> <Sequence>2</Sequence> </QuestionResponseOptions> </Options> <QuestionId>2cf68238-176c-4de2-9a4c-578e9495b9f9</QuestionId> <UserId>875db729-60c9-4c1c-a8d7-f1b8b5437f81</UserId> </UpsertCustomerResponseCommandDto> </ArrayOfUpsertCustomerResponseCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseDtoName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
CustomerId | globally unique identifier |
None. |
|
Token | string |
None. |
|
Message | string |
None. |
|
ErrorMessage | string |
None. |
|
MessageFr | string |
None. |
|
ResponseData | string |
None. |
|
NovaAPIId | string |
None. |
|
IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": "2d44bec2-19a8-4f43-953e-fd7578d9e728", "CustomerId": "30373045-5f7f-4f9e-8062-88a3b9af90a5", "Token": "sample string 3", "Message": "sample string 4", "ErrorMessage": "sample string 5", "MessageFr": "sample string 6", "ResponseData": "sample string 7", "NovaAPIId": "sample string 8", "IsSuccess": true }
application/xml, text/xml
Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model"> <CustomerId>30373045-5f7f-4f9e-8062-88a3b9af90a5</CustomerId> <ErrorMessage>sample string 5</ErrorMessage> <IsSuccess>true</IsSuccess> <Message>sample string 4</Message> <MessageFr>sample string 6</MessageFr> <NovaAPIId>sample string 8</NovaAPIId> <ResponseData>sample string 7</ResponseData> <Token>sample string 3</Token> <UserId>2d44bec2-19a8-4f43-953e-fd7578d9e728</UserId> </ResponseDto>