Trendsic Platform Service

<back to all web services

FormZipListRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/submissions/zips
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class FormZipListRequest
{
    open var FormUID:UUID? = null
}

open class FormZipListResponse
{
    open var Jobs:ArrayList<FormZipJobView> = ArrayList<FormZipJobView>()
    open var ResponseStatus:ResponseStatus? = null
}

open class FormZipJobView
{
    open var ZipUID:UUID? = null
    open var FormUID:UUID? = null
    open var FormName:String? = null
    open var Status:String? = null
    open var StatusText:String? = null
    open var Message:String? = null
    open var FileName:String? = null
    open var Submissions:Int? = null
    open var Files:Int? = null
    open var Bytes:Long? = null
    open var LeftOut:Int? = null
    open var FilesIn:Int? = null
    open var BytesIn:Long? = null
    open var LeftOutIn:Int? = null
    open var ZipBytes:Long? = null
    open var SizeText:String? = null
    open var CreatedAt:Date? = null
    open var CreatedText:String? = null
    open var CompletedAt:Date? = null
    open var ExpiresAt:Date? = null
    open var ExpiresText:String? = null
    open var Downloads:Int? = null
    open var LastDownloadText:String? = null
}

Kotlin FormZipListRequest 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/submissions/zips HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Jobs: 
	[
		{
			ZipUID: 00000000000000000000000000000000,
			FormUID: 00000000000000000000000000000000,
			FormName: String,
			Status: String,
			StatusText: String,
			Message: String,
			FileName: String,
			Submissions: 0,
			Files: 0,
			Bytes: 0,
			LeftOut: 0,
			FilesIn: 0,
			BytesIn: 0,
			LeftOutIn: 0,
			ZipBytes: 0,
			SizeText: String,
			CreatedAt: 0001-01-01,
			CreatedText: String,
			CompletedAt: 0001-01-01,
			ExpiresAt: 0001-01-01,
			ExpiresText: String,
			Downloads: 0,
			LastDownloadText: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}