Work Centers

Work Centers 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

A work center represents a physical location where a specific manufacturing operation is performed. Each work center is linked to a work center type, which determines the cost template used during production. It lets you specify the setup time, cleanup time, and capacity for components at the work center.

Download Work Centers OpenAPI Document

Attribute

workcenter_id
string
ID of the Work Center. Note: This value is a set of numeric characters.
workcenter_name
string
Name of the work center. Maximum length: 200 characters.
workcenter_type_id
string
ID of the work center type this work center belongs to. Note: This value is a set of numeric characters.
workcenter_type_name
string
Name of the work center type.
cost_template_id
string
ID of the cost template applied to this work center. Note: This value is a set of numeric characters.
cost_template_name
string
Name of the cost template applied to this work center.
workcalendar_id
string
ID of the work calendar assigned to this work center. Note: This value is a set of numeric characters.
workcalendar_name
string
Name of the work calendar assigned to this work center.
status
string
Status of the work center. Allowed Values: active and inactive.
capacity
integer
Number of units this work center can process simultaneously. Must be a positive integer.
setup_time
string
Time required to set up the work center before production begins. Format: MM:SS.
cleanup_time
string
Time required to clean up the work center after production ends. Format: MM:SS.
product_details
array
List of product-specific configuration overrides for this work center.
Show Sub-Attributes arrow
workcenter_product_id
string
ID of the work center-product mapping. Note: This value is a set of numeric characters.
item_id
string
ID of the product item associated with this work center. Note: This value is a set of numeric characters.
name
string
Name of the product item.
setup_time
string
Product-specific setup time override for this work center. Format: MM:SS.
cleanup_time
string
Product-specific cleanup time override for this work center. Format: MM:SS.
capacity
double
Product-specific capacity override for this work center. Must be greater than 0.

Example

{ "workcenter_id": "3863095000000039063", "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "workcenter_type_name": "Assembly WCT", "cost_template_id": "3863095000000038083", "cost_template_name": "Assembly CT", "workcalendar_id": "3863095000000040001", "workcalendar_name": "Work Calendar", "status": "active", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "workcenter_product_id": "3863095000000058360", "item_id": "3863095000000046004", "name": "Pencil", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] }

Create a work center 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.
OAuth Scope : ERP.manufacturing.CREATE

Arguments

workcenter_name
string
(Required)
Name of the work center. Maximum length: 200 characters.
workcenter_type_id
string
(Required)
ID of the work center type this work center belongs to. Note: This value is a set of numeric characters.
cost_template_id
string
(Required)
ID of the cost template applied to this work center. Note: This value is a set of numeric characters.
workcalendar_id
string
(Required)
ID of the work calendar assigned to this work center. Note: This value is a set of numeric characters.
capacity
integer
(Required)
Number of units this work center can process simultaneously. Must be a positive integer.
setup_time
string
Time required to set up the work center before production begins. Format: MM:SS.
cleanup_time
string
Time required to clean up the work center after production ends. Format: MM:SS.
product_details
array
List of product-specific configuration overrides for this work center.
Show Sub-Attributes arrow
item_id
string
(Required)
ID of the product item associated with this work center. Note: This value is a set of numeric characters.
setup_time
string
Product-specific setup time override for this work center. Format: MM:SS.
cleanup_time
string
Product-specific cleanup time override for this work center. Format: MM:SS.
capacity
double
(Required)
Product-specific capacity override for this work center. Must be greater than 0.

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/v3/workcenters?organization_id=60071204492" 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/v3/workcenters?organization_id=60071204492") .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/v3/workcenters?organization_id=60071204492', 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/v3/workcenters?organization_id=60071204492", 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/v3/workcenters?organization_id=60071204492", "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/v3/workcenters?organization_id=60071204492' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "cost_template_id": "3863095000000038083", "workcalendar_id": "3863095000000040001", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "item_id": "3863095000000046004", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] }

Response Example

