HydraCore
API by router

Scheduled actions internal

List Schedules Internal

GET
/internal/v1/instances/{instance_id}/schedules

Path Parameters

instance_id*Instance Id
Formatuuid

Query Parameters

customer_id?|null
limit?Limit
Range1 <= value <= 200
Default50
offset?Offset
Range0 <= value
Default0

Response Body

Successful Response

application/json
  1. response
Example Request
curl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/schedules'
Example Response
{}

Create Schedule Internal

POST
/internal/v1/instances/{instance_id}/schedules

Path Parameters

instance_id*Instance Id
Formatuuid

Request Body

application/json
  1. body
action_after_completion?Action After Completion
Default"NONE"
action_config*
action_type*Action Type
catchup_window_minutes?Catchup Window Minutes
Range0 <= value <= 1440
Default10
customer_id?|null
deduplication_key?|null
description?string|null
end_at?|null
external_id?|null
flexible_window_minutes?Flexible Window Minutes
Range0 <= value <= 60
Default0
max_retries?Max Retries
Range0 <= value <= 10
Default3
name*Name
Lengthlength <= 200
overlap_policy?Overlap Policy
Default"SKIP"
pause_on_failure_count?Pause On Failure Count
Range1 <= value <= 100
Default5
rate_limit_per_minute?|null
relative_entity_definition_id?|

Entity definition to query

relative_field_name?|

Date field to compute offset from

relative_filter?|

Optional filter conditions on entity records

relative_offset_days?|

Days before (-) or after (+) the field date

retry_backoff_seconds?Retry Backoff Seconds
Range0 <= value
Default60
schedule_expression?string|null
schedule_type*Schedule Type
start_at?|null
timezone?Timezone
Lengthlength <= 50
Default"UTC"

Response Body

Successful Response

application/json
  1. response
action_config*
action_type*Action Type
created_at*Created At
Formatdate-time
customer_id*|null
description*string|null
external_id*string|null
id*Id
Formatuuid
last_run_at*|null
last_run_status*string|null
name*Name
next_run_at*|null
overlap_policy*Overlap Policy
relative_entity_definition_id?|null
relative_field_name?string|null
relative_filter?|null
relative_offset_days?integer|null
run_count*Run Count
schedule_expression*string|null
schedule_type*Schedule Type
status*Status
tenant_id*Tenant Id
Formatuuid
timezone*Timezone
updated_at*Updated At
Formatdate-time
Example Request
curl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/schedules' \  -H 'Content-Type: application/json' \  -d '{  "action_config": {},  "action_type": "string",  "name": "string",  "schedule_type": "string"}'
Example Response
{  "action_config": {},  "action_type": "string",  "created_at": "2019-08-24T14:15:22Z",  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",  "description": "string",  "external_id": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "last_run_at": "2019-08-24T14:15:22Z",  "last_run_status": "string",  "name": "string",  "next_run_at": "2019-08-24T14:15:22Z",  "overlap_policy": "string",  "relative_entity_definition_id": "46b415fe-4983-482e-9f78-b8edcade17d5",  "relative_field_name": "string",  "relative_filter": {},  "relative_offset_days": 0,  "run_count": 0,  "schedule_expression": "string",  "schedule_type": "string",  "status": "string",  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "timezone": "string",  "updated_at": "2019-08-24T14:15:22Z"}

Delete Schedule Internal

DELETE
/internal/v1/instances/{instance_id}/schedules/{schedule_id}

Path Parameters

instance_id*Instance Id
Formatuuid
schedule_id*Schedule Id
Formatuuid

Response Body

Successful Response

Example Request
curl -X DELETE 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty