Trendsic Platform Service

<back to all web services

FormFillSignPageRequest

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

public class dtos
{

    public static class FormFillSignPageRequest
    {
        public String Token = null;
        
        public String getToken() { return Token; }
        public FormFillSignPageRequest setToken(String value) { this.Token = value; return this; }
    }

    public static class FormFillSignPageResponse
    {
        public String RequestUID = null;
        public String Number = null;
        public String FormName = null;
        public String Noun = null;
        public String NounEs = null;
        public String TenantName = null;
        public String Lang = null;
        public String Today = null;
        public String Note = null;
        public String From = null;
        public ArrayList<String> SignKeys = new ArrayList<String>();
        public String AppJson = null;
        public ArrayList<FormFillReadPage> Read = new ArrayList<FormFillReadPage>();
        public ResponseStatus ResponseStatus = null;
        
        public String getRequestUID() { return RequestUID; }
        public FormFillSignPageResponse setRequestUID(String value) { this.RequestUID = value; return this; }
        public String getNumber() { return Number; }
        public FormFillSignPageResponse setNumber(String value) { this.Number = value; return this; }
        public String getFormName() { return FormName; }
        public FormFillSignPageResponse setFormName(String value) { this.FormName = value; return this; }
        public String getNoun() { return Noun; }
        public FormFillSignPageResponse setNoun(String value) { this.Noun = value; return this; }
        public String getNounEs() { return NounEs; }
        public FormFillSignPageResponse setNounEs(String value) { this.NounEs = value; return this; }
        public String getTenantName() { return TenantName; }
        public FormFillSignPageResponse setTenantName(String value) { this.TenantName = value; return this; }
        public String getLang() { return Lang; }
        public FormFillSignPageResponse setLang(String value) { this.Lang = value; return this; }
        public String getToday() { return Today; }
        public FormFillSignPageResponse setToday(String value) { this.Today = value; return this; }
        public String getNote() { return Note; }
        public FormFillSignPageResponse setNote(String value) { this.Note = value; return this; }
        public String getFrom() { return From; }
        public FormFillSignPageResponse setFrom(String value) { this.From = value; return this; }
        public ArrayList<String> getSignKeys() { return SignKeys; }
        public FormFillSignPageResponse setSignKeys(ArrayList<String> value) { this.SignKeys = value; return this; }
        public String getAppJson() { return AppJson; }
        public FormFillSignPageResponse setAppJson(String value) { this.AppJson = value; return this; }
        public ArrayList<FormFillReadPage> getRead() { return Read; }
        public FormFillSignPageResponse setRead(ArrayList<FormFillReadPage> value) { this.Read = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public FormFillSignPageResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class FormFillReadPage
    {
        public String Title = null;
        public ArrayList<FormFillReadRow> Rows = new ArrayList<FormFillReadRow>();
        
        public String getTitle() { return Title; }
        public FormFillReadPage setTitle(String value) { this.Title = value; return this; }
        public ArrayList<FormFillReadRow> getRows() { return Rows; }
        public FormFillReadPage setRows(ArrayList<FormFillReadRow> value) { this.Rows = value; return this; }
    }

    public static class FormFillReadRow
    {
        public String L = null;
        public String V = null;
        public Boolean Kept = null;
        
        public String getL() { return L; }
        public FormFillReadRow setL(String value) { this.L = value; return this; }
        public String getV() { return V; }
        public FormFillReadRow setV(String value) { this.V = value; return this; }
        public Boolean isKept() { return Kept; }
        public FormFillReadRow setKept(Boolean value) { this.Kept = value; return this; }
    }

}

Java FormFillSignPageRequest DTOs

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

HTTP + JSV

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

GET /v1/formfill/sign/{Token} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	RequestUID: String,
	Number: String,
	FormName: String,
	Noun: String,
	NounEs: String,
	TenantName: String,
	Lang: String,
	Today: String,
	Note: String,
	From: String,
	SignKeys: 
	[
		String
	],
	AppJson: String,
	Read: 
	[
		{
			Title: String,
			Rows: 
			[
				{
					L: String,
					V: String,
					Kept: False
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}