| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}