| GET | /v1/forms/go-sent |
|---|
"use strict";
export class FormGoSentRow {
/** @param {{Id?:number,Name?:string,Position?:string,FirstSentAt?:string,FirstSentBy?:string,LastSentAt?:string,LastSentBy?:string,Times?:number,How?:string,Went?:string,Where?:string,CanRemove?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Id;
/** @type {string} */
Name;
/** @type {string} */
Position;
/** @type {string} */
FirstSentAt;
/** @type {string} */
FirstSentBy;
/** @type {string} */
LastSentAt;
/** @type {string} */
LastSentBy;
/** @type {number} */
Times;
/** @type {string} */
How;
/** @type {string} */
Went;
/** @type {string} */
Where;
/** @type {boolean} */
CanRemove;
}
export class FormGoSentResponse {
/** @param {{Rows?:FormGoSentRow[],Message?:string,ResponseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {FormGoSentRow[]} */
Rows = [];
/** @type {string} */
Message;
/** @type {ResponseStatus} */
ResponseStatus;
}
export class FormGoSentRequest {
/** @param {{FormUID?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
FormUID;
}
JavaScript FormGoSentRequest 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/forms/go-sent HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Rows:
[
{
Id: 0,
Name: String,
Position: String,
FirstSentAt: String,
FirstSentBy: String,
LastSentAt: String,
LastSentBy: String,
Times: 0,
How: String,
Went: String,
Where: String,
CanRemove: False
}
],
Message: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}