Trendsic Platform Service

<back to all web services

FormGoSentRemoveRequest

Requires Authentication
The following routes are available for this service:
POST/v1/forms/go-sent/remove
"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 FormGoSentRemoveRequest {
    /** @param {{FormUID?:string,Worker?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    FormUID;
    /** @type {number} */
    Worker;
}

JavaScript FormGoSentRemoveRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/forms/go-sent/remove HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	FormUID: 00000000000000000000000000000000,
	Worker: 0
}
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
		}
	}
}