| POST | /v1/forms/submissions/{SubmissionUID}/requests/{RequestUID}/reveal/{FieldKey} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FormSubmissionRevealReplacedRequest
{
public UUID SubmissionUID = null;
public UUID RequestUID = null;
public String FieldKey = null;
public UUID getSubmissionUID() { return SubmissionUID; }
public FormSubmissionRevealReplacedRequest setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; }
public UUID getRequestUID() { return RequestUID; }
public FormSubmissionRevealReplacedRequest setRequestUID(UUID value) { this.RequestUID = value; return this; }
public String getFieldKey() { return FieldKey; }
public FormSubmissionRevealReplacedRequest setFieldKey(String value) { this.FieldKey = value; return this; }
}
public static class FormSubmissionRevealResponse
{
public String Value = null;
public ResponseStatus ResponseStatus = null;
public String getValue() { return Value; }
public FormSubmissionRevealResponse setValue(String value) { this.Value = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FormSubmissionRevealResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
}
Java FormSubmissionRevealReplacedRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/forms/submissions/{SubmissionUID}/requests/{RequestUID}/reveal/{FieldKey} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"SubmissionUID":"00000000000000000000000000000000","RequestUID":"00000000000000000000000000000000","FieldKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Value":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}