GET | /api/documentuploads |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
public static class GetDocumentUploads
{
public UUID ViewID = null;
public Integer PageSize = null;
public Integer PageNumber = null;
public String SearchCriteria = null;
public UUID ExplorerID = null;
public String Path = null;
public UUID getViewID() { return ViewID; }
public GetDocumentUploads setViewID(UUID value) { this.ViewID = value; return this; }
public Integer getPageSize() { return PageSize; }
public GetDocumentUploads setPageSize(Integer value) { this.PageSize = value; return this; }
public Integer getPageNumber() { return PageNumber; }
public GetDocumentUploads setPageNumber(Integer value) { this.PageNumber = value; return this; }
public String getSearchCriteria() { return SearchCriteria; }
public GetDocumentUploads setSearchCriteria(String value) { this.SearchCriteria = value; return this; }
public UUID getExplorerID() { return ExplorerID; }
public GetDocumentUploads setExplorerID(UUID value) { this.ExplorerID = value; return this; }
public String getPath() { return Path; }
public GetDocumentUploads setPath(String value) { this.Path = value; return this; }
}
}
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 /api/documentuploads HTTP/1.1 Host: digiofficeapigateway.deltares.nl Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ { ID: 0, Description: String, Notes: String, FileName: String, Extension: String, FileDate: 0001-01-01, AssignedTo: String, AssignedToGroup: String, UploadedBy: String, HasPreview: False } ]