Work Center Timings

Work Center Timings AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Work center timings define the working days and operating hours of a work center. They are used to schedule manufacturing operations during available working hours and to plan production capacity. A timing configuration can be standard (the same schedule each week) or alternating (different schedules across Week 1 and Week 2), and can include up to three break intervals per day.

Download Work Center Timings OpenAPI Document

Attribute

workcalendar_id
string
ID of the Work Center Timing. Note: This value is a set of numeric characters.
workcalendar_version_id
string
ID of the current active version of the work center timing. Note: This value is a set of numeric characters.
workcalendar_name
string
Name of the work center timing. Maximum length: 100 characters.
source
string
Defines the schedule source type. Allowed Values: work_center.
type
string
Defines the week rotation type. Allowed Values: standard (same schedule every week) and alternating (alternates between two weekly schedules).
workweekdays
object
Weekly schedule of working days, shift hours, and break intervals.
Show Sub-Attributes arrow
week1
array
Day-by-day schedule for Week 1 (or the only week for a standard schedule).
Show Sub-Attributes arrow
day_id
string
ID of the day entry. Note: This value is a set of numeric characters.
day_name
string
Name of the day of the week. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
is_working
boolean
Indicates whether this day is a working day (true) or a non-working day (false).
start_time
string
Shift start time for this day. Format: HH:MM. Present only when is_working is true.
end_time
string
Shift end time for this day. Format: HH:MM. Present only when is_working is true.
breaks
array
List of break intervals within this day. Empty array when no breaks are configured.
Show Sub-Attributes arrow
break_id
string
ID of the break. Note: This value is a set of numeric characters.
break_name
string
Name of the break interval.
start_time
string
Start time of the break. Format: HH:MM.
end_time
string
End time of the break. Format: HH:MM.
week2
array
Day-by-day schedule for Week 2. Present only when type is alternating.
Show Sub-Attributes arrow
day_id
string
ID of the day entry. Note: This value is a set of numeric characters.
day_name
string
Name of the day of the week. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
is_working
boolean
Indicates whether this day is a working day (true) or a non-working day (false).
start_time
string
Shift start time for this day. Format: HH:MM. Present only when is_working is true.
end_time
string
Shift end time for this day. Format: HH:MM. Present only when is_working is true.
breaks
array
List of break intervals within this day. Empty array when no breaks are configured.
Show Sub-Attributes arrow
break_id
string
ID of the break. Note: This value is a set of numeric characters.
break_name
string
Name of the break interval.
start_time
string
Start time of the break. Format: HH:MM.
end_time
string
End time of the break. Format: HH:MM.
weeks
array
Session-based week pattern schedule defining the attendance type for each day of the week across a five-week cycle.
Show Sub-Attributes arrow
workcalendar_session_id
string
ID of the session entry. Note: This value is a set of numeric characters.
day_of_week
string
Day of the week this session entry applies to. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
working_weeks
object
Attendance type assignment across a five-week cycle for a given day of the week.
Show Sub-Attributes arrow
week1
string
Attendance type for Week 1. Allowed Values: fullday, halfday, and leave.
week2
string
Attendance type for Week 2. Allowed Values: fullday, halfday, and leave.
week3
string
Attendance type for Week 3. Allowed Values: fullday, halfday, and leave.
week4
string
Attendance type for Week 4. Allowed Values: fullday, halfday, and leave.
week5
string
Attendance type for Week 5. Allowed Values: fullday, halfday, and leave.

Example

