Trendsic Platform Service

<back to all web services

FormStartersRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/starters
"use strict";
export class FormStarter {
    /** @param {{TemplateUID?:string,Name?:string,Noun?:string,NumberPrefix?:string,Description?:string,Pack?:string,PackName?:string,IsTenantTemplate?:boolean,PayloadJson?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    TemplateUID;
    /** @type {string} */
    Name;
    /** @type {string} */
    Noun;
    /** @type {string} */
    NumberPrefix;
    /** @type {string} */
    Description;
    /** @type {string} */
    Pack;
    /** @type {string} */
    PackName;
    /** @type {boolean} */
    IsTenantTemplate;
    /** @type {string} */
    PayloadJson;
}
export class FormStartersResponse {
    /** @param {{Starters?:FormStarter[],ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {FormStarter[]} */
    Starters = [];
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class FormStartersRequest {
    constructor(init) { Object.assign(this, init) }
}

JavaScript FormStartersRequest 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/forms/starters HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Starters":[{"TemplateUID":"00000000000000000000000000000000","Name":"String","Noun":"String","NumberPrefix":"String","Description":"String","Pack":"String","PackName":"String","IsTenantTemplate":false,"PayloadJson":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}