DigiOffice Gateway Web Services

<back to all web services

GetEmailDraft

Requires Authentication
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class GetEmailDraft : Outlook365Properties()
{
}

open class Outlook365Properties
{
    open var PidTag:String? = null
    open var ItemId:String? = null
    open var EwsUrl:String? = null
    open var Token:String? = null
}

open class StringResponse
{
    open var Value:String? = null
}

Kotlin GetEmailDraft DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/GetEmailDraft HTTP/1.1 
Host: test-dogw.klokgroep.nl 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"PidTag":"String","ItemId":"String","EwsUrl":"String","Token":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Value":"String"}