| GET | /v1/formfill/appt/{Token} |
|---|
"use strict";
export class FormFillApptResponse {
/** @param {{State?:string,FormName?:string,Message?:string,StatusUrl?:string,More?:boolean,Token?:string,AppJson?:string,TenantName?:string,Today?:string,AnswersJson?:string,Page?:number,Rev?:number,Lang?:string,ResponseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
State;
/** @type {string} */
FormName;
/** @type {string} */
Message;
/** @type {string} */
StatusUrl;
/** @type {boolean} */
More;
/** @type {string} */
Token;
/** @type {string} */
AppJson;
/** @type {string} */
TenantName;
/** @type {string} */
Today;
/** @type {string} */
AnswersJson;
/** @type {number} */
Page;
/** @type {number} */
Rev;
/** @type {string} */
Lang;
/** @type {ResponseStatus} */
ResponseStatus;
}
export class FormFillApptRequest {
/** @param {{Token?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Token;
}
JavaScript FormFillApptRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/formfill/appt/{Token} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
State: String,
FormName: String,
Message: String,
StatusUrl: String,
More: False,
Token: String,
AppJson: String,
TenantName: String,
Today: 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
}
}
}