Trendsic Platform Service

<back to all web services

FormFillApptRequest

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

export class FormFillApptResponse
{
    public State: string;
    public FormName: string;
    public Message: string;
    public StatusUrl: string;
    public More: boolean;
    public Token: string;
    public AppJson: string;
    public TenantName: string;
    public Today: string;
    public AnswersJson: string;
    public Page: number;
    public Rev: number;
    public Lang: string;
    public ResponseStatus: ResponseStatus;

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

export class FormFillApptRequest
{
    public Token: string;

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

TypeScript FormFillApptRequest 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/appt/{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

{"State":"String","FormName":"String","Message":"String","StatusUrl":"String","More":false,"Token":"String","AppJson":"String","TenantName":"String","Today":"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"}}}