Trendsic Platform Service

<back to all web services

EngineAuditRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/engine/audit
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class EngineAuditRequest
{
}

open class EngineAuditResponse
{
    open var Entries:ArrayList<WorkflowAuditView> = ArrayList<WorkflowAuditView>()
    open var ResponseStatus:ResponseStatus? = null
}

open class WorkflowAuditView
{
    open var At:Date? = null
    open var RunKey:String? = null
    open var WorkflowId:Int? = null
    open var WorkflowName:String? = null
    open var Actor:String? = null
    open var Action:String? = null
    open var ObjectLabel:String? = null
    open var BeforeValue:String? = null
    open var AfterValue:String? = null
}

Kotlin EngineAuditRequest 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.

GET /v1/engine/audit HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Entries":[{"At":"0001-01-01T00:00:00.0000000","RunKey":"String","WorkflowId":0,"WorkflowName":"String","Actor":"String","Action":"String","ObjectLabel":"String","BeforeValue":"String","AfterValue":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}