Subscriptions contain details about the backup plan.
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 |
---|---|---|
SubscriptionId | Integer | Read Only |
CompanyId | Integer | Required on POST, otherwise Read Only |
Company | Object | See API Companies |
PlanId | Integer | Required on POST, otherwise Read Only |
Plan | Object | See API Plans |
ApplicationId | String 25 | Special code assigned to every Partner account. You should consult with CleverFox Backup Support before changing this value. |
ExternalId | String 100 | Unique identifier for Partners to identify this Subscription. |
IsInactive | Boolean | Read Only |
BillingId | Integer | Read Ony |
Status | String 15 | Read Only |
PeriodStart | DateTime UTC | Read Only |
PeriodEnd | DateTime UTC | Read Only |
AdditionalDevice | Integer | Read Only |
DownloadLimitExpireOn | DateTime UTC | Read Only |
SendNotificationTo | String | Required if the SendNotificationOnStorageLimit is true. Accepts multiple email addresses if separated by a colon, a semi-colon, or "\r\n". |
SendNotificationBcc | String | Accepts multiple email addresses if separated by a colon, a semi-colon, or "\r\n". |
SendNotificationCc | String | Accepts multiple email addresses if separated by a colon, a semi-colon, or "\r\n". |
SendNotificationOnStorageLimit | Boolean | |
AddedOn | DateTime UTC | Read Only |
UpdatedOn | DateTime UTC | Read Only |
Token | String 50 | See API Duplication Prevention |
Returns an array of Subscriptions in descending order.
https://cleverfoxbackup.com/api/subscriptions
{ "data": [ { "SubscriptionId": 1, "CompanyId": 1, "Company": { "CompanyId": 1, "PartnerId": 1, "Partner": null, "PlanTypeId": 1, "PlanType": null, "Name": "ABC Company, Inc.", "AddressLine1": "1000 Main St", "AddressLine2": null, "CityMunicipality": "Anytown", "StateProvidence": "MI", "PostalCode": "12345", "Country": null, "Phone": null, "ExternalId": null, "IsInactive": false, "AddedOn": "2015-01-01T00:00:00.000", "UpdatedOn": null, "Token": null }, "PlanId": 1, "Plan": { "PlanId": 1, "PlanTypeId": 1, "Name": "Small Plan", "Details": "1 Device\r\n25 GB Storage\r\nEmail Support\r\nFree Updates", "IsInactive": false, "DeviceLimit": 1, "StorageLimit": 25, "DownloadLimit": true }, "ApplicationId": null, "ExternalId": null, "IsInactive": false, "BillingId": 12345678, "Status": "Active", "PeriodStart": "2015-01-01T00:00:00.000", "PeriodEnd": "2015-02-01T12:00:00.000", "AdditionalDevice": "0", "DownloadLimitExpireOn": null, "SendNotificationTo": "johnsmith@abccompany.com", "SendNotificationBcc": null, "SendNotificationCc": null, "SendNotificationOnStorageLimit": true, "AddedOn": "2015-01-01T00:00:00.000", "UpdatedOn": null, "Token": null } ], "page_no": 1, "page_size": 25 }
Returns a single Subscription.
https://cleverfoxbackup.com/api/subscriptions/{SubscriptionId}
{ "data": { "SubscriptionId": 1, "CompanyId": 1, "Company": { "CompanyId": 1, "PartnerId": 1, "Partner": null, "PlanTypeId": 1, "PlanType": null, "Name": "ABC Company, Inc.", "AddressLine1": "1000 Main St", "AddressLine2": null, "CityMunicipality": "Anytown", "StateProvidence": "MI", "PostalCode": "12345", "Country": null, "Phone": null, "ExternalId": null, "IsInactive": false, "AddedOn": "2015-01-01T00:00:00.000", "UpdatedOn": null, "Token": null }, "PlanId": 1, "Plan": { "PlanId": 1, "PlanTypeId": 1, "PlanType": null, "Name": "Small Plan", "Details": "1 Device\r\n25 GB Storage\r\nEmail Support\r\nFree Updates", "IsInactive": false, "DeviceLimit": 1, "StorageLimit": 25, "DownloadLimit": true }, "ApplicationId": null, "ExternalId": null, "IsInactive": false, "BillingId": 12345678, "Status": "Active", "PeriodStart": "2015-01-01T00:00:00.000", "PeriodEnd": "2015-02-01T00:00:00.000", "AdditionalDevice": "0", "DownloadLimitExpireOn": null, "SendNotificationTo": "johnsmith@abccompany.com", "SendNotificationBcc": null, "SendNotificationCc": null, "SendNotificationOnStorageLimit": true, "AddedOn": "2015-01-01T00:00:00.000", "UpdatedOn": null, "Token": null } }
Returns a single Subscription.
https://cleverfoxbackup.com/api/subscriptions/lookup?ExternalId={ExternalId}
{ "data": { "SubscriptionId": 1, "CompanyId": 1, "Company": { "CompanyId": 1, "PartnerId": 1, "Partner": null, "PlanTypeId": 1, "PlanType": null, "Name": "ABC Company, Inc.", "AddressLine1": "1000 Main St", "AddressLine2": null, "CityMunicipality": "Anytown", "StateProvidence": "MI", "PostalCode": "12345", "Country": null, "Phone": null, "ExternalId": null, "IsInactive": false, "AddedOn": "2015-01-01T00:00:00.000", "UpdatedOn": null, "Token": null }, "PlanId": 1, "Plan": { "PlanId": 1, "PlanTypeId": 1, "PlanType": null, "Name": "Small Plan", "Details": "1 Device\r\n25 GB Storage\r\nEmail Support\r\nFree Updates", "IsInactive": false, "DeviceLimit": 1, "StorageLimit": 25, "DownloadLimit": true }, "ApplicationId": null, "ExternalId": null, "IsInactive": false, "BillingId": 12345678, "Status": "Active", "PeriodStart": "2015-01-01T00:00:00.000", "PeriodEnd": "2015-02-01T00:00:00.000", "AdditionalDevice": "0", "DownloadLimitExpireOn": null, "SendNotificationTo": "johnsmith@abccompany.com", "SendNotificationBcc": null, "SendNotificationCc": null, "SendNotificationOnStorageLimit": true, "AddedOn": "2015-01-01T00:00:00.000", "UpdatedOn": null, "Token": null } }
Updates a Subscription and returns the updated data.
https://cleverfoxbackup.com/api/subscriptions/{SubscriptionId}
{ "data": { "ApplicationId": null, "ExternalId": null, "SendNotificationTo": "johnsmith@abccompany.com", "SendNotificationBcc": null, "SendNotificationCc": null, "SendNotificationOnStorageLimit": true, "Token": null } }