API introspection – List packages, resources and their interfaces

Found 2 resources


Resource class Smartarchivo\Controller\MaintenanceLog\ReportApi\V1\MaintenanceLogEntryController of type EntityController
No access control

Skeleton class for controlling a row from the 'MaintenanceLogEntryModel' table.

Controller providing maintenance log entry related actions.

Name Type Size Default Description Visible Mutable Nullable
Client VARCHAR 36 not set yes no no
Facility VARCHAR 36 not set yes no no
Device VARCHAR 36 not set yes yes yes
DeviceName VIRTUAL not set yes no yes
Reporter VARCHAR 36 not set yes yes no
ReporterName VIRTUAL not set yes no yes
Solver VARCHAR 36 not set yes yes yes
SolverName VIRTUAL not set yes no yes
State ENUM ONGOING Value set: ONGOING, SOLVED yes yes no
IncidentTitle VARCHAR 64 not set yes yes no
IncidentCause VARCHAR 512 not set yes yes no
IncidentSolution VARCHAR 512 not set yes yes yes
IncidentDateStart TIMESTAMP not set yes yes no
IncidentDateEnd TIMESTAMP not set yes yes yes
CreatedAt TIMESTAMP not set yes no yes
UpdatedAt TIMESTAMP not set yes no yes
Uuid VARCHAR 36 not set yes no no

Interfaces

Found 1 interfaces in class Smartarchivo\Controller\MaintenanceLog\ReportApi\V1\MaintenanceLogEntryController

Resource: MaintenanceLogEntry, Method: load

Loads a model enitiy from the table defined by the model class name

Endpoint
GET /maintenance-log/report-api/v1/maintenance-log-entry/{uuid}/
GET /maintenance-log/report-api/v1/maintenance-log-entry/{uuid}
Host: /
Accept: application/json


HTTP/1.1 200 Ok
Date: Tue, 24 Sep 2024 08:55:33 +0000
Content-Length: 1406
Content-Type: application/json

{ "MaintenanceLogEntryModel": { "Client": "123e4567-e89b-12d3-a456-426655440000", "Facility": "123e4567-e89b-12d3-a456-426655440000", "Device": "123e4567-e89b-12d3-a456-426655440000", "DeviceName": null, "Reporter": "123e4567-e89b-12d3-a456-426655440000", "ReporterName": null, "Solver": "123e4567-e89b-12d3-a456-426655440000", "SolverName": null, "State": "ONGOING", "IncidentTitle": "Title of the incident", "IncidentCause": "Description of the incident cause", "IncidentSolution": "Description of the incident solution", "IncidentDateStart": "2013-11-12 16:39:00", "IncidentDateEnd": "2013-11-12 16:39:00", "CreatedAt": "2013-11-12 16:39:00", "UpdatedAt": "2013-11-12 16:39:00", "Uuid": "123e4567-e89b-12d3-a456-426655440000" }, "Notifications": [ { "Type": "Propeller\\Lib\\ControllerNotification\\ControllerNotification", "Message": "SOME_NOTIFICATION_MESSAGE", "LocalizedMessage": "The localized notification message", "Level": 1, "LevelAsString": "notification", "Details": [ "Localized detail message #1", "Localized detail message #2", "Localized detail message #3" ], "Code": 17 } ] }
Response data
FilteredMaintenanceLogEntryControllerModel named MaintenanceLogEntryModel