Evo Voice

<back to all web services

LiveAnswerSurveyCallback

The following routes are available for this service:
All Verbs/nodes/live-answer/survey
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class LiveAnswerSurveyCallback
    {
        public String sessionId = null;
        public String flowId = null;
        public String nodeId = null;
        public String clientId = null;
        public String formId = null;
        public HashMap<String,Object> data = null;
        
        public String getSessionId() { return sessionId; }
        public LiveAnswerSurveyCallback setSessionId(String value) { this.sessionId = value; return this; }
        public String getFlowId() { return flowId; }
        public LiveAnswerSurveyCallback setFlowId(String value) { this.flowId = value; return this; }
        public String getNodeId() { return nodeId; }
        public LiveAnswerSurveyCallback setNodeId(String value) { this.nodeId = value; return this; }
        public String getClientId() { return clientId; }
        public LiveAnswerSurveyCallback setClientId(String value) { this.clientId = value; return this; }
        public String getFormId() { return formId; }
        public LiveAnswerSurveyCallback setFormId(String value) { this.formId = value; return this; }
        public HashMap<String,Object> getData() { return data; }
        public LiveAnswerSurveyCallback setData(HashMap<String,Object> value) { this.data = value; return this; }
    }

}

Java LiveAnswerSurveyCallback DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /nodes/live-answer/survey HTTP/1.1 
Host: team.evovoice.io 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"sessionId":"String","flowId":"String","nodeId":"String","clientId":"String","formId":"String","data":{"String":{}}}