| POST,OPTIONS | /v1/audit/rescan-sensitivity |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class RescanSensitivityRequest
{
}
open class DocumentAccessAuditResponse
{
open var ResponseStatus:ResponseStatus? = null
open var AuditLog:ArrayList<DocumentAccessAuditRow> = ArrayList<DocumentAccessAuditRow>()
open var Total:Long? = null
open var PageTotal:Long? = null
open var Page:Int? = null
open var PageSize:Int? = null
open var Downloads:Long? = null
open var Views:Long? = null
open var Blocked:Long? = null
open var Documents:Long? = null
open var Actors:Long? = null
}
open class DocumentAccessAuditRow : DocumentShareAccessLog()
{
open var AccessChannel:String? = null
open var AttachmentName:String? = null
open var ActorName:String? = null
open var RecipientDisplayName:String? = null
open var RecipientEmail:String? = null
open var SensitivityTier:String? = null
open var IsSensitive:Boolean? = null
}
open class DocumentShareAccessLog
{
open var DocumentShareAccessLogId:Long? = null
open var DocumentShareId:Int? = null
open var AttachmentId:UUID? = null
open var EventType:String? = null
open var Outcome:String? = null
open var DetailMessage:String? = null
open var IpAddress:String? = null
open var UserAgent:String? = null
open var ActorUserId:UUID? = null
open var ActorRole:String? = null
open var CreatedAtUtc:Date? = null
}
Kotlin RescanSensitivityRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/audit/rescan-sensitivity HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"AuditLog":[{"AccessChannel":"String","AttachmentName":"String","ActorName":"String","RecipientDisplayName":"String","RecipientEmail":"String","SensitivityTier":"String","IsSensitive":false,"DocumentShareAccessLogId":0,"DocumentShareId":0,"AttachmentId":"00000000000000000000000000000000","EventType":"String","Outcome":"String","DetailMessage":"String","IpAddress":"String","UserAgent":"String","ActorUserId":"00000000000000000000000000000000","ActorRole":"String","CreatedAtUtc":"0001-01-01T00:00:00.0000000"}],"Total":0,"PageTotal":0,"Page":0,"PageSize":0,"Downloads":0,"Views":0,"Blocked":0,"Documents":0,"Actors":0}