scheduled-events

Create Scheduled Event

Current scheduled events HTTP operation. External credential scopes: write:records. Minimum farm role: EDITOR. Direct requests execute without an app confirmation screen. Production rate limit: 100 requests per 15-minute window per device account, 1000 per browser session, otherwise per client IP. RateLimit headers report the current window; respect Retry-After on 429.

post/v1/farm/{farm_id}/scheduled-events

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/v1/farm/{farm_id}/scheduled-events
  • Auth: HTTP bearer

Path parameters

farm_idstring uuid required

Request body

animal_idsstring[] required
descriptionstring
group_idsstring[] required
namestring required
scheduled_atstring date-time required
type'FEED' | 'GENETIC' | 'HEALTH' | 'MOVEMENT' | 'OTHER' required

Response

Success

status'COMPLETED' | 'PENDING' | 'APPROVED' | 'REJECTED' required
type'OTHER' | 'FEED' | 'GENETIC' | 'HEALTH' | 'MOVEMENT' required
idstring required
created_atstring date-time required
updated_atstring date-time required
namestring required
is_activeboolean required
farm_idstring required
descriptionstring nullable required
record_idstring nullable required
approved_by_user_idstring nullable required
recurring_event_idstring nullable required
animal_idsunknown required
approved_atstring date-time nullable required
group_idsunknown required
scheduled_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.