Trendsic Platform Service

<back to all web services

FormFillSignSendRequest

The following routes are available for this service:
POST/v1/formfill/sign/{Token}/send
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class FormFillSignSendRequest
    {
        public String Token = null;
        public String RequestUID = null;
        public String AnswersJson = null;
        public String Lang = null;
        
        public String getToken() { return Token; }
        public FormFillSignSendRequest setToken(String value) { this.Token = value; return this; }
        public String getRequestUID() { return RequestUID; }
        public FormFillSignSendRequest setRequestUID(String value) { this.RequestUID = value; return this; }
        public String getAnswersJson() { return AnswersJson; }
        public FormFillSignSendRequest setAnswersJson(String value) { this.AnswersJson = value; return this; }
        public String getLang() { return Lang; }
        public FormFillSignSendRequest setLang(String value) { this.Lang = value; return this; }
    }

    public static class FormFillSignSendResponse
    {
        public Boolean Sent = null;
        public Boolean Arrived = null;
        public String StatusUrl = null;
        public ArrayList<FormFillFieldError> Errors = new ArrayList<FormFillFieldError>();
        public ResponseStatus ResponseStatus = null;
        
        public Boolean isSent() { return Sent; }
        public FormFillSignSendResponse setSent(Boolean value) { this.Sent = value; return this; }
        public Boolean isArrived() { return Arrived; }
        public FormFillSignSendResponse setArrived(Boolean value) { this.Arrived = value; return this; }
        public String getStatusUrl() { return StatusUrl; }
        public FormFillSignSendResponse setStatusUrl(String value) { this.StatusUrl = value; return this; }
        public ArrayList<FormFillFieldError> getErrors() { return Errors; }
        public FormFillSignSendResponse setErrors(ArrayList<FormFillFieldError> value) { this.Errors = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public FormFillSignSendResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class FormFillFieldError
    {
        public String K = null;
        public String Msg = null;
        
        public String getK() { return K; }
        public FormFillFieldError setK(String value) { this.K = value; return this; }
        public String getMsg() { return Msg; }
        public FormFillFieldError setMsg(String value) { this.Msg = value; return this; }
    }

}

Java FormFillSignSendRequest DTOs

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

HTTP + OTHER

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

POST /v1/formfill/sign/{Token}/send HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Token":"String","RequestUID":"String","AnswersJson":"String","Lang":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Sent":false,"Arrived":false,"StatusUrl":"String","Errors":[{"K":"String","Msg":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}