POST api/surveys/containerValidation?surveyStartDataEncrypted={surveyStartDataEncrypted}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyStartDataEncrypted | string |
None. |
Body Parameters
ContainerValidationInfoName | Description | Type | Additional information |
---|---|---|---|
containerID | string |
Required |
|
containerIdToValidationTypes | Dictionary of string [key] and Collection of ContainerValidationTypes [value] |
Required |
|
responseVector | Dictionary of string [key] and QuestionResponse [value] |
Required |
|
cultureID | integer |
Range: inclusive between 1 and 32767 |
Request Formats
application/json, text/json
Sample:
{ "containerID": "sample string 1", "containerIdToValidationTypes": { "sample string 1": null, "sample string 2": null }, "responseVector": { "sample string 1": null, "sample string 2": null }, "cultureID": 2 }
application/xml, text/xml
Sample:
<ContainerValidationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.ProfileFlows.ContainerValidation"> <containerID>sample string 1</containerID> <containerIdToValidationTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value i:nil="true" /> </d2p1:KeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Value i:nil="true" /> </d2p1:KeyValueOfstringanyType> </containerIdToValidationTypes> <cultureID>2</cultureID> <responseVector xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringQuestionResponseXShtVwaz> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProfilesRuntimeMediator.RuntimeObjects" i:nil="true" /> </d2p1:KeyValueOfstringQuestionResponseXShtVwaz> <d2p1:KeyValueOfstringQuestionResponseXShtVwaz> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProfilesRuntimeMediator.RuntimeObjects" i:nil="true" /> </d2p1:KeyValueOfstringQuestionResponseXShtVwaz> </responseVector> </ContainerValidationInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ContainerValidationResultName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.