Trendsic Platform Service

<back to all web services

FormFillDraftRequest

The following routes are available for this service:
GET/v1/formfill/draft/{Token}
"use strict";
export class FormFillDraftResponse {
    /** @param {{AppJson?:string,TenantName?:string,Today?:string,Who?:string,AnswersJson?:string,Page?:number,Rev?:number,Lang?:string,ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    AppJson;
    /** @type {string} */
    TenantName;
    /** @type {string} */
    Today;
    /** @type {string} */
    Who;
    /** @type {string} */
    AnswersJson;
    /** @type {number} */
    Page;
    /** @type {number} */
    Rev;
    /** @type {string} */
    Lang;
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class FormFillDraftRequest {
    /** @param {{Token?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Token;
}

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

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