Trendsic Platform Service

<back to all web services

DocumentShareAuditRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/documentshare/attachment/{AttachmentId}/log
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class DocumentShareAccessLog
            Public Overridable Property DocumentShareAccessLogId As Long
            Public Overridable Property DocumentShareId As Integer?
            Public Overridable Property AttachmentId As Guid?
            Public Overridable Property EventType As String
            Public Overridable Property Outcome As String
            Public Overridable Property DetailMessage As String
            Public Overridable Property IpAddress As String
            Public Overridable Property UserAgent As String
            Public Overridable Property ActorUserId As Guid?
            Public Overridable Property ActorRole As String
            Public Overridable Property CreatedAtUtc As Date
        End Class

        Public Partial Class DocumentShareAccessLogExtended
            Inherits DocumentShareAccessLog
            Public Overridable Property RecipientDisplayName As String
            Public Overridable Property RecipientEmail As String
            Public Overridable Property RecipientType As String
            Public Overridable Property SensitivityTier As String
            Public Overridable Property ActorName As String
        End Class

        Public Partial Class DocumentShareAuditRequest
            Public Overridable Property AttachmentId As Guid
        End Class

        Public Partial Class DocumentShareAuditResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property AuditLog As List(Of DocumentShareAccessLogExtended) = New List(Of DocumentShareAccessLogExtended)
        End Class
    End Namespace
End Namespace

VB.NET DocumentShareAuditRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /v1/documentshare/attachment/{AttachmentId}/log HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"AuditLog":[{"RecipientDisplayName":"String","RecipientEmail":"String","RecipientType":"String","SensitivityTier":"String","ActorName":"String","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"}]}