đ§ Import Log Controller Documentation
QUICK DOCUMENTATIONâ
- File Path: /API/Controllers/ImportLogController.cs
- Primary Purpose: Manages import logs and provides various import/export operations
- Key Endpoints:
- đ GET /GetJobLog - Retrieves import log details for a specific job
- đ GET /GetFrameworkLog - Retrieves import log details for a framework import
- đ GET /RefreshReportData - Refreshes the data for reports
- đ POST /Archive - Archives a job and generates export reports
- Related Models: ImportLogDetailDto, ImportLogDto, various command/query models
- Used By: Import/export functionality, job management, and reporting systems
DETAILED DOCUMENTATIONâ
đ Overviewâ
The ImportLogController provides comprehensive functionality for managing import operations, viewing logs, and performing various job-related actions including archiving, updating, and exporting/importing data. It serves as a central hub for many data transfer operations.
đī¸ Controller Dependenciesâ
- Namespace: APV.API.Controllers
- Services Used: Mediator, BusRegistry
- Other Dependencies: ⥠RateLimiting for certain operations
đ Endpointsâ
đ GetImportJobLogByIdâ
- HTTP Method: GET
- URL Pattern: /GetJobLog
- Authentication: đ Required (inherited from ApiController)
- Description: Retrieves import log details for a specific job
đ GetImportFrameworkLogByIdâ
- HTTP Method: GET
- URL Pattern: /GetFrameworkLog
- Authentication: đ Required
- Description: Retrieves import log details for a framework import
đ GetFrameworkImportLogsâ
- HTTP Method: GET
- URL Pattern: /ListFrameworkLogs
- Authentication: đ Required
- Description: Retrieves a list of all framework import logs
đ GetJobImportLogsâ
- HTTP Method: GET
- URL Pattern: /ListJobLogs
- Authentication: đ Required
- Description: Retrieves a list of all job import logs
đ RefreshReportDataâ
- HTTP Method: GET
- URL Pattern: /RefreshReportData
- Authentication: đ Required
- Description: Refreshes the data for reports with rate limiting applied
đ UpdateJobâ
- HTTP Method: POST
- URL Pattern: /Update
- Authentication: đ Required
- Description: Updates job details
đ ArchiveJobâ
- HTTP Method: POST
- URL Pattern: /Archive
- Authentication: đ Required
- Description: Archives a job and generates several export reports during the process
đī¸ DeleteJobâ
- HTTP Method: POST
- URL Pattern: /Delete
- Authentication: đ Required
- Description: Deletes a job from the system
â Revalidateâ
- HTTP Method: POST
- URL Pattern: /Revalidate
- Authentication: đ Required
- Description: Revalidates data for a job
đ ExportImagesâ
- HTTP Method: POST
- URL Pattern: /ExportImages
- Authentication: đ Required
- Description: Exports images for a job
âī¸ ImportImagesâ
- HTTP Method: POST
- URL Pattern: /ImportImages
- Authentication: đ Required
- Description: Imports images for a job
âī¸ ImportDocumentsâ
- HTTP Method: POST
- URL Pattern: /ImportDocuments
- Authentication: đ Required
- Description: Imports documents for assets in a job
âī¸ ImportFrameworkâ
- HTTP Method: GET
- URL Pattern: /V2Import
- Authentication: đ Required
- Description: Queues a request to import job data from Version 2 of the application
đĄ Tips for Import Log Managementâ
- â ī¸ Some operations like RefreshReportData have rate limiting to prevent system overload
- â Always check import logs after import operations to verify data integrity
- âšī¸ Archiving a job is a complex operation that generates multiple reports
- ⥠Large import operations may take significant time to complete