Examples

POST /katello/api/organizations/114267492/sync_plans
{
  "sync_plan": {
    "sync_date": "2014-01-09 17:46:00",
    "description": "This is my cool new sync plan."
  }
}
500
{
  "displayMessage": "Interval cannot be nil",
  "errors": [
    "Interval cannot be nil"
  ]
}

Params

Param name Description
organization_id
required

Organization ID

Validations:

  • Must be a number.

name
required

sync plan name

Validations:

  • String

interval
required

how often synchronization should run

Validations:

  • Must be one of: hourly, daily, weekly, custom cron.

sync_date
required

start datetime of synchronization

Validations:

  • String

description
optional

sync plan description

Validations:

  • String

enabled
required

enables or disables synchronization

Validations:

  • Must be one of: true, false, 1, 0.

cron_expression
optional

Add custom cron logic for sync plan

Validations:

  • String