| Requires any of the roles: | Worker, Agent, Administrator, Worker, Agent, Administrator |
| GET,OPTIONS | /v1/Dropbox/{AgentName} | ||
|---|---|---|---|
| POST,OPTIONS | /v1/Dropbox/{AttachmentId} | ||
| GET,POST,OPTIONS | /v1/Dropbox | ||
| GET,OPTIONS | /v1/Dropbox/ByAgentID/{ID} | ||
| GET,OPTIONS | /v1/Dropbox/ByAgentID/{ID}/{LoggedInAgent}/{PageName} | ||
| GET,OPTIONS | /v1/Dropbox/ByAgentID/{ID}/{PageName} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Attachment | body | string | No | |
| Dropbox | body | List<Dropbox> | No | |
| AttachmentId | path | string | No | |
| ID | path | int | No | |
| LoggedInAgent | path | int | No | |
| AgentName | path | string | No | |
| PageName | path | string | No | |
| TableName | body | string | No | |
| FieldName | body | string | No | |
| RecordIds | body | List<int> | No | |
| IsNewApplication | body | bool | No | |
| IsFactFillerPro | body | bool | No | |
| AgentId | body | bool | No | |
| AgentEmail | body | string | No | |
| FullNameAttachee | body | string | No | |
| IsFactFinder | body | bool | No | |
| SharedId | body | int | No | |
| Sharer | body | int | No | |
| IsSecurities | body | bool | No | |
| Locked | body | bool | 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.
POST /v1/Dropbox/{AttachmentId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Attachment: String,
Dropbox:
[
{
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
}
],
AttachmentId: String,
ID: 0,
LoggedInAgent: 0,
AgentName: String,
PageName: String,
TableName: String,
FieldName: String,
RecordIds:
[
0
],
IsNewApplication: False,
IsFactFillerPro: False,
AgentId: False,
AgentEmail: String,
FullNameAttachee: String,
IsFactFinder: False,
SharedId: 0,
Sharer: 0,
IsSecurities: False,
Locked: False
}
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
}
]
}