| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/DropboxShareExtended/{ContactId}/{AttachmentId}/{SharerAgentId} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/DropboxShareExtended/DB/{AttachmentId}/{SharerAgentId} |
"use strict";
export class DropboxShareExtended {
/** @param {{DropboxShareId?:number,SharerAgentId?:number,ContactId?:number,ProjectId?:number,AgentId?:number,FirstName?:string,LastName?:string,AttachmentId?:string,CanShare?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
DropboxShareId;
/** @type {number} */
SharerAgentId;
/** @type {number} */
ContactId;
/** @type {number} */
ProjectId;
/** @type {number} */
AgentId;
/** @type {string} */
FirstName;
/** @type {string} */
LastName;
/** @type {string} */
AttachmentId;
/** @type {boolean} */
CanShare;
}
export class DropboxShareResponseExtended {
/** @param {{ResponseStatus?:ResponseStatus,DropboxShareExtended?:DropboxShareExtended[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {DropboxShareExtended[]} */
DropboxShareExtended = [];
}
export class DropboxShareRequestExtended {
/** @param {{ContactId?:number,AttachmentId?:string,SharerAgentId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ContactId;
/** @type {string} */
AttachmentId;
/** @type {number} */
SharerAgentId;
}
JavaScript DropboxShareRequestExtended 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.
GET /v1/DropboxShareExtended/{ContactId}/{AttachmentId}/{SharerAgentId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
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"}},"DropboxShareExtended":[{"DropboxShareId":0,"SharerAgentId":0,"ContactId":0,"ProjectId":0,"AgentId":0,"FirstName":"String","LastName":"String","AttachmentId":"00000000000000000000000000000000","CanShare":false}]}