| GET | /api/documents/{DocumentID}/newest |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetDocumentNewestDetails
{
open var DocumentID:UUID? = null
open var IncludeCustomProperties:Boolean? = null
}
open class Document : ICustomProperties
{
open var ID:UUID? = null
open var RootDocumentID:UUID? = null
open var RegistrationprofileID:UUID? = null
open var Title:String? = null
open var FullTitle:String? = null
open var Number:String? = null
open var Version:String? = null
open var ExternalNumber:String? = null
open var ExternalVersion:String? = null
open var InternalNumber:String? = null
open var InternalInvoiceNumber:String? = null
open var PersonID:Int? = null
open var RelationID:Int? = null
open var RelationTitle:String? = null
open var ProjectID:Int? = null
open var ProjectTitle:String? = null
open var Extension:String? = null
open var Date:Date? = null
open var CommentsCount:Int? = null
open var HasComments:Boolean? = null
open var HasPreview:Boolean? = null
open var ExtraField:String? = null
open var IsFavorite:Boolean? = null
open var DocumentcategoryText:String? = null
open var FileSize:Long? = null
open var FileDate:Date? = null
open var Hash:String? = null
open var HashType:String? = null
open var FileUrl:String? = null
open var StandardDocumentUrl:String? = null
open var IsCorporateIdentity:Boolean? = null
open var UserTitle:String? = null
open var IsFrozen:Boolean? = null
open var InternalCompanyID:Int? = null
open var InternalLocationID:Int? = null
open var LanguageID:Int? = null
open var DirectUrl:String? = null
open var AllowDigitalSigningOnlyOnPrimaryVersions:Boolean? = null
open var IsPrimaryVersion:Boolean? = null
open var FileExtension:String? = null
override var CustomProperties:HashMap<String,Object>? = null
}
Kotlin GetDocumentNewestDetails DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/documents/{DocumentID}/newest HTTP/1.1
Host: test-dogw.klokgroep.nl
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ID":"00000000-0000-0000-0000-000000000000","RootDocumentID":"00000000-0000-0000-0000-000000000000","RegistrationprofileID":"00000000-0000-0000-0000-000000000000","Title":"String","FullTitle":"String","Number":"String","Version":"String","ExternalNumber":"String","ExternalVersion":"String","InternalNumber":"String","InternalInvoiceNumber":"String","PersonID":0,"RelationID":0,"RelationTitle":"String","ProjectID":0,"ProjectTitle":"String","Extension":"String","Date":"0001-01-01T00:00:00.0000000","CommentsCount":0,"HasComments":false,"HasPreview":false,"ExtraField":"String","IsFavorite":false,"DocumentcategoryText":"String","FileSize":0,"FileDate":"0001-01-01T00:00:00.0000000","Hash":"String","HashType":"String","FileUrl":"String","StandardDocumentUrl":"String","IsCorporateIdentity":false,"UserTitle":"String","IsFrozen":false,"InternalCompanyID":0,"InternalLocationID":0,"LanguageID":0,"DirectUrl":"String","AllowDigitalSigningOnlyOnPrimaryVersions":false,"IsPrimaryVersion":false,"FileExtension":"String","CustomProperties":{"String":{}}}