Trendsic Platform Service

<back to all web services

FormFillDraftRequest

The following routes are available for this service:
GET/v1/formfill/draft/{Token}

export class FormFillDraftResponse
{
    public AppJson: string;
    public TenantName: string;
    public Today: string;
    public Who: string;
    public AnswersJson: string;
    public Page: number;
    public Rev: number;
    public Lang: string;
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<FormFillDraftResponse>) { (Object as any).assign(this, init); }
}

export class FormFillDraftRequest
{
    public Token: string;

    public constructor(init?: Partial<FormFillDraftRequest>) { (Object as any).assign(this, init); }
}

TypeScript FormFillDraftRequest 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/draft/{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

{
	AppJson: String,
	TenantName: String,
	Today: String,
	Who: String,
	AnswersJson: String,
	Page: 0,
	Rev: 0,
	Lang: String,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}