Trendsic Platform Service

<back to all web services

FormSignHereRequest

Requires Authentication
The following routes are available for this service:
POST/v1/forms/submissions/{SubmissionUID}/sign/{FieldKey}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class FormSignHereRequest
    {
        public UUID SubmissionUID = null;
        public String FieldKey = null;
        public String Mode = null;
        public String Name = null;
        public String Png = null;
        
        public UUID getSubmissionUID() { return SubmissionUID; }
        public FormSignHereRequest setSubmissionUID(UUID value) { this.SubmissionUID = value; return this; }
        public String getFieldKey() { return FieldKey; }
        public FormSignHereRequest setFieldKey(String value) { this.FieldKey = value; return this; }
        public String getMode() { return Mode; }
        public FormSignHereRequest setMode(String value) { this.Mode = value; return this; }
        public String getName() { return Name; }
        public FormSignHereRequest setName(String value) { this.Name = value; return this; }
        public String getPng() { return Png; }
        public FormSignHereRequest setPng(String value) { this.Png = value; return this; }
    }

    public static class FormSignHereResponse
    {
        public Boolean Arrived = null;
        public Integer Pending = null;
        public ResponseStatus ResponseStatus = null;
        
        public Boolean isArrived() { return Arrived; }
        public FormSignHereResponse setArrived(Boolean value) { this.Arrived = value; return this; }
        public Integer getPending() { return Pending; }
        public FormSignHereResponse setPending(Integer value) { this.Pending = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public FormSignHereResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

}

Java FormSignHereRequest 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 /v1/forms/submissions/{SubmissionUID}/sign/{FieldKey} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"SubmissionUID":"00000000000000000000000000000000","FieldKey":"String","Mode":"String","Name":"String","Png":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Arrived":false,"Pending":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}