| POST | /v1/forms/office/drafts/{SubmissionUID}/reveal/{FieldKey} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FormOfficeRevealRequest
{
public UUID SubmissionUID = null;
public String FieldKey = null;
public UUID getSubmissionUID() { return SubmissionUID; }
public FormOfficeRevealRequest setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; }
public String getFieldKey() { return FieldKey; }
public FormOfficeRevealRequest setFieldKey(String value) { this.FieldKey = value; return this; }
}
public static class FormRowsRevealResponse
{
public String RowsJson = null;
public String Value = null;
public ResponseStatus ResponseStatus = null;
public String getRowsJson() { return RowsJson; }
public FormRowsRevealResponse setRowsJson(String value) { this.RowsJson = value; return this; }
public String getValue() { return Value; }
public FormRowsRevealResponse setValue(String value) { this.Value = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FormRowsRevealResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
}
Java FormOfficeRevealRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/forms/office/drafts/{SubmissionUID}/reveal/{FieldKey} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"SubmissionUID":"00000000000000000000000000000000","FieldKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"RowsJson":"String","Value":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}