| POST,OPTIONS | /v1/dispatch/notice/{Token}/ack |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class DispatchNoticeAckRequest
{
open var Token:String? = null
}
open class DispatchNoticeResponse
{
open var RefCode:String? = null
open var RecipientName:String? = null
open var Headline:String? = null
open var Body:String? = null
open var AffectedText:String? = null
open var OriginalWindow:String? = null
open var NewWindow:String? = null
open var ScopeLabel:String? = null
open var Reason:String? = null
open var HoldStatus:String? = null
open var ResumesUtc:Date? = null
open var Acked:Boolean? = null
open var Invalid:Boolean? = null
open var ResponseStatus:ResponseStatus? = null
}
Kotlin DispatchNoticeAckRequest 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.
POST /v1/dispatch/notice/{Token}/ack HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
RefCode: String,
RecipientName: String,
Headline: String,
Body: String,
AffectedText: String,
OriginalWindow: String,
NewWindow: String,
ScopeLabel: String,
Reason: String,
HoldStatus: String,
ResumesUtc: 0001-01-01,
Acked: False,
Invalid: False,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}