{ "workcalendar_id": "3863095000000067001", "workcalendar_version_id": "3863095000000067002", "workcalendar_name": "Company Work Center Timing", "source": "work_center", "type": "standard", "breaks_count": [ {} ], "workweekdays": { "week1": [ { "day_id": "3863095000000067005", "day_name": "monday", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [ { "break_id": "3863095000000067051", "break_name": "Lunch Break", "start_time": "13:00", "end_time": "14:00" } ] } ], "week2": [ { "day_id": "3863095000000067005", "day_name": "monday", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [ { "break_id": "3863095000000067051", "break_name": "Lunch Break", "start_time": "13:00", "end_time": "14:00" } ] } ] }, "weeks": [ { "workcalendar_session_id": "3863095000000067012", "day_of_week": "monday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } } ] }

Create a work center timing AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Create a work center timing.
OAuth Scope : ERP.manufacturing.CREATE

Arguments

workcalendar_name
string
(Required)
Name of the work center timing. Maximum length: 100 characters.
source
string
(Required)
Defines the schedule source type. Allowed Values: work_center.
type
string
(Required)
Defines the week rotation type. Allowed Values: standard (same schedule every week) and alternating (alternates between two weekly schedules).
workweekdays
object
Weekly schedule of working days, shift hours, and break intervals. Required when source is work_center.
Show Sub-Attributes arrow
week1
array
Day-by-day schedule for Week 1 (or the only week for a standard schedule). Must contain exactly 7 entries, one per day of the week.
Show Sub-Attributes arrow
day_id
string
ID of an existing day entry. Required when updating days within an existing work center timing (PUT requests). Note: This value is a set of numeric characters.
day_name
string
(Required)
Name of the day of the week. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
is_working
boolean
(Required)
Indicates whether this day is a working day (true) or a non-working day (false).
start_time
string
Shift start time for this day. Required when is_working is true. Format: HH:MM.
end_time
string
Shift end time for this day. Required when is_working is true. Format: HH:MM.
breaks
array
List of break intervals for this day. Applicable only when is_working is true. Pass an empty array if no breaks are required. Maximum: 100 breaks per day.
Show Sub-Attributes arrow
break_name
string
(Required)
Name of the break interval. Maximum length: 100 characters.
start_time
string
(Required)
Start time of the break. Format: HH:MM.
end_time
string
(Required)
End time of the break. Format: HH:MM.
week2
array
Day-by-day schedule for Week 2. Required only when type is alternating. Must contain exactly 7 entries, one per day of the week.
Show Sub-Attributes arrow
day_id
string
ID of an existing day entry. Required when updating days within an existing work center timing (PUT requests). Note: This value is a set of numeric characters.
day_name
string
(Required)
Name of the day of the week. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
is_working
boolean
(Required)
Indicates whether this day is a working day (true) or a non-working day (false).
start_time
string
Shift start time for this day. Required when is_working is true. Format: HH:MM.
end_time
string
Shift end time for this day. Required when is_working is true. Format: HH:MM.
breaks
array
List of break intervals for this day. Applicable only when is_working is true. Pass an empty array if no breaks are required. Maximum: 100 breaks per day.
Show Sub-Attributes arrow
break_name
string
(Required)
Name of the break interval. Maximum length: 100 characters.
start_time
string
(Required)
Start time of the break. Format: HH:MM.
end_time
string
(Required)
End time of the break. Format: HH:MM.
weeks
array
Session-based week pattern schedule. Provide exactly 7 entries, one for each day of the week, defining the attendance type across a five-week cycle.
Show Sub-Attributes arrow
workcalendar_session_id
string
ID of an existing session entry. Required when updating sessions within an existing work center timing (PUT requests). Note: This value is a set of numeric characters.
day_of_week
string
(Required)
Day of the week this session entry applies to. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
working_weeks
object
(Required)
Attendance type assignment across a five-week cycle for a given day of the week.
Show Sub-Attributes arrow
week1
string
Attendance type for Week 1. Allowed Values: fullday, halfday, and leave.
week2
string
Attendance type for Week 2. Allowed Values: fullday, halfday, and leave.
week3
string
Attendance type for Week 3. Allowed Values: fullday, halfday, and leave.
week4
string
Attendance type for Week 4. Allowed Values: fullday, halfday, and leave.
week5
string
Attendance type for Week 5. Allowed Values: fullday, halfday, and leave.

Query Parameters

organization_id
string
(Required)
ID of the organization.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.in") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("POST", "/erp/v1/workcentertimings?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "www.zohoapis.in", "port": null, "path": "/erp/v1/workcentertimings?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request POST \ --url 'https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "workcalendar_name": "Sample Work Center Timing", "source": "work_center", "type": "standard", "workweekdays": { "week1": [ { "day_name": "sunday", "start_time": "09:00", "end_time": "18:00", "breaks": [], "is_working": true }, { "day_name": "monday", "start_time": "09:00", "end_time": "18:00", "breaks": [], "is_working": true }, { "day_name": "tuesday", "start_time": "09:00", "end_time": "18:00", "breaks": [], "is_working": true }, { "day_name": "wednesday", "start_time": "09:00", "end_time": "18:00", "breaks": [], "is_working": true }, { "day_name": "thursday", "start_time": "09:00", "end_time": "18:00", "breaks": [], "is_working": true }, { "day_name": "friday", "start_time": "09:00", "end_time": "18:00", "breaks": [], "is_working": true }, { "day_name": "saturday", "start_time": "09:00", "end_time": "18:00", "breaks": [], "is_working": true } ] }, "weeks": [ { "day_of_week": "sunday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "day_of_week": "monday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "day_of_week": "tuesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "day_of_week": "wednesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "day_of_week": "thursday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "day_of_week": "friday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "day_of_week": "saturday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } } ] }

