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
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class FormGoSentRemoveRequest
{
    open var FormUID:UUID? = null
    open var Worker:Int? = null
}

open class FormGoSentResponse
{
    open var Rows:ArrayList<FormGoSentRow> = ArrayList<FormGoSentRow>()
    open var Message:String? = null
    open var ResponseStatus:ResponseStatus? = null
}

open class FormGoSentRow
{
    open var Id:Int? = null
    open var Name:String? = null
    open var Position:String? = null
    open var FirstSentAt:String? = null
    open var FirstSentBy:String? = null
    open var LastSentAt:String? = null
    open var LastSentBy:String? = null
    open var Times:Int? = null
    open var How:String? = null
    open var Went:String? = null
    open var Where:String? = null
    open var CanRemove:Boolean? = null
}

Kotlin 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
		}
	}
}