Trendsic Platform Service

<back to all web services

FormGoSentRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/go-sent
import Foundation
import ServiceStack

public class FormGoSentRequest : Codable
{
    public var formUID:String

    required public init(){}
}

public class FormGoSentResponse : Codable
{
    public var rows:[FormGoSentRow] = []
    public var message:String
    public var responseStatus:ResponseStatus

    required public init(){}
}

public class FormGoSentRow : Codable
{
    public var id:Int
    public var name:String
    public var position:String
    public var firstSentAt:String
    public var firstSentBy:String
    public var lastSentAt:String
    public var lastSentBy:String
    public var times:Int
    public var how:String
    public var went:String
    public var `where`:String
    public var canRemove:Bool

    required public init(){}
}


Swift FormGoSentRequest 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.

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