Files Service

Back

Overview

Files represent attachments linked to entities (customers or suppliers). They support document storage, file metadata management, and categorization.

Files are used for:

All file operations are tenant-aware and scoped to the current tenant.


Endpoints

Back to Files

GET

/api/v1/Files/{id}

Returns a single file by its numeric identifier.

Path parameters:

Behavior:

Authorization:


GET

/api/v1/Files/entity/{entityId}

Returns all files for a specific entity.

Path parameters:

Behavior:

Authorization:


POST

/api/v1/Files

Creates a new file record.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/Files/{id}

Updates an existing file record.

Request:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/Files/{id}

Deletes a file record by its identifier.

Behavior:

Errors:

Authorization:


Notes