SurveyAnswerSvc
Click here for a complete list of operations.
SelectByParentRSN
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /singleview/common/surveyanswersvc.asmx HTTP/1.1
Host: www.simplicitycrm.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://services.simplicitycrm.com/dataintegration/surveyanswer/SelectByParentRSN"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SelectByParentRSN xmlns="http://services.simplicitycrm.com/dataintegration/surveyanswer">
<Token>string</Token>
<OnlineForm_RSN>string</OnlineForm_RSN>
<Parent_RSN>string</Parent_RSN>
<FieldNames>
<string>string</string>
<string>string</string>
</FieldNames>
</SelectByParentRSN>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SelectByParentRSNResponse xmlns="http://services.simplicitycrm.com/dataintegration/surveyanswer">
<SelectByParentRSNResult>
<ErrorCode>int</ErrorCode>
<SurveyAnswers>
<SelectSurveyAnswerResult>
<ErrorCode>int</ErrorCode>
<RSN>string</RSN>
<DisplayValue>string</DisplayValue>
<Survey_RSN>string</Survey_RSN>
<Parent_RSN>string</Parent_RSN>
<SurveyInstance_RSN>string</SurveyInstance_RSN>
<OnlineForm_RSN>string</OnlineForm_RSN>
<Date>dateTime</Date>
<KeyCode>string</KeyCode>
<LabelCode>string</LabelCode>
<Page_Index>int</Page_Index>
<Survey_Index>int</Survey_Index>
<SurveyInstance_DedupeKey>string</SurveyInstance_DedupeKey>
<CreatedOn>dateTime</CreatedOn>
<CreatedBy>string</CreatedBy>
<ModifiedOn>dateTime</ModifiedOn>
<ModifiedBy>string</ModifiedBy>
<CampaignList_RSN>string</CampaignList_RSN>
<LabelCode_RSN>string</LabelCode_RSN>
<Answers xsi:nil="true" />
</SelectSurveyAnswerResult>
<SelectSurveyAnswerResult>
<ErrorCode>int</ErrorCode>
<RSN>string</RSN>
<DisplayValue>string</DisplayValue>
<Survey_RSN>string</Survey_RSN>
<Parent_RSN>string</Parent_RSN>
<SurveyInstance_RSN>string</SurveyInstance_RSN>
<OnlineForm_RSN>string</OnlineForm_RSN>
<Date>dateTime</Date>
<KeyCode>string</KeyCode>
<LabelCode>string</LabelCode>
<Page_Index>int</Page_Index>
<Survey_Index>int</Survey_Index>
<SurveyInstance_DedupeKey>string</SurveyInstance_DedupeKey>
<CreatedOn>dateTime</CreatedOn>
<CreatedBy>string</CreatedBy>
<ModifiedOn>dateTime</ModifiedOn>
<ModifiedBy>string</ModifiedBy>
<CampaignList_RSN>string</CampaignList_RSN>
<LabelCode_RSN>string</LabelCode_RSN>
<Answers xsi:nil="true" />
</SelectSurveyAnswerResult>
</SurveyAnswers>
</SelectByParentRSNResult>
</SelectByParentRSNResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /singleview/common/surveyanswersvc.asmx HTTP/1.1
Host: www.simplicitycrm.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SelectByParentRSN xmlns="http://services.simplicitycrm.com/dataintegration/surveyanswer">
<Token>string</Token>
<OnlineForm_RSN>string</OnlineForm_RSN>
<Parent_RSN>string</Parent_RSN>
<FieldNames>
<string>string</string>
<string>string</string>
</FieldNames>
</SelectByParentRSN>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SelectByParentRSNResponse xmlns="http://services.simplicitycrm.com/dataintegration/surveyanswer">
<SelectByParentRSNResult>
<ErrorCode>int</ErrorCode>
<SurveyAnswers>
<SelectSurveyAnswerResult>
<ErrorCode>int</ErrorCode>
<RSN>string</RSN>
<DisplayValue>string</DisplayValue>
<Survey_RSN>string</Survey_RSN>
<Parent_RSN>string</Parent_RSN>
<SurveyInstance_RSN>string</SurveyInstance_RSN>
<OnlineForm_RSN>string</OnlineForm_RSN>
<Date>dateTime</Date>
<KeyCode>string</KeyCode>
<LabelCode>string</LabelCode>
<Page_Index>int</Page_Index>
<Survey_Index>int</Survey_Index>
<SurveyInstance_DedupeKey>string</SurveyInstance_DedupeKey>
<CreatedOn>dateTime</CreatedOn>
<CreatedBy>string</CreatedBy>
<ModifiedOn>dateTime</ModifiedOn>
<ModifiedBy>string</ModifiedBy>
<CampaignList_RSN>string</CampaignList_RSN>
<LabelCode_RSN>string</LabelCode_RSN>
<Answers xsi:nil="true" />
</SelectSurveyAnswerResult>
<SelectSurveyAnswerResult>
<ErrorCode>int</ErrorCode>
<RSN>string</RSN>
<DisplayValue>string</DisplayValue>
<Survey_RSN>string</Survey_RSN>
<Parent_RSN>string</Parent_RSN>
<SurveyInstance_RSN>string</SurveyInstance_RSN>
<OnlineForm_RSN>string</OnlineForm_RSN>
<Date>dateTime</Date>
<KeyCode>string</KeyCode>
<LabelCode>string</LabelCode>
<Page_Index>int</Page_Index>
<Survey_Index>int</Survey_Index>
<SurveyInstance_DedupeKey>string</SurveyInstance_DedupeKey>
<CreatedOn>dateTime</CreatedOn>
<CreatedBy>string</CreatedBy>
<ModifiedOn>dateTime</ModifiedOn>
<ModifiedBy>string</ModifiedBy>
<CampaignList_RSN>string</CampaignList_RSN>
<LabelCode_RSN>string</LabelCode_RSN>
<Answers xsi:nil="true" />
</SelectSurveyAnswerResult>
</SurveyAnswers>
</SelectByParentRSNResult>
</SelectByParentRSNResponse>
</soap12:Body>
</soap12:Envelope>
JSON
The following is a sample JSON request and response. The placeholders shown need to be replaced with actual values.
POST /singleview/api/common/surveyanswersvc/SelectByParentRSN HTTP/1.1
Host: www.simplicitycrm.com
Content-Type: application/json; charset=utf-8
Content-Length: length
Authorization: Token string
{
"OnlineForm_RSN":string,
"Parent_RSN":string,
"FieldNames":[
string,
string,
],
},
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length
{
"ErrorCode":int,
"SurveyAnswers":[
{
"ErrorCode":int,
"RSN":string,
"DisplayValue":string,
"Survey_RSN":string,
"Parent_RSN":string,
"SurveyInstance_RSN":string,
"OnlineForm_RSN":string,
"Date":dateTime,
"KeyCode":string,
"LabelCode":string,
"Page_Index":int,
"Survey_Index":int,
"SurveyInstance_DedupeKey":string,
"CreatedOn":dateTime,
"CreatedBy":string,
"ModifiedOn":dateTime,
"ModifiedBy":string,
"CampaignList_RSN":string,
"LabelCode_RSN":string,
"Answers":[
{
"FieldName":string,
},
{
"FieldName":string,
},
],
},
{
"ErrorCode":int,
"RSN":string,
"DisplayValue":string,
"Survey_RSN":string,
"Parent_RSN":string,
"SurveyInstance_RSN":string,
"OnlineForm_RSN":string,
"Date":dateTime,
"KeyCode":string,
"LabelCode":string,
"Page_Index":int,
"Survey_Index":int,
"SurveyInstance_DedupeKey":string,
"CreatedOn":dateTime,
"CreatedBy":string,
"ModifiedOn":dateTime,
"ModifiedBy":string,
"CampaignList_RSN":string,
"LabelCode_RSN":string,
"Answers":[
{
"FieldName":string,
},
{
"FieldName":string,
},
],
},
],
},