Trendsic Platform Service

<back to all web services

FormZipOneRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/submissions/zips/{ZipUID}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class FormZipJobView
            Public Overridable Property ZipUID As Guid
            Public Overridable Property FormUID As Guid
            Public Overridable Property FormName As String
            Public Overridable Property Status As String
            Public Overridable Property StatusText As String
            Public Overridable Property Message As String
            Public Overridable Property FileName As String
            Public Overridable Property Submissions As Integer
            Public Overridable Property Files As Integer
            Public Overridable Property Bytes As Long
            Public Overridable Property LeftOut As Integer
            Public Overridable Property FilesIn As Integer?
            Public Overridable Property BytesIn As Long?
            Public Overridable Property LeftOutIn As Integer?
            Public Overridable Property ZipBytes As Long?
            Public Overridable Property SizeText As String
            Public Overridable Property CreatedAt As Date?
            Public Overridable Property CreatedText As String
            Public Overridable Property CompletedAt As Date?
            Public Overridable Property ExpiresAt As Date?
            Public Overridable Property ExpiresText As String
            Public Overridable Property Downloads As Integer
            Public Overridable Property LastDownloadText As String
        End Class

        Public Partial Class FormZipOneRequest
            Public Overridable Property ZipUID As Guid
        End Class

        Public Partial Class FormZipOneResponse
            Public Overridable Property Job As FormZipJobView
            Public Overridable Property Message As String
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET FormZipOneRequest 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/{ZipUID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Job: 
	{
		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
	},
	Message: String,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}