| GET | /v1/forms/submissions/zips/{ZipUID} |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class FormZipOneRequest
{
open var ZipUID:UUID? = null
}
open class FormZipOneResponse
{
open var Job:FormZipJobView? = null
open var Message:String? = null
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
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}
}
}