{ "code": 0, "message": "Work center created", "workcenter": { "workcenter_id": "3863095000000039063", "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "workcenter_type_name": "Assembly WCT", "cost_template_id": "3863095000000038083", "cost_template_name": "Assembly CT", "workcalendar_id": "3863095000000040001", "workcalendar_name": "Work Calendar", "status": "active", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "workcenter_product_id": "3863095000000058360", "item_id": "3863095000000046004", "name": "Pencil", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] } }

List work centers 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 centers.
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: workcenter_name and capacity.
sort_order
string
Sort order for results. Allowed Values: A (ascending) and D (descending).
filter_by
string
Filter work centers by status. Allowed Values: Status.All, Status.Active and Status.Inactive.
search_text
string
Search across work center name.
customview_id
string
Filter work centers using a saved custom view identifier.
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/v3/workcenters?organization_id=60071204492" 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/v3/workcenters?organization_id=60071204492") .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/v3/workcenters?organization_id=60071204492', 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/v3/workcenters?organization_id=60071204492", 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/v3/workcenters?organization_id=60071204492", "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/v3/workcenters?organization_id=60071204492' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "workcenters": [ { "workcenter_id": "3863095000000039063", "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "workcenter_type_name": "Assembly WCT", "status": "active", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00" }, {...}, {...} ], "page_context": { "page": 1, "per_page": 200, "has_more_page": false, "report_name": "Work Centers", "applied_filter": "Status.All", "sort_column": "workcenter_name", "sort_order": "A" } }

Update a work center 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.
OAuth Scope : ERP.manufacturing.UPDATE

Arguments

workcenter_name
string
Name of the work center. Maximum length: 200 characters.
workcenter_type_id
string
ID of the work center type this work center belongs to. Note: This value is a set of numeric characters.
cost_template_id
string
ID of the cost template applied to this work center. Note: This value is a set of numeric characters.
workcalendar_id
string
ID of the work calendar assigned to this work center. Note: This value is a set of numeric characters.
capacity
integer
Number of units this work center can process simultaneously. Must be a positive integer.
setup_time
string
Time required to set up the work center before production begins. Format: MM:SS.
cleanup_time
string
Time required to clean up the work center after production ends. Format: MM:SS.
product_details
array
List of product-specific configuration overrides for this work center.
Show Sub-Attributes arrow
item_id
string
(Required)
ID of the product item associated with this work center. Note: This value is a set of numeric characters.
setup_time
string
Product-specific setup time override for this work center. Format: MM:SS.
cleanup_time
string
Product-specific cleanup time override for this work center. Format: MM:SS.
capacity
double
(Required)
Product-specific capacity override for this work center. Must be greater than 0.

Path Parameters

workcenter_id
string
(Required)
ID of the work center. 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/v3/workcenters/3863095000000039063?organization_id=60071204492" 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/v3/workcenters/3863095000000039063?organization_id=60071204492") .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/v3/workcenters/3863095000000039063?organization_id=60071204492', 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/v3/workcenters/3863095000000039063?organization_id=60071204492", 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/v3/workcenters/3863095000000039063?organization_id=60071204492", "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/v3/workcenters/3863095000000039063?organization_id=60071204492' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "cost_template_id": "3863095000000038083", "workcalendar_id": "3863095000000040001", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "item_id": "3863095000000046004", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] }

Response Example

