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.*;

public class dtos
{

    public static class FormZipListRequest
    {
        public UUID FormUID = null;
        
        public UUID getFormUID() { return FormUID; }
        public FormZipListRequest setFormUID(UUID value) { this.FormUID = value; return this; }
    }

    public static class FormZipListResponse
    {
        public ArrayList<FormZipJobView> Jobs = new ArrayList<FormZipJobView>();
        public ResponseStatus ResponseStatus = null;
        
        public ArrayList<FormZipJobView> getJobs() { return Jobs; }
        public FormZipListResponse setJobs(ArrayList<FormZipJobView> value) { this.Jobs = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public FormZipListResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class FormZipJobView
    {
        public UUID ZipUID = null;
        public UUID FormUID = null;
        public String FormName = null;
        public String Status = null;
        public String StatusText = null;
        public String Message = null;
        public String FileName = null;
        public Integer Submissions = null;
        public Integer Files = null;
        public Long Bytes = null;
        public Integer LeftOut = null;
        public Integer FilesIn = null;
        public Long BytesIn = null;
        public Integer LeftOutIn = null;
        public Long ZipBytes = null;
        public String SizeText = null;
        public Date CreatedAt = null;
        public String CreatedText = null;
        public Date CompletedAt = null;
        public Date ExpiresAt = null;
        public String ExpiresText = null;
        public Integer Downloads = null;
        public String LastDownloadText = null;
        
        public UUID getZipUID() { return ZipUID; }
        public FormZipJobView setZipUID(UUID value) { this.ZipUID = value; return this; }
        public UUID getFormUID() { return FormUID; }
        public FormZipJobView setFormUID(UUID value) { this.FormUID = value; return this; }
        public String getFormName() { return FormName; }
        public FormZipJobView setFormName(String value) { this.FormName = value; return this; }
        public String getStatus() { return Status; }
        public FormZipJobView setStatus(String value) { this.Status = value; return this; }
        public String getStatusText() { return StatusText; }
        public FormZipJobView setStatusText(String value) { this.StatusText = value; return this; }
        public String getMessage() { return Message; }
        public FormZipJobView setMessage(String value) { this.Message = value; return this; }
        public String getFileName() { return FileName; }
        public FormZipJobView setFileName(String value) { this.FileName = value; return this; }
        public Integer getSubmissions() { return Submissions; }
        public FormZipJobView setSubmissions(Integer value) { this.Submissions = value; return this; }
        public Integer getFiles() { return Files; }
        public FormZipJobView setFiles(Integer value) { this.Files = value; return this; }
        public Long getBytes() { return Bytes; }
        public FormZipJobView setBytes(Long value) { this.Bytes = value; return this; }
        public Integer getLeftOut() { return LeftOut; }
        public FormZipJobView setLeftOut(Integer value) { this.LeftOut = value; return this; }
        public Integer getFilesIn() { return FilesIn; }
        public FormZipJobView setFilesIn(Integer value) { this.FilesIn = value; return this; }
        public Long getBytesIn() { return BytesIn; }
        public FormZipJobView setBytesIn(Long value) { this.BytesIn = value; return this; }
        public Integer getLeftOutIn() { return LeftOutIn; }
        public FormZipJobView setLeftOutIn(Integer value) { this.LeftOutIn = value; return this; }
        public Long getZipBytes() { return ZipBytes; }
        public FormZipJobView setZipBytes(Long value) { this.ZipBytes = value; return this; }
        public String getSizeText() { return SizeText; }
        public FormZipJobView setSizeText(String value) { this.SizeText = value; return this; }
        public Date getCreatedAt() { return CreatedAt; }
        public FormZipJobView setCreatedAt(Date value) { this.CreatedAt = value; return this; }
        public String getCreatedText() { return CreatedText; }
        public FormZipJobView setCreatedText(String value) { this.CreatedText = value; return this; }
        public Date getCompletedAt() { return CompletedAt; }
        public FormZipJobView setCompletedAt(Date value) { this.CompletedAt = value; return this; }
        public Date getExpiresAt() { return ExpiresAt; }
        public FormZipJobView setExpiresAt(Date value) { this.ExpiresAt = value; return this; }
        public String getExpiresText() { return ExpiresText; }
        public FormZipJobView setExpiresText(String value) { this.ExpiresText = value; return this; }
        public Integer getDownloads() { return Downloads; }
        public FormZipJobView setDownloads(Integer value) { this.Downloads = value; return this; }
        public String getLastDownloadText() { return LastDownloadText; }
        public FormZipJobView setLastDownloadText(String value) { this.LastDownloadText = value; return this; }
    }

}

Java FormZipListRequest DTOs

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

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<FormZipListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Jobs>
    <FormZipJobView>
      <Bytes>0</Bytes>
      <BytesIn>0</BytesIn>
      <CompletedAt>0001-01-01T00:00:00</CompletedAt>
      <CreatedAt>0001-01-01T00:00:00</CreatedAt>
      <CreatedText>String</CreatedText>
      <Downloads>0</Downloads>
      <ExpiresAt>0001-01-01T00:00:00</ExpiresAt>
      <ExpiresText>String</ExpiresText>
      <FileName>String</FileName>
      <Files>0</Files>
      <FilesIn>0</FilesIn>
      <FormName>String</FormName>
      <FormUID>00000000-0000-0000-0000-000000000000</FormUID>
      <LastDownloadText>String</LastDownloadText>
      <LeftOut>0</LeftOut>
      <LeftOutIn>0</LeftOutIn>
      <Message>String</Message>
      <SizeText>String</SizeText>
      <Status>String</Status>
      <StatusText>String</StatusText>
      <Submissions>0</Submissions>
      <ZipBytes>0</ZipBytes>
      <ZipUID>00000000-0000-0000-0000-000000000000</ZipUID>
    </FormZipJobView>
  </Jobs>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
</FormZipListResponse>