Get list of report subscriptions
Select
SaaS
Customer Managed
Get list of report subscriptions for a given company and reportId (optional)
Query Parameters
- companyId integer
Company Id
- reportId integer
Report Id
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema array
reports object
reportId integerreportName stringdescription stringsubTaskId integertaskId integerscheduleName stringselfSubscription integer-1 if not subscribed, 1 if subscribed
companySubscription integer0,1,2,3,4,5 for none subscribed, tenant admins subscribed, tenant admins unsubscribed, tenant operators subscribed, tenant operators unsubscribed, both subscribed respectively
subscriptionToEmail integer-1 if user is unsubscribed from email, 0 otherwise
outputType integer0,1,2,3,4 for PDF,CSV,MHTML,PRINT,HTML respectively
scheduleUrl stringenabled integerfrequencyDetails object
freq_type integerfreq_interval integerfreq_relative_interval integerfreq_recurrence_factor integerfreq_subday_interval integerskipOccurence integerskipDayNumber integeractive_start_date integeractive_start_time integeractive_end_date integeractive_end_time integeractive_end_occurence integerfreq_restart_interval integernext_schedule_time integertimezone_type integertimezoneDisplayName string
[
null
]
{
"reports": [
{
"reportId": 1,
"reportName": "SLA",
"description": null,
"subTaskId": 1,
"taskId": 1,
"scheduleName": "subscription_schedule_name",
"selfSubscription": 1,
"companySubscription": 1,
"subscriptionToEmail": 1,
"outputType": 1,
"scheduleUrl": "report_generation_url",
"enabled": 1,
"frequencyDetails": {
"freq_type": 1,
"freq_interval": 1,
"freq_relative_interval": 1,
"freq_recurrence_factor": 1,
"freq_subday_interval": 1,
"skipOccurence": 1,
"skipDayNumber": 1,
"active_start_date": 1,
"active_start_time": 1,
"active_end_date": 1,
"active_end_time": 1,
"active_end_occurence": 1,
"freq_restart_interval": 1,
"next_schedule_time": 1,
"timezone_type": 1,
"timezoneDisplayName": "Indian Standard Time"
}
}
]
}
Loading...