GET api/Entities/GetAttachments?entityId={entityId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AttachmentName | Description | Type | Additional information |
---|---|---|---|
AttachmentId | integer |
None. |
|
EntityId | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
CreatedDate | date |
None. |
|
CreatedByUserId | integer |
None. |
|
isActive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AttachmentId": 1, "EntityId": 1, "Name": "sample string 2", "Description": "sample string 3", "CreatedDate": "2024-09-17T11:20:52.8620548-07:00", "CreatedByUserId": 1, "isActive": true }, { "AttachmentId": 1, "EntityId": 1, "Name": "sample string 2", "Description": "sample string 3", "CreatedDate": "2024-09-17T11:20:52.8620548-07:00", "CreatedByUserId": 1, "isActive": true } ]
text/html
Sample:
[{"AttachmentId":1,"EntityId":1,"Name":"sample string 2","Description":"sample string 3","CreatedDate":"2024-09-17T11:20:52.8620548-07:00","CreatedByUserId":1,"isActive":true},{"AttachmentId":1,"EntityId":1,"Name":"sample string 2","Description":"sample string 3","CreatedDate":"2024-09-17T11:20:52.8620548-07:00","CreatedByUserId":1,"isActive":true}]
application/xml, text/xml
Sample:
<ArrayOfAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DynamicCms"> <Attachment> <AttachmentId>1</AttachmentId> <CreatedByUserId>1</CreatedByUserId> <CreatedDate>2024-09-17T11:20:52.8620548-07:00</CreatedDate> <Description>sample string 3</Description> <EntityId>1</EntityId> <Name>sample string 2</Name> <isActive>true</isActive> </Attachment> <Attachment> <AttachmentId>1</AttachmentId> <CreatedByUserId>1</CreatedByUserId> <CreatedDate>2024-09-17T11:20:52.8620548-07:00</CreatedDate> <Description>sample string 3</Description> <EntityId>1</EntityId> <Name>sample string 2</Name> <isActive>true</isActive> </Attachment> </ArrayOfAttachment>