MobileApp

Update Reccurance Shedule

Changed on

Function: update_reccurance_shedule Type: API Endpoint (POST)

Purpose:
Updates the recurrence schedule for a given template.

Request Body:
A TemplateRecurrenceRequest object containing the updated recurrence schedule data.

Response:
Returns a JSON representation of the updated recurrence schedule.

Exceptions:

  • Raises HTTPException with a 400 status code if the customer key is invalid.
  • Raises HTTPException with a 404 status code if the recurrence schedule is not found.
  • Raises HTTPException with a 500 status code in case of any internal error.
post/api/MobileApp/templates/update_reccurance_shedule

Request

Headers

Customer-Keystring required

Request body

app_codestring required
template_codestring required
occuranceinteger required
mondayinteger
tuesdayinteger
wednesdayinteger
thursdayinteger
fridayinteger
saturdayinteger
sundayinteger
first_dayinteger
last_dayinteger
month_daysstring
janinteger
febinteger
marinteger
aprinteger
mayinteger
juninteger
julinteger
auginteger
sepinteger
octinteger
novinteger
decinteger
start_datestring date required
end_datestring date
indefiniteinteger
schedule_timestring time required
last_scheduled_timestring date-time
last_scheduled_statusinteger
next_schedule_timestring date-time required
whatsappinteger
emailinteger
schedule_formatstring
statusboolean required
modified_onstring date-time nullable
modified_bystring nullable
trigger_timestring time required
last_trigger_timestring date-time
next_trigger_timestring date-time
last_trigger_idstring nullable

Response

Successful Response

unknown required

Changes