Get all files
GET {{baseUrl}}/crm/files?entity=deals&entityIds=veniam elit in&dateFrom=-41398727&dateTo=-41398727&offset=13396752&limit=50&sort=desc
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
entity | string | Filter by file entity type | |
entityIds | string | Filter by file entity IDs | |
dateFrom | number | dateFrom to date range filter type (timestamp in milliseconds) | |
dateTo | number | dateTo to date range filter type (timestamp in milliseconds) | |
offset | number | Index of the first document of the page | |
limit | number | Number of documents per page | |
sort | string | Sort the results in the ascending/descending order. Default order is descending by creation if sort is not passed |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"name":"example.png","authorId":"61a5ce58y5d4795761045991","contactId":1,"dealId":"61a5ce58c5d4795761045991","companyId":"61a5ce58c5d4795761045991","size":10,"createdAt":"2017-05-01T17:05:03.000Z"},{"name":"example.png","authorId":"61a5ce58y5d4795761045991","contactId":1,"dealId":"61a5ce58c5d4795761045991","companyId":"61a5ce58c5d4795761045991","size":10,"createdAt":"2017-05-01T17:05:03.000Z"}]