Class
Update Class
Update a Class record given the Class identifier and Class data. Any fields not provided in the request will be ignored.
put/classes/{class_id}
Request
- Base URLhttps://api.wodify.com/v1
- URLhttps://api.wodify.com/v1/classes/{class_id}
- Authnone declared. Required headers: x-api-key
Path parameters
class_idinteger required
Class Id
Headers
x-api-keystring required
A valid API key. If you don't have one, please request one through the Automations → Integrations page.
Request body
Example request
{
"start_date": "2014-12-31",
"start_time": "23:59:59",
"end_time": "23:59:59",
"reservation_open_time_format_id": 1234567891234567,
"reservation_close_time_format_id": 1234567891234567,
"reservation_close_time_relation_id": 1234567891234567,
"reservation_close_time_point_id": 1234567891234567,
"cancellation_time_format_id": 1234567891234567,
"cancel_class_time_format_id": 1234567891234567,
"waitlist_type_id": 1234567891234567,
"client_sign_start_time_format_id": 1234567891234567,
"client_sign_end_res_time_format_id": 1234567891234567,
"client_sign_end_res_time_relation_id": 1234567891234567,
"client_sign_end_res_time_point_id": 1234567891234567,
"client_sign_end_no_res_time_format_id": 1234567891234567,
"client_sign_end_no_res_time_relation_id": 1234567891234567,
"client_sign_end_no_res_time_point_id": 1234567891234567,
"employee_sign_start_time_format_id": 1234567891234567,
"late_cancellation_fee": 0.1,
"late_cancellation_fee_tax_rate_id": 1234567891234567,
"no_show_fee": 0.1,
"no_show_fee_tax_rate_id": 1234567891234567,
"non_client_drop_in_fee": 0.1,
"client_drop_in_fee": 0.1,
"room_id": 1234567891234567
}Response
Class Data
Example response
{
"program_id": 1234567891234567,
"location_id": 1234567891234567,
"start_date_time": "2014-12-31T23:59:59.938Z",
"start_date": "2014-12-31",
"start_time": "23:59:59",
"end_date_time": "2014-12-31T23:59:59.938Z",
"end_date": "2014-12-31",
"end_time": "23:59:59",
"recurring_class_id": 1234567891234567,
"reservation_open_time_format_id": 1234567891234567,
"reservation_close_time_format_id": 1234567891234567,
"cancellation_time_format_id": 1234567891234567,
"cancel_class_time_format_id": 1234567891234567,
"cancel_close_date_time": "2014-12-31T23:59:59.938Z",
"reservation_close_date_time": "2014-12-31T23:59:59.938Z",
"class_warning_status_id": 1234567891234567,
"start_date_time_server": "2014-12-31T23:59:59.938Z",
"start_date_server": "2014-12-31",
"start_time_server": "23:59:59",
"end_date_time_server": "2014-12-31T23:59:59.938Z",
"end_date_server": "2014-12-31",
"reservation_close_date_time_server": "2014-12-31T23:59:59.938Z",
"cancel_class_date_time_server": "2014-12-31T23:59:59.938Z",
"waitlist_type_id": 1234567891234567,
"client_sign_start_time_format_id": 1234567891234567,
"client_sign_end_res_time_format_id": 1234567891234567,
"client_sign_end_res_time_relation_id": 1234567891234567,
"client_sign_end_res_time_point_id": 1234567891234567,
"client_sign_end_no_res_time_format_id": 1234567891234567,
"client_sign_end_no_res_time_relation_id": 1234567891234567,
"client_sign_end_no_res_time_point_id": 1234567891234567,
"employee_sign_start_time_format_id": 1234567891234567,
"late_cancellation_fee": 0.1,
"late_cancellation_fee_tax_rate_id": 1234567891234567,
"no_show_fee": 0.1,
"no_show_fee_tax_rate_id": 1234567891234567,
"non_client_drop_in_fee": 0.1,
"client_drop_in_fee": 0.1,
"room_id": 1234567891234567,
"layout_id": 1234567891234567,
"coaches": [
{
"coach_id": 1234567891234567,
"pay_rate_id": 1234567891234567,
"payroll_position_id": 1234567891234567
}
],
"class_layout_items": [
{
"layout_item_id": 1234567891234567,
"layout_item_type_id": 1234567891234567,
"layout_item_shape_id": 1234567891234567,
"deactivate_start_date": "2014-12-31",
"deactivate_end_date": "2014-12-31",
"class_layout_item_id": 1234567891234567,
"assignee_object_id": 1234567891234567,
"assignee_object_type_id": 1234567891234567,
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
}
}
],
"created": {
"created_by_id": 1234567891234567,
"created_on_datetime": "2014-12-31T23:59:59.938Z"
},
"updated": {
"updated_by_id": 1234567891234567,
"updated_on_datetime": "2014-12-31T23:59:59.938Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.