Skip to main content

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.

Endpoint#

URL: https://portal.bihelper.tech/api/user-jobs/Method: GET

Headers#

KeyValueDescription
AuthorizationBearer Auth_TokenAuth token
Content-Typeapplication/json
User-Agentcurl/7.68.0Set user agent header

Curl Request#

curl --location --request GET 'https://portal.bihelper.tech/api/user-jobs/' \--header 'Authorization: Bearer Auth_Token' \--header 'User-Agent: curl/7.68.0' 

Response#

Sample 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  }]