alerts

Update Alert

Update an existing alert.

Allows partial updates to alert settings, including narrowing the campground_selections (removing campgrounds/zones/sites). Cannot expand selections or change park_id — create a new alert.

patch/api/v1/alerts/{alert_id}

Request

  • Base URL: https://api.alert.camp (the document declares no server; this is the origin it was published from)
  • URL: https://api.alert.camp/api/v1/alerts/{alert_id}
  • Auth: none declared

Path parameters

alert_idstring required

Headers

authorizationstring nullable
x-dev-user-idstring nullable
x-app-versionstring nullable

Request body

date_startstring date nullable
date_endstring date nullable
days_filterstring nullable
nights_mininteger nullable
nights_maxinteger nullable
is_activeboolean nullable
notify_pushboolean nullable
notify_emailboolean nullable
notify_smsboolean nullable
split_stayboolean nullable
party_sizeinteger nullable
sub_equipment_idinteger nullable
op_access_point_resource_idinteger nullable
tent_padsinteger nullable
day_use_cellsobject nullable
entry_datesstring[] nullable
equipment_filter_modestring nullable
activity_typestring nullable
has_electricityboolean nullable
is_accessibleboolean nullable
pets_onlyboolean nullable
is_pull_throughboolean nullable
is_tent_onlyboolean nullable
shade_onlyboolean nullable
waterfront_onlyboolean nullable

Response

Successful Response

idstring required
user_idstring required
alert_typestring
providerstring nullable
park_idstring required
park_namestring required
date_startstring date required
date_endstring date required
days_filterstring
split_stayboolean
nights_mininteger required
nights_maxinteger nullable required
is_activeboolean required
notify_pushboolean required
notify_emailboolean required
notify_smsboolean
party_sizeinteger nullable
sub_equipment_idinteger nullable
op_access_point_resource_idinteger nullable
tent_padsinteger nullable
day_use_cellsobject nullable
entry_datesstring[] nullable
activity_typestring nullable
equipment_filter_modestring
has_electricityboolean nullable
is_accessibleboolean nullable
pets_onlyboolean nullable
is_pull_throughboolean nullable
is_tent_onlyboolean nullable
shade_onlyboolean nullable
waterfront_onlyboolean nullable
booking_urlstring nullable
last_checked_atstring nullable required
last_notified_atstring nullable required
notification_countinteger required
availabilities_foundinteger
cancellations_foundinteger
scan_countinteger
created_atstring date-time required
updated_atstring date-time required
created_viastring nullable
created_by_agentstring nullable

Changes

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