GetScheduledJobsResponse GetScheduledJobs(ctx, optional)
This gets a list of scheduled jobs
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| optional | *GetScheduledJobsOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a GetScheduledJobsOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
| startTime | optional.Int64 | The unix timestamp, describing the start time for the stats | |
| endTime | optional.Int64 | The unix timestamp, describing the end time for the stats | |
| offset | optional.Int64 | the number of data to skip before getting the result set | |
| limit | optional.Int64 | the number of items to return. | [default to 10] |
| direction | optional.String | the sort order. ASC or DESC. | [default to DESC] |
| scheduledJobID | optional.String | Filter by internal scheduled Job ID(uuid) or core scheduled Job ID (integer) | |
| internalOrganizationID | optional.Interface of string | Filter by internal organization id | |
| coreID | optional.Interface of string | Filter by coreID | |
| startStartTime | optional.Int64 | | |
| endStartTime | optional.Int64 | | |
| startStopTime | optional.Int64 | | |
| endStopTime | optional.Int64 | | |
| isActive | optional.Bool | | |
| runMode | optional.Interface of ScheduleRunModeEnum | Filter by runMode | |
| sourceID | optional.Int32 | | |
| sourceType | optional.String | | |
| orderBy | optional.String | The value should be in [organizationID, runMode, createdTime, startTime, stopTime] | |
| scheduledJobName | optional.String | | |
Return type
GetScheduledJobsResponse
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json