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 .xml suffix or ?format=xml
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/xml
Content-Type: application/xml
Content-Length: length
<LiveAnswerSurveyCallback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Nodes.AI">
<ClientId>String</ClientId>
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Data>
<FlowId>String</FlowId>
<FormId>String</FormId>
<NodeId>String</NodeId>
<SessionId>String</SessionId>
</LiveAnswerSurveyCallback>