GET api/Attachments/GetAttachments?hostId={hostId}&hostType={hostType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hostId | string |
Required |
|
hostType | AttachmentHostType |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AttachmentsViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FileName | string |
None. |
|
Extension | string |
None. |
|
IsTemp | boolean |
None. |
|
SavePath | string |
None. |
|
Url | string |
None. |
|
HostId | string |
None. |
|
HostType | integer |
None. |
|
ContentLength | integer |
None. |
|
FileSize | string |
None. |
|
IsDeleted | boolean |
None. |
|
ContentType | string |
None. |
|
FileNameWithoutExtension | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "FileName": "sample string 2", "Extension": "sample string 3", "IsTemp": true, "SavePath": "sample string 5", "Url": "sample string 6", "HostId": "sample string 7", "HostType": 8, "ContentLength": 9, "FileSize": "sample string 10", "IsDeleted": true, "ContentType": "sample string 12", "FileNameWithoutExtension": "sample string 13" }, { "Id": 1, "FileName": "sample string 2", "Extension": "sample string 3", "IsTemp": true, "SavePath": "sample string 5", "Url": "sample string 6", "HostId": "sample string 7", "HostType": 8, "ContentLength": 9, "FileSize": "sample string 10", "IsDeleted": true, "ContentType": "sample string 12", "FileNameWithoutExtension": "sample string 13" } ]