Files
espocrm/custom/Espo/Custom/Controllers/CAICollectionCDokumente.php
bsiggel 3470dba301 Add junction entities and ACL for CAICollection, CAdvowareAkten, and CPulsTeam
- Introduced new junction entities: CAICollectionCDokumente, CAdvowareAktenCDokumente, and CPulsTeamZuordnung.
- Implemented respective controllers and services for handling CRUD operations.
- Added metadata definitions for new entities, including fields, links, and indexes.
- Created language files for English and German translations for the new entities.
- Developed a script to set ACL permissions for the new junction entities across existing roles.
- Updated existing entity definitions to include new relationships and fields related to Advoware and AI Collections.
2026-03-10 00:10:57 +01:00

24 lines
679 B
PHP

<?php
namespace Espo\Custom\Controllers;
use Espo\Core\Controllers\Record;
/**
* Junction Controller: CAICollection ↔ CDokumente
*
* Provides REST API access to the junction table with additionalColumns:
* - xaifileid: XAI external file ID
* - syncStatus: Sync state tracking
*/
class CAICollectionCDokumente extends Record
{
// Inherits all CRUD operations from Record controller
//
// Available endpoints:
// GET /api/v1/CAICollectionCDokumente
// GET /api/v1/CAICollectionCDokumente/{id}
// POST /api/v1/CAICollectionCDokumente
// PUT /api/v1/CAICollectionCDokumente/{id}
// DELETE /api/v1/CAICollectionCDokumente/{id}
}