Events are the history of every "action" that has occured on the website or via the API.
All of the attribute fields are returned from GET (read) operations. Only those attributes not marked as read only may be set via POST (create) or PUT (update) operations.
Name | Type | Notes |
---|---|---|
EventId | Integer | Read Only |
EventTypeId | Integer | Read Only |
EventType | String | Read Only |
BackupTypeId | Integer | Read Only |
CompanyId | Integer | Read Only |
CompanyUserId | Integer | Read Only |
DeviceId | Integer | Read Only |
JobId | Integer | Read Only |
JobItemId | Integer | Read Only |
LogId | Integer | Read Only |
LogItemId | Integer | Read Only |
PartnerId | Integer | Read Only |
PartnerUserId | Integer | Read Only |
PlanId | Integer | Read Only |
PlanTypeId | Integer | Read Only |
SubscriptionId | Integer | Read Only |
AddedOn | DateTime UTC | Read Only |
Returns an array of Events in descending order.
https://cleverfoxbackup.com/api/events
{ "data": [ { "EventId": 1, "EventTypeId": 32, "EventType": "Device Modified", "BackupTypeId": null, "CompanyId": 1, "CompanyUserId": null, "DeviceId": 1, "JobId": null, "JobItemId": null, "LogId": null, "LogItemId": null, "PartnerId": null, "PartnerPlanId": null, "PartnerUserId": null, "PlanId": null, "PlanTypeId": null, "SubscriptionId": null, "AddedOn": "2015-01-01T00:00:00.000" } ], "page_no": 1, "page_size": 25 }
Returns a single Event.
https://cleverfoxbackup.com/api/events/{EventId}
{ "data": { "EventId": 1, "EventTypeId": 32, "EventType": "Device Modified", "BackupTypeId": null, "CompanyId": 1, "CompanyUserId": null, "DeviceId": 1, "JobId": null, "JobItemId": null, "LogId": null, "LogItemId": null, "PartnerId": null, "PartnerPlanId": null, "PartnerUserId": null, "PlanId": null, "PlanTypeId": null, "SubscriptionId": null, "AddedOn": "2015-01-01T00:00:00.000" } }