Trendsic Platform Service

<back to all web services

FormFillSignPageRequest

The following routes are available for this service:
GET/v1/formfill/sign/{Token}
"use strict";
export class FormFillReadRow {
    /** @param {{L?:string,V?:string,Kept?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    L;
    /** @type {string} */
    V;
    /** @type {boolean} */
    Kept;
}
export class FormFillReadPage {
    /** @param {{Title?:string,Rows?:FormFillReadRow[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Title;
    /** @type {FormFillReadRow[]} */
    Rows = [];
}
export class FormFillSignPageResponse {
    /** @param {{RequestUID?:string,Number?:string,FormName?:string,Noun?:string,NounEs?:string,TenantName?:string,Lang?:string,Today?:string,Note?:string,From?:string,SignKeys?:string[],AppJson?:string,Read?:FormFillReadPage[],ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    RequestUID;
    /** @type {string} */
    Number;
    /** @type {string} */
    FormName;
    /** @type {string} */
    Noun;
    /** @type {string} */
    NounEs;
    /** @type {string} */
    TenantName;
    /** @type {string} */
    Lang;
    /** @type {string} */
    Today;
    /** @type {string} */
    Note;
    /** @type {string} */
    From;
    /** @type {string[]} */
    SignKeys = [];
    /** @type {string} */
    AppJson;
    /** @type {FormFillReadPage[]} */
    Read = [];
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class FormFillSignPageRequest {
    /** @param {{Token?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Token;
}

JavaScript FormFillSignPageRequest 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/sign/{Token} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"RequestUID":"String","Number":"String","FormName":"String","Noun":"String","NounEs":"String","TenantName":"String","Lang":"String","Today":"String","Note":"String","From":"String","SignKeys":["String"],"AppJson":"String","Read":[{"Title":"String","Rows":[{"L":"String","V":"String","Kept":false}]}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}