Retrieves all company files (metadata only; use for the binary content), optionally filtered via OData query options.
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the list of company files.
company_files| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| company_id |
Foreign key of the company this file is attached to. |
globally unique identifier | |
| file_name |
Original file name, including extension. |
string | |
| name |
Display name of the file. |
string | |
| description |
Free-text description of the file. |
string | |
| file_type |
File type/category classification. |
string | |
| mime_type |
MIME type of the file (e.g. "application/pdf", "image/jpeg"). |
string | |
| image_width |
Width of the file, in pixels, when it is an image. |
integer | |
| image_heigth |
Height of the file, in pixels, when it is an image. |
integer | |
| file_size |
Size of the file, in bytes. |
integer | |
| date_update |
Local date and time the file was last updated. |
date | |
| date_add |
Local date and time the file was added. |
date | |
| dateutc_add |
UTC date and time the file was added. |
date | |
| user_id |
Foreign key of the user who added this file. |
globally unique identifier | |
| is_showonweb |
Indicates whether this file should be shown on the customer-facing web/e-Service portal. |
boolean | |
| file_content |
Raw binary content of the file. |
Collection of byte | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
{
"id": "0c9a41b6-b7bb-4749-b6bb-3e23b761b4b5",
"company_id": "072eddc3-fca4-44aa-a121-73d82038a33b",
"file_name": "sample string 3",
"name": "sample string 4",
"description": "sample string 5",
"file_type": "sample string 6",
"mime_type": "sample string 7",
"image_width": 8,
"image_heigth": 9,
"file_size": 10,
"date_update": "2026-09-16T09:22:49.4768263+00:00",
"date_add": "2026-09-16T09:22:49.4768263+00:00",
"dateutc_add": "2026-09-16T09:22:49.4768263+00:00",
"user_id": "9f12fc33-001a-48bc-b75c-f8f3eb7182e9",
"is_showonweb": true,
"file_content": "QEA=",
"modified_dateutc": "2026-09-16T09:22:49.4768263+00:00"
}
application/xml, text/xml
<company_files xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<company_id>072eddc3-fca4-44aa-a121-73d82038a33b</company_id>
<date_add xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-09-16T09:22:49.4768263Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</date_add>
<date_update xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-09-16T09:22:49.4768263Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</date_update>
<dateutc_add xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-09-16T09:22:49.4768263Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</dateutc_add>
<description>sample string 5</description>
<file_content>QEA=</file_content>
<file_name>sample string 3</file_name>
<file_size>10</file_size>
<file_type>sample string 6</file_type>
<id>0c9a41b6-b7bb-4749-b6bb-3e23b761b4b5</id>
<image_heigth>9</image_heigth>
<image_width>8</image_width>
<is_showonweb>true</is_showonweb>
<mime_type>sample string 7</mime_type>
<modified_dateutc>2026-09-16T09:22:49.476Z</modified_dateutc>
<name>sample string 4</name>
<user_id>9f12fc33-001a-48bc-b75c-f8f3eb7182e9</user_id>
</company_files>