import java.math.*
import java.util.*
import net.servicestack.client.*
open class UpdateDocumentWithEmail : UpdateDocumentWithFile()
{
    var EmailConversationID:String? = null
}
open class UpdateDocumentWithFile
{
    var DocumentId:UUID? = null
    var UpdateStorageSystem:Boolean? = null
}
open class UpdateDocumentWithFileResponse
{
    var IsSucces:Boolean? = null
    var FailureReason:String? = null
    var FileUrl:String? = null
}
Kotlin UpdateDocumentWithEmail 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.
POST /json/reply/UpdateDocumentWithEmail HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: application/json
Content-Type: application/json
Content-Length: length
{"EmailConversationID":"String","DocumentId":"00000000-0000-0000-0000-000000000000","UpdateStorageSystem":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"IsSucces":false,"FailureReason":"String","FileUrl":"String"}