Create a new report subscription for a tree element.
A JSON object containing report subscription information.
Create a report subscription for a measure.
Successful operation
Unprocessable Content
{- "name": "Monday Turnover Report",
- "start_time": "2022-10-03 09:00:00",
- "frequency": 2,
- "report_type": 2,
- "status": 1,
- "users": [
- "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "49dd34eb82cc77ca8bccb35dd9a188f79d5c4026"
], - "measure": "952d544cd1d50a3937b903ee9f0322808baba201"
}
{- "success": true,
- "hash": "ed2cb71964b3d56f06f53b42fc43730df2d42f28",
- "data": {
- "id": 1,
- "hash": "c5c644bb502c2f4fbcbb9ec81d85575f458903f5",
- "name": "Monday Turnover Report",
- "start_time": "2022-10-03T09:00:00.000000Z",
- "frequency": 2,
- "execution_time": "2022-10-17T09:00:00.000000Z",
- "settings": {
- "report_type": 2,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": null,
- "strategic_users": null
}, - "status": 1,
- "created_time": "2022-10-12T12:21:42.000000Z",
- "modified_time": "2022-10-12T12:21:42.000000Z",
- "modified_user_time": "2022-10-12T12:21:42.000000Z",
- "model": "ReportSubscription",
- "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "users": [
- {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - {
- "id": 6,
- "hash": "49dd34eb82cc77ca8bccb35dd9a188f79d5c4026",
- "name": "Hasan Salihamidžić",
- "first_name": "Hasan",
- "last_name": "Salihamidžić",
- "position": "Scapegoat",
- "department": "Board",
- "organization": "Nordantech",
- "email": "brazzo@nordantech.com",
- "status": 1,
- "created_time": "2022-06-27T12:46:12.000000Z",
- "modified_time": "2022-08-22T10:09:18.000000Z",
- "modified_user_time": "2022-08-03T15:17:06.000000Z",
- "model": "User"
}
]
}, - "timestamp": 1665577302735
}
Get all report subscriptions of the authenticated hub.
Successful operation
{- "success": true,
- "hash": "41590202b3ff4f7f26834b83329b7303f01f6921",
- "data": [
- {
- "id": 2,
- "hash": "c5c644bb502c2f4fbcbb9ec81d85575f458903f5",
- "name": "Monday Turnover Report",
- "start_time": "2022-10-03T09:00:00.000000Z",
- "frequency": 2,
- "execution_time": "2022-10-17T09:00:00.000000Z",
- "settings": {
- "report_type": 2,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": null,
- "strategic_users": null
}, - "status": 1,
- "created_time": "2022-10-12T12:21:42.000000Z",
- "modified_time": "2022-10-12T12:21:42.000000Z",
- "modified_user_time": "2022-10-12T12:21:42.000000Z",
- "model": "ReportSubscription",
- "reportable": {
- "id": 2,
- "hash": "952d544cd1d50a3937b903ee9f0322808baba201",
- "name": "Turnover",
- "model": "Measure"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "users": [
- {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}, - {
- "id": 6,
- "hash": "49dd34eb82cc77ca8bccb35dd9a188f79d5c4026",
- "name": "Hasan Salihamidžić",
- "first_name": "Hasan",
- "last_name": "Salihamidžić",
- "position": "Scapegoat",
- "department": "Board",
- "organization": "Nordantech",
- "email": "brazzo@nordantech.com",
- "status": 1,
- "created_time": "2022-06-27T12:46:12.000000Z",
- "modified_time": "2022-08-22T10:09:18.000000Z",
- "modified_user_time": "2022-08-03T15:17:06.000000Z",
- "model": "User"
}
]
}, - {
- "id": 3,
- "hash": "00ffebc8a6330d9bad4272e05f1faec14071f939",
- "name": "Monthly Procurement Report",
- "start_time": "2022-08-31T23:00:00.000000Z",
- "frequency": 3,
- "execution_time": "2022-10-31T23:00:00.000000Z",
- "settings": {
- "report_type": 1,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": null,
- "strategic_users": null
}, - "status": 1,
- "created_time": "2022-10-12T12:42:30.000000Z",
- "modified_time": "2022-10-12T12:42:30.000000Z",
- "modified_user_time": "2022-10-12T12:42:30.000000Z",
- "model": "ReportSubscription",
- "reportable": {
- "id": 3,
- "hash": "cc4834e67e8517e2c061aa347a7c353a5414df10",
- "name": "Procurement",
- "model": "MeasurePackage"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "users": [ ]
}, - {
- "id": 4,
- "hash": "52d9ba11dc2865abf278bfa792a8015b158a2dbf",
- "name": "Monthly Aggregated Report",
- "start_time": "2022-10-01T11:00:00.000000Z",
- "frequency": 3,
- "execution_time": null,
- "settings": {
- "report_type": 2,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": null,
- "strategic_users": null
}, - "status": 0,
- "created_time": "2022-10-12T12:46:51.000000Z",
- "modified_time": "2022-10-12T12:46:51.000000Z",
- "modified_user_time": "2022-10-12T12:46:51.000000Z",
- "model": "ReportSubscription",
- "reportable": {
- "id": 1,
- "hash": "583bf59445f18e7bf566020aa8134ddfa7c79113",
- "name": "Phoenix",
- "model": "Project"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "users": [ ]
}, - {
- "id": 5,
- "hash": "720adc824f0393d60421c19e264f089f348c9ed5",
- "name": "Responsibility Report",
- "start_time": "2022-11-01T10:00:00.000000Z",
- "frequency": 1,
- "execution_time": "2022-11-01T10:00:00.000000Z",
- "settings": {
- "report_type": 1,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": [
- 1
], - "strategic_users": null
}, - "status": 1,
- "created_time": "2022-10-12T12:49:17.000000Z",
- "modified_time": "2022-10-12T12:49:17.000000Z",
- "modified_user_time": "2022-10-12T12:49:17.000000Z",
- "model": "ReportSubscription",
- "reportable": {
- "id": 1,
- "hash": "1650600bd010a50897b50572382460965fed588a",
- "name": "Airborne",
- "model": "Program"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "users": [
- {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
]
}
], - "meta": {
- "page": 1,
- "first": 1,
- "last": 4,
- "total": 4,
- "limit": 1000,
- "pages": 1
}, - "timestamp": 1665579163061
}
Get a report subscription.
Successful operation
Not Found
{- "success": true,
- "hash": "771973563d76533b3a952fe668cdc47fd2ce715e",
- "data": {
- "id": 5,
- "hash": "720adc824f0393d60421c19e264f089f348c9ed5",
- "name": "Responsibility Report",
- "start_time": "2022-11-01T10:00:00.000000Z",
- "frequency": 1,
- "execution_time": "2022-11-01T10:00:00.000000Z",
- "settings": {
- "report_type": 1,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": [
- 1
], - "strategic_users": null
}, - "status": 1,
- "created_time": "2022-10-12T12:49:17.000000Z",
- "modified_time": "2022-10-12T12:49:17.000000Z",
- "modified_user_time": "2022-10-12T12:49:17.000000Z",
- "model": "ReportSubscription",
- "reportable": {
- "id": 1,
- "hash": "1650600bd010a50897b50572382460965fed588a",
- "name": "Airborne",
- "model": "Program"
}, - "created_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "users": [
- {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "created_time": "2022-05-04T16:51:37.000000Z",
- "modified_time": "2022-05-23T12:18:17.000000Z",
- "modified_user_time": "2022-05-23T12:18:17.000000Z",
- "model": "User"
}
]
}, - "timestamp": 1665581958997
}
Update a report subscription.
A JSON object containing report subscription information.
Successful operation
Not Found
Unprocessable Content
{- "status": 1,
- "users": [
- "a13b1b362d914d12bbcf5de981e3a7f53d00a8d0"
]
}
{- "success": true,
- "hash": "fa9fd1292c3b38221ee4663f0ca2246563d1ef9b",
- "data": {
- "id": 4,
- "hash": "52d9ba11dc2865abf278bfa792a8015b158a2dbf",
- "name": "Monthly Aggregated Report",
- "start_time": "2022-10-01T11:00:00.000000Z",
- "frequency": 3,
- "execution_time": "2022-11-01T11:00:00.000000Z",
- "settings": {
- "report_type": 2,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": null,
- "strategic_users": null
}, - "status": 1,
- "created_time": "2022-10-12T12:49:17.000000Z",
- "modified_time": "2022-10-12T14:21:59.803341Z",
- "modified_user_time": "2022-10-12T14:21:59.000000Z",
- "model": "ReportSubscription",
- "modified_user": {
- "id": 1,
- "hash": "8db560a23013ff54838d45e59a3f3f39f6720c86",
- "name": "Olli Kahn",
- "first_name": "Olli",
- "last_name": "Kahn",
- "position": "CEO",
- "department": "Engine room",
- "organization": "Nordantech",
- "email": "titan@nordantech.com",
- "status": 1,
- "model": "User"
}, - "users": [
- {
- "id": 2,
- "hash": "a13b1b362d914d12bbcf5de981e3a7f53d00a8d0",
- "name": "Uli Hoeneß",
- "first_name": "Uli",
- "last_name": "Hoeneß",
- "position": "CEO",
- "department": "Sausage factory",
- "organization": "Nordantech",
- "email": "knacki@nordantech.com",
- "status": 1,
- "created_time": "2022-06-27T11:01:10.000000Z",
- "modified_time": "2022-08-22T16:10:03.000000Z",
- "modified_user_time": "2022-08-22T16:10:03.000000Z",
- "model": "User"
}
]
}, - "timestamp": 1665584519818
}
Delete a report subscription.
Successful operation
Not Found
{- "success": true,
- "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
- "data": { },
- "timestamp": 1665585346483
}
Cancel a report subscription for the authenticated user.
Successful operation
Not Found
{- "success": true,
- "hash": "41590202b3ff4f7f26834b83329b7303f01f6921",
- "data": {
- "id": 2,
- "hash": "c5c644bb502c2f4fbcbb9ec81d85575f458903f5",
- "name": "Monday Turnover Report",
- "start_time": "2022-10-03T09:00:00.000000Z",
- "frequency": 2,
- "execution_time": "2022-10-17T09:00:00.000000Z",
- "settings": {
- "report_type": 2,
- "file_type": null,
- "factor": null,
- "decimals": null,
- "period_type": null,
- "scaling": null,
- "budgeting_item": null,
- "tags": null,
- "workflow_phases": null,
- "responsible_users": null
}, - "status": 1,
- "created_time": "2022-10-12T12:21:42.000000Z",
- "modified_time": "2022-10-12T12:21:42.000000Z",
- "modified_user_time": "2022-10-12T12:21:42.000000Z",
- "model": "ReportSubscription",
- "users": [
- {
- "id": 6,
- "hash": "49dd34eb82cc77ca8bccb35dd9a188f79d5c4026",
- "name": "Hasan Salihamidžić",
- "first_name": "Hasan",
- "last_name": "Salihamidžić",
- "position": "Scapegoat",
- "department": "Board",
- "organization": "Nordantech",
- "email": "brazzo@nordantech.com",
- "status": 1,
- "created_time": "2022-06-27T12:46:12.000000Z",
- "modified_time": "2022-08-22T10:09:18.000000Z",
- "modified_user_time": "2022-08-03T15:17:06.000000Z",
- "model": "User"
}
]
}, - "timestamp": 1665579163061
}