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 .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.

GET /v1/formfill/draft/{Token} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}