| GET | /api/documentuploads |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.API.DTO.Document.Operations
Namespace Global
Namespace IDB.API.DTO.Document.Operations
Public Partial Class GetDocumentUploads
Implements IPageOptions
Implements ISearchCriteria
Public Overridable Property ViewID As Guid?
Public Overridable Property PageSize As Integer Implements IPageOptions.PageSize
Public Overridable Property PageNumber As Integer Implements IPageOptions.PageNumber
Public Overridable Property SearchCriteria As String Implements ISearchCriteria.SearchCriteria
Public Overridable Property ExplorerID As Guid?
Public Overridable Property Path As String
End Class
End Namespace
End Namespace
VB.NET GetDocumentUploads DTOs
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: test-dogw.klokgroep.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
}
]