Actions92
- Appointment Actions
- Appointments_GetAll
- Appointments_Create
- Appointments_GetById
- Appointments_Delete
- Appointments_Schedule
- Appointments_SetAppointment
- Appointments_MyAppointment
- Appointments_Toggle
- Appointments_SetStatus
- Appointments_MergeAppointments
- Appointments_GetSets
- Appointments_SubmitDeposit
- Appointments_DeleteDeposit
- Appointments_SubmitServices
- Appointments_DeleteServices
- Appointments_SetReminder
- Appointments_UpdateReminder
- Appointments_DeleteReminder
- Appointments_GetSetsCalendar
- Appointments_GetCalendar
- Appointments_GetOperators
- Appointments_GetOperatorWorkTimes
- Appointments_AddOperatorWorkTime
- Appointments_RemoveOperatorWorkTime
- Categorie Actions
- Customer Actions
- Department Actions
- Form Actions
- Invoice Actions
- Lead Actions
- Manufacturer Actions
- Product Actions
- Provider Actions
- Turn Actions
- User Actions
- Worktime Actions
Worktime → WorkTimes_Update
AI-generatedSummary
Update an existing WorkTime record in SalamCRM by specifying its ID and providing the updated fields in JSON format.
Inputs
- id (required) — The numeric ID of the WorkTime record to update (used as a path parameter).
- body (required) — A JSON object representing the WorkTimeEditDto with the updated values for the WorkTime, such as Id, Name, and Duration.
Output shape
a single record representing the updated WorkTime object returned by the SalamCRM API
The operation sends a PUT request to
/api/worktimes/{id}with the provided body JSON. The output corresponds to the updated WorkTime details as returned by SalamCRM.
Examples
Example 1: Update the name and duration of a WorkTime
Specify the WorkTime id to update and provide a JSON body with new values for Name and Duration.