Response Example

{ "code": 0, "message": "WorkCalendar created successfully", "data": { "workcalendar_id": "3863095000000067001", "workcalendar_version_id": "3863095000000067002", "workcalendar_name": "Company Work Center Timing", "source": "work_center", "type": "standard", "breaks_count": [], "workweekdays": { "week1": [ { "day_name": "sunday", "day_id": "3863095000000067004", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "monday", "day_id": "3863095000000067005", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "tuesday", "day_id": "3863095000000067006", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "wednesday", "day_id": "3863095000000067007", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "thursday", "day_id": "3863095000000067008", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "friday", "day_id": "3863095000000067009", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "saturday", "day_id": "3863095000000067010", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] } ] }, "weeks": [ { "workcalendar_session_id": "3863095000000067011", "day_of_week": "sunday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000067012", "day_of_week": "monday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000067013", "day_of_week": "tuesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000067014", "day_of_week": "wednesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000067015", "day_of_week": "thursday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000067016", "day_of_week": "friday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000067017", "day_of_week": "saturday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } } ] } }

List work center timings AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

List all work center timings.
OAuth Scope : ERP.manufacturing.READ

Query Parameters

organization_id
string
(Required)
ID of the organization.
sort_column
string
Specify the column field for sorting results. Allowed Values: workcalendar_name.
sort_order
string
Sort order for results. Allowed Values: A (ascending) and D (descending).
search_text
string
Search across work center timing name.
page
integer
Page number for pagination. Default is 1.
per_page
integer
Number of records to be fetched per page. Default value is 200.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.in") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/erp/v1/workcentertimings?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.in", "port": null, "path": "/erp/v1/workcentertimings?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.in/erp/v1/workcentertimings?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "work_calendars": [ { "workcalendar_id": "3863095000000067001", "workcalendar_version_id": "3863095000000067002", "workcalendar_name": "Company Work Center Timing", "source": "work_center", "type": "standard", "is_default": false, "created_time": "2026-01-19T01:06:42+0530", "last_modified_time": "2026-01-19T01:06:42+0530" }, {...}, {...} ], "page_context": { "page": 1, "per_page": 200, "has_more_page": false, "report_name": "Work Center Timings", "sort_column": "workcalendar_name", "sort_order": "A" } }

Update a work center timing AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Update an existing work center timing.
OAuth Scope : ERP.manufacturing.UPDATE

Arguments

workcalendar_name
string
Name of the work center timing. Maximum length: 100 characters.
source
string
Defines the schedule source type. Allowed Values: work_center.
type
string
Defines the week rotation type. Allowed Values: standard (same schedule every week) and alternating (alternates between two weekly schedules).
workweekdays
object
Updated weekly schedule of working days, shift hours, and break intervals.
Show Sub-Attributes arrow
week1
array
Day-by-day schedule for Week 1 (or the only week for a standard schedule). Must contain exactly 7 entries, one per day of the week.
Show Sub-Attributes arrow
day_id
string
ID of an existing day entry. Required when updating days within an existing work center timing (PUT requests). Note: This value is a set of numeric characters.
day_name
string
(Required)
Name of the day of the week. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
is_working
boolean
(Required)
Indicates whether this day is a working day (true) or a non-working day (false).
start_time
string
Shift start time for this day. Required when is_working is true. Format: HH:MM.
end_time
string
Shift end time for this day. Required when is_working is true. Format: HH:MM.
breaks
array
List of break intervals for this day. Applicable only when is_working is true. Pass an empty array if no breaks are required. Maximum: 100 breaks per day.
Show Sub-Attributes arrow
break_name
string
(Required)
Name of the break interval. Maximum length: 100 characters.
start_time
string
(Required)
Start time of the break. Format: HH:MM.
end_time
string
(Required)
End time of the break. Format: HH:MM.
week2
array
Day-by-day schedule for Week 2. Required only when type is alternating. Must contain exactly 7 entries, one per day of the week.
Show Sub-Attributes arrow
day_id
string
ID of an existing day entry. Required when updating days within an existing work center timing (PUT requests). Note: This value is a set of numeric characters.
day_name
string
(Required)
Name of the day of the week. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
is_working
boolean
(Required)
Indicates whether this day is a working day (true) or a non-working day (false).
start_time
string
Shift start time for this day. Required when is_working is true. Format: HH:MM.
end_time
string
Shift end time for this day. Required when is_working is true. Format: HH:MM.
breaks
array
List of break intervals for this day. Applicable only when is_working is true. Pass an empty array if no breaks are required. Maximum: 100 breaks per day.
Show Sub-Attributes arrow
break_name
string
(Required)
Name of the break interval. Maximum length: 100 characters.
start_time
string
(Required)
Start time of the break. Format: HH:MM.
end_time
string
(Required)
End time of the break. Format: HH:MM.
weeks
array
Updated session-based week pattern schedule. Provide exactly 7 entries, one for each day of the week.
Show Sub-Attributes arrow
workcalendar_session_id
string
ID of an existing session entry. Required when updating sessions within an existing work center timing (PUT requests). Note: This value is a set of numeric characters.
day_of_week
string
(Required)
Day of the week this session entry applies to. Allowed Values: sunday, monday, tuesday, wednesday, thursday, friday, and saturday.
working_weeks
object
(Required)
Attendance type assignment across a five-week cycle for a given day of the week.
Show Sub-Attributes arrow
week1
string
Attendance type for Week 1. Allowed Values: fullday, halfday, and leave.
week2
string
Attendance type for Week 2. Allowed Values: fullday, halfday, and leave.
week3
string
Attendance type for Week 3. Allowed Values: fullday, halfday, and leave.
week4
string
Attendance type for Week 4. Allowed Values: fullday, halfday, and leave.
week5
string
Attendance type for Week 5. Allowed Values: fullday, halfday, and leave.

Path Parameters

workcalendar_id
string
(Required)
ID of the work center timing. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695") .put(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.in") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PUT", "/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "www.zohoapis.in", "port": null, "path": "/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
curl --request PUT \ --url 'https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "workcalendar_name": "Work Calendar", "source": "work_center", "type": "standard", "workweekdays": { "week1": [ { "day_name": "sunday", "day_id": "3863095000000040004", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "monday", "day_id": "3863095000000040005", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "tuesday", "day_id": "3863095000000040006", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "wednesday", "day_id": "3863095000000040007", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "thursday", "day_id": "3863095000000040008", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "friday", "day_id": "3863095000000040009", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "saturday", "day_id": "3863095000000040010", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] } ] }, "weeks": [ { "day_of_week": "sunday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" }, "workcalendar_session_id": "3863095000000040011" }, { "day_of_week": "monday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" }, "workcalendar_session_id": "3863095000000040012" }, { "day_of_week": "tuesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" }, "workcalendar_session_id": "3863095000000040013" }, { "day_of_week": "wednesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" }, "workcalendar_session_id": "3863095000000040014" }, { "day_of_week": "thursday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" }, "workcalendar_session_id": "3863095000000040015" }, { "day_of_week": "friday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" }, "workcalendar_session_id": "3863095000000040016" }, { "day_of_week": "saturday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" }, "workcalendar_session_id": "3863095000000040017" } ] }

Response Example

{ "code": 0, "message": "WorkCalendar updated successfully", "data": { "workcalendar_id": "3863095000000040001", "workcalendar_version_id": "3863095000000040002", "workcalendar_name": "Work Calendar", "source": "work_center", "type": "standard", "breaks_count": [], "workweekdays": { "week1": [ { "day_name": "sunday", "day_id": "3863095000000040004", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "monday", "day_id": "3863095000000040005", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "tuesday", "day_id": "3863095000000040006", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "wednesday", "day_id": "3863095000000040007", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "thursday", "day_id": "3863095000000040008", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "friday", "day_id": "3863095000000040009", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] }, { "day_name": "saturday", "day_id": "3863095000000040010", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [] } ] }, "weeks": [ { "workcalendar_session_id": "3863095000000040011", "day_of_week": "sunday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000040012", "day_of_week": "monday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000040013", "day_of_week": "tuesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000040014", "day_of_week": "wednesday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000040015", "day_of_week": "thursday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000040016", "day_of_week": "friday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } }, { "workcalendar_session_id": "3863095000000040017", "day_of_week": "saturday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } } ] } }

