Trendsic Platform Service

<back to all web services

FormZipListRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/submissions/zips
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 FormZipListRequest
            Public Overridable Property FormUID As Guid
        End Class

        Public Partial Class FormZipListResponse
            Public Overridable Property Jobs As List(Of FormZipJobView) = New List(Of FormZipJobView)
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET FormZipListRequest DTOs

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

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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-01T00:00:00.0000000","CreatedText":"String","CompletedAt":"0001-01-01T00:00:00.0000000","ExpiresAt":"0001-01-01T00:00:00.0000000","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"}}}