| POST,OPTIONS | /v1/audit/rescan-sensitivity |
|---|
"use strict";
export class DocumentShareAccessLog {
/** @param {{DocumentShareAccessLogId?:number,DocumentShareId?:number,AttachmentId?:string,EventType?:string,Outcome?:string,DetailMessage?:string,IpAddress?:string,UserAgent?:string,ActorUserId?:string,ActorRole?:string,CreatedAtUtc?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
DocumentShareAccessLogId;
/** @type {?number} */
DocumentShareId;
/** @type {?string} */
AttachmentId;
/** @type {string} */
EventType;
/** @type {string} */
Outcome;
/** @type {string} */
DetailMessage;
/** @type {string} */
IpAddress;
/** @type {string} */
UserAgent;
/** @type {?string} */
ActorUserId;
/** @type {string} */
ActorRole;
/** @type {string} */
CreatedAtUtc;
}
export class DocumentAccessAuditRow extends DocumentShareAccessLog {
/** @param {{AccessChannel?:string,AttachmentName?:string,ActorName?:string,RecipientDisplayName?:string,RecipientEmail?:string,SensitivityTier?:string,IsSensitive?:boolean,DocumentShareAccessLogId?:number,DocumentShareId?:number,AttachmentId?:string,EventType?:string,Outcome?:string,DetailMessage?:string,IpAddress?:string,UserAgent?:string,ActorUserId?:string,ActorRole?:string,CreatedAtUtc?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string} */
AccessChannel;
/** @type {string} */
AttachmentName;
/** @type {string} */
ActorName;
/** @type {string} */
RecipientDisplayName;
/** @type {string} */
RecipientEmail;
/** @type {string} */
SensitivityTier;
/** @type {boolean} */
IsSensitive;
}
export class DocumentAccessAuditResponse {
/** @param {{ResponseStatus?:ResponseStatus,AuditLog?:DocumentAccessAuditRow[],Total?:number,PageTotal?:number,Page?:number,PageSize?:number,Downloads?:number,Views?:number,Blocked?:number,Documents?:number,Actors?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {DocumentAccessAuditRow[]} */
AuditLog = [];
/** @type {number} */
Total;
/** @type {number} */
PageTotal;
/** @type {number} */
Page;
/** @type {number} */
PageSize;
/** @type {number} */
Downloads;
/** @type {number} */
Views;
/** @type {number} */
Blocked;
/** @type {number} */
Documents;
/** @type {number} */
Actors;
}
export class RescanSensitivityRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript 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}