| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Dropbox/Project/{ProjectId}/{LoggedInAgentId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Dropbox | query | List<Dropbox> | No | |
| ProjectId | path | int | No | |
| LoggedInAgentId | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| AttachmentId | form | Guid | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| TableName | form | string | No | |
| RecordId | form | int | No | |
| Description | form | string | No | |
| DocumentType | form | string | No | |
| DocumentGroup | form | string | No | |
| DateAdded | form | DateTime | No | |
| Locked | form | bool | No | |
| FileSizeInKB | form | double | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Dropbox | form | List<DropboxExtended> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AttachmentName | form | string | No | |
| AgentName | form | string | No | |
| MimeType | form | string | No | |
| IsAgent | form | bool | No | |
| IsContact | form | bool | No | |
| IsShared | form | bool | No | |
| CanShare | form | bool | No | |
| ShareList | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Dropbox/Project/{ProjectId}/{LoggedInAgentId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Dropbox:
[
{
AttachmentName: String,
AgentName: String,
MimeType: String,
IsAgent: False,
IsContact: False,
IsShared: False,
CanShare: False,
ShareList: String,
Id: 0,
AttachmentId: 00000000000000000000000000000000,
FirstName: String,
LastName: String,
TableName: String,
RecordId: 0,
Description: String,
DocumentType: String,
DocumentGroup: String,
DateAdded: 0001-01-01,
Locked: False,
FileSizeInKB: 0
}
]
}