Get a work center timing AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Get the details of a work center timing.
OAuth Scope : ERP.manufacturing.READ

Path Parameters

workcalendar_id
string
(Required)
ID of the work center timing. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.in") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.in", "port": null, "path": "/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "data": { "workcalendar_id": "3863095000000067001", "workcalendar_version_id": "3863095000000067002", "workcalendar_name": "Company Work Center Timing", "source": "work_center", "type": "standard", "breaks_count": [ {...} ], "workweekdays": { "week1": [ { "day_id": "3863095000000067005", "day_name": "monday", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [ { "break_id": "3863095000000067051", "break_name": "Lunch Break", "start_time": "13:00", "end_time": "14:00" } ] } ], "week2": [ { "day_id": "3863095000000067005", "day_name": "monday", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [ { "break_id": "3863095000000067051", "break_name": "Lunch Break", "start_time": "13:00", "end_time": "14:00" } ] } ] }, "weeks": [ { "workcalendar_session_id": "3863095000000067012", "day_of_week": "monday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } } ] } }

Delete a work center timing AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Delete an existing work center timing. Work center timings assigned to a work center cannot be deleted.
OAuth Scope : ERP.manufacturing.DELETE

Path Parameters

workcalendar_id
string
(Required)
ID of the work center timing. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695") .delete(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'DELETE', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.in") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("DELETE", "/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "www.zohoapis.in", "port": null, "path": "/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request DELETE \ --url 'https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "The work center timing has been deleted." }

Get a work center timing version AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Get the details of a specific version of a work center timing.
OAuth Scope : ERP.manufacturing.READ

Path Parameters

workcalendar_id
string
(Required)
ID of the work center timing. Note: This value is a set of numeric characters.
workcalendar_version_id
string
(Required)
ID of the specific version of the work center timing. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001/version/3863095000000067002?organization_id=10234695" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001/version/3863095000000067002?organization_id=10234695") .get() .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'GET', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001/version/3863095000000067002?organization_id=10234695', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("www.zohoapis.in") headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("GET", "/erp/v1/workcentertimings/3863095000000067001/version/3863095000000067002?organization_id=10234695", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "www.zohoapis.in", "port": null, "path": "/erp/v1/workcentertimings/3863095000000067001/version/3863095000000067002?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
curl --request GET \ --url 'https://www.zohoapis.in/erp/v1/workcentertimings/3863095000000067001/version/3863095000000067002?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "data": { "workcalendar_id": "3863095000000067001", "workcalendar_version_id": "3863095000000067002", "workcalendar_name": "Company Work Center Timing", "source": "work_center", "type": "standard", "breaks_count": [ {...} ], "workweekdays": { "week1": [ { "day_id": "3863095000000067005", "day_name": "monday", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [ { "break_id": "3863095000000067051", "break_name": "Lunch Break", "start_time": "13:00", "end_time": "14:00" } ] } ], "week2": [ { "day_id": "3863095000000067005", "day_name": "monday", "is_working": true, "start_time": "09:00", "end_time": "18:00", "breaks": [ { "break_id": "3863095000000067051", "break_name": "Lunch Break", "start_time": "13:00", "end_time": "14:00" } ] } ] }, "weeks": [ { "workcalendar_session_id": "3863095000000067012", "day_of_week": "monday", "working_weeks": { "week1": "fullday", "week2": "fullday", "week3": "fullday", "week4": "fullday", "week5": "fullday" } } ] } }