Trendsic Platform Service

<back to all web services

FormFillRequestRequest

The following routes are available for this service:
GET/v1/formfill/status/{Token}/request
"use strict";
export class FormFillRequestResponse {
    /** @param {{Open?:boolean,RequestUID?:string,Note?:string,From?:string,Number?:string,FormName?:string,Noun?:string,NounEs?:string,TenantName?:string,Lang?:string,Today?:string,Keys?:string[],Resign?:string[],SignKeys?:string[],Sensitive?:string[],AppJson?:string,AnswersJson?:string,ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {boolean} */
    Open;
    /** @type {string} */
    RequestUID;
    /** @type {string} */
    Note;
    /** @type {string} */
    From;
    /** @type {string} */
    Number;
    /** @type {string} */
    FormName;
    /** @type {string} */
    Noun;
    /** @type {string} */
    NounEs;
    /** @type {string} */
    TenantName;
    /** @type {string} */
    Lang;
    /** @type {string} */
    Today;
    /** @type {string[]} */
    Keys = [];
    /** @type {string[]} */
    Resign = [];
    /** @type {string[]} */
    SignKeys = [];
    /** @type {string[]} */
    Sensitive = [];
    /** @type {string} */
    AppJson;
    /** @type {string} */
    AnswersJson;
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class FormFillRequestRequest {
    /** @param {{Token?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Token;
}

JavaScript FormFillRequestRequest DTOs

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

HTTP + CSV

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

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

{"Open":false,"RequestUID":"String","Note":"String","From":"String","Number":"String","FormName":"String","Noun":"String","NounEs":"String","TenantName":"String","Lang":"String","Today":"String","Keys":["String"],"Resign":["String"],"SignKeys":["String"],"Sensitive":["String"],"AppJson":"String","AnswersJson":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}