Trendsic Platform Service

<back to all web services

DocumentShareLogRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/documentshare/{DocumentShareId}/log
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class DocumentShareLogRequest
    {
        public Integer DocumentShareId = null;
        
        public Integer getDocumentShareId() { return DocumentShareId; }
        public DocumentShareLogRequest setDocumentShareId(Integer value) { this.DocumentShareId = value; return this; }
    }

    public static class DocumentShareLogResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<DocumentShareAccessLog> AccessLog = new ArrayList<DocumentShareAccessLog>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public DocumentShareLogResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<DocumentShareAccessLog> getAccessLog() { return AccessLog; }
        public DocumentShareLogResponse setAccessLog(ArrayList<DocumentShareAccessLog> value) { this.AccessLog = value; return this; }
    }

    public static class DocumentShareAccessLog
    {
        public Long DocumentShareAccessLogId = null;
        public Integer DocumentShareId = null;
        public String EventType = null;
        public String Outcome = null;
        public String DetailMessage = null;
        public String IpAddress = null;
        public String UserAgent = null;
        public UUID ActorUserId = null;
        public Date CreatedAtUtc = null;
        
        public Long getDocumentShareAccessLogId() { return DocumentShareAccessLogId; }
        public DocumentShareAccessLog setDocumentShareAccessLogId(Long value) { this.DocumentShareAccessLogId = value; return this; }
        public Integer getDocumentShareId() { return DocumentShareId; }
        public DocumentShareAccessLog setDocumentShareId(Integer value) { this.DocumentShareId = value; return this; }
        public String getEventType() { return EventType; }
        public DocumentShareAccessLog setEventType(String value) { this.EventType = value; return this; }
        public String getOutcome() { return Outcome; }
        public DocumentShareAccessLog setOutcome(String value) { this.Outcome = value; return this; }
        public String getDetailMessage() { return DetailMessage; }
        public DocumentShareAccessLog setDetailMessage(String value) { this.DetailMessage = value; return this; }
        public String getIpAddress() { return IpAddress; }
        public DocumentShareAccessLog setIpAddress(String value) { this.IpAddress = value; return this; }
        public String getUserAgent() { return UserAgent; }
        public DocumentShareAccessLog setUserAgent(String value) { this.UserAgent = value; return this; }
        public UUID getActorUserId() { return ActorUserId; }
        public DocumentShareAccessLog setActorUserId(UUID value) { this.ActorUserId = value; return this; }
        public Date getCreatedAtUtc() { return CreatedAtUtc; }
        public DocumentShareAccessLog setCreatedAtUtc(Date value) { this.CreatedAtUtc = value; return this; }
    }

}

Java DocumentShareLogRequest DTOs

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

HTTP + OTHER

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

GET /v1/documentshare/{DocumentShareId}/log HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"AccessLog":[{"DocumentShareAccessLogId":0,"DocumentShareId":0,"EventType":"String","Outcome":"String","DetailMessage":"String","IpAddress":"String","UserAgent":"String","ActorUserId":"00000000000000000000000000000000","CreatedAtUtc":"0001-01-01T00:00:00.0000000"}]}