Get All User Jobs
API to fetch all the jobs belonging to your account. Use the authentication token generated from the Get Auth Token API.
#
EndpointURL: https://portal.bihelper.tech/api/user-jobs/Method: GET
#
HeadersKey | Value | Description |
---|---|---|
Authorization | Bearer Auth_Token | Auth token |
Content-Type | application/json | |
User-Agent | curl/7.68.0 | Set user agent header |
#
Curl Requestcurl --location --request GET 'https://portal.bihelper.tech/api/user-jobs/' \--header 'Authorization: Bearer Auth_Token' \--header 'User-Agent: curl/7.68.0'
#
ResponseSample response:
[ { "id": 3, "name": "Retail Sales Report", "isActive": true, "lastRun": "2020-06-08T16:45:15", "nextRun": "2020-07-08T16:46:00", "timeZone": "Asia/Kolkata", "status": "SUCCESS", "jobDuration": 1375865, "jobRunFrequency": "MONTHLY", "userJobStartTime": "2019-10-08T16:46:00", "userId": 6, "userReportGenerationTasks": null, "userEmailTasks": null }, { "id": 4, "name": "Retail Report", "isActive": false, "lastRun": null, "nextRun": "2019-03-29T10:00:00", "timeZone": "America/New_York", "status": "PROVISIONING", "jobDuration": 0, "jobRunFrequency": "MONTHLY", "userJobStartTime": "2019-03-29T10:00:00", "userId": 6, "userReportGenerationTasks": null, "userEmailTasks": null }, { "id": 185, "name": "New Job", "isActive": true, "lastRun": null, "nextRun": "2019-12-04T09:10:32", "timeZone": "America/New_York", "status": "READY", "jobDuration": 0, "jobRunFrequency": "MONTHLY", "userJobStartTime": "2019-12-04T09:10:32", "userId": 6, "userReportGenerationTasks": null, "userEmailTasks": null }, { "id": 443, "name": "New Job", "isActive": true, "lastRun": null, "nextRun": "2020-05-20T19:58:16", "timeZone": "Etc/GMT", "status": "READY", "jobDuration": 0, "jobRunFrequency": "MONTHLY", "userJobStartTime": "2020-05-20T19:58:16", "userId": 6, "userReportGenerationTasks": null, "userEmailTasks": null }]