{ "code": 0, "message": "Work center updated", "workcenter": { "workcenter_id": "3863095000000039063", "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "workcenter_type_name": "Assembly WCT", "cost_template_id": "3863095000000038083", "cost_template_name": "Assembly CT", "workcalendar_id": "3863095000000040001", "workcalendar_name": "Work Calendar", "status": "active", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "workcenter_product_id": "3863095000000058360", "item_id": "3863095000000046004", "name": "Pencil", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] } }

Get a work center 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.
OAuth Scope : ERP.manufacturing.READ

Path Parameters

workcenter_id
string
(Required)
ID of the work center. 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/v3/workcenters/3863095000000039063?organization_id=60071204492" 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/v3/workcenters/3863095000000039063?organization_id=60071204492") .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/v3/workcenters/3863095000000039063?organization_id=60071204492', 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/v3/workcenters/3863095000000039063?organization_id=60071204492", 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/v3/workcenters/3863095000000039063?organization_id=60071204492", "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/v3/workcenters/3863095000000039063?organization_id=60071204492' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "workcenter": { "workcenter_id": "3863095000000039063", "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "workcenter_type_name": "Assembly WCT", "cost_template_id": "3863095000000038083", "cost_template_name": "Assembly CT", "workcalendar_id": "3863095000000040001", "workcalendar_name": "Work Calendar", "status": "active", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "workcenter_product_id": "3863095000000058360", "item_id": "3863095000000046004", "name": "Pencil", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] } }

Delete a work center 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.
OAuth Scope : ERP.manufacturing.DELETE

Path Parameters

workcenter_id
string
(Required)
ID of the work center. 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/v3/workcenters/3863095000000039063?organization_id=60071204492" 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/v3/workcenters/3863095000000039063?organization_id=60071204492") .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/v3/workcenters/3863095000000039063?organization_id=60071204492', 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/v3/workcenters/3863095000000039063?organization_id=60071204492", 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/v3/workcenters/3863095000000039063?organization_id=60071204492", "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/v3/workcenters/3863095000000039063?organization_id=60071204492' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

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

Mark a work center as active 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

Mark a work center as active.
OAuth Scope : ERP.manufacturing.UPDATE

Path Parameters

workcenter_id
string
(Required)
ID of the work center. 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/v3/workcenters/3863095000000039063/active?organization_id=60071204492" type: PUT headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v3/workcenters/3863095000000039063/active?organization_id=60071204492") .put(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.in/erp/v3/workcenters/3863095000000039063/active?organization_id=60071204492', 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("PUT", "/erp/v3/workcenters/3863095000000039063/active?organization_id=60071204492", headers=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/v3/workcenters/3863095000000039063/active?organization_id=60071204492", "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 PUT \ --url 'https://www.zohoapis.in/erp/v3/workcenters/3863095000000039063/active?organization_id=60071204492' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Work center status updated.", "workcenter": { "workcenter_id": "3863095000000039063", "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "workcenter_type_name": "Assembly WCT", "cost_template_id": "3863095000000038083", "cost_template_name": "Assembly CT", "workcalendar_id": "3863095000000040001", "workcalendar_name": "Work Calendar", "status": "active", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "workcenter_product_id": "3863095000000058360", "item_id": "3863095000000046004", "name": "Pencil", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] } }

Mark a work center as inactive 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

Mark a work center as inactive.
OAuth Scope : ERP.manufacturing.UPDATE

Path Parameters

workcenter_id
string
(Required)
ID of the work center. 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/v3/workcenters/3863095000000039063/inactive?organization_id=60071204492" type: PUT headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v3/workcenters/3863095000000039063/inactive?organization_id=60071204492") .put(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://www.zohoapis.in/erp/v3/workcenters/3863095000000039063/inactive?organization_id=60071204492', 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("PUT", "/erp/v3/workcenters/3863095000000039063/inactive?organization_id=60071204492", headers=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/v3/workcenters/3863095000000039063/inactive?organization_id=60071204492", "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 PUT \ --url 'https://www.zohoapis.in/erp/v3/workcenters/3863095000000039063/inactive?organization_id=60071204492' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Work center status updated.", "workcenter": { "workcenter_id": "3863095000000039063", "workcenter_name": "TMC Assembly WC", "workcenter_type_id": "3863095000000039029", "workcenter_type_name": "Assembly WCT", "cost_template_id": "3863095000000038083", "cost_template_name": "Assembly CT", "workcalendar_id": "3863095000000040001", "workcalendar_name": "Work Calendar", "status": "active", "capacity": 1, "setup_time": "20:00", "cleanup_time": "20:00", "product_details": [ { "workcenter_product_id": "3863095000000058360", "item_id": "3863095000000046004", "name": "Pencil", "setup_time": "10:00", "cleanup_time": "10:00", "capacity": 1 } ] } }