Quality Template

Quality Template 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 quality template is a checklist that tells how to inspect items, so every item is checked the same way. It’s available in the Advanced mode of Quality module. Each template sets how many items to check, how many can fail, and what the inspector should look for. A qualitative template covers visual and physical checks, like scratches or dents, and records only how many items passed and failed. A quantitative template also records measurements, such as weight or voltage. Associate a template to a quality rule to make the inspection mandatory. Once it’s associated, you can’t edit the template.

Download Quality Template OpenAPI Document

Attribute

qualitytemplate_id
string
ID of the quality template. Note: This value is a set of numeric characters.
qualitytemplate_number
string
Number of the quality template. Auto-generated when auto-numbering is enabled. Must be unique in the organization. Required when auto-numbering is disabled. Maximum length: 50 characters.
qualitytemplate_name
string
Name of the quality template. Must be unique in the organization. Maximum length: 200 characters.
status
string
Status of the quality template. Allowed Values: active and inactive.
status_formatted
string
Display label of the status.
description
string
Description of the quality template. Maximum length: 2000 characters.
type
string
Type of inspection. Use qualitative when the inspector records only the passed and failed quantities, and quantitative when the inspector records a value for each parameter. Allowed Values: qualitative and quantitative.
type_formatted
string
Display label of the inspection type.
sampling_rate
integer
Number of units to inspect, interpreted according to sampling_type. When sampling_type is absolute, the value must be between 1 and 1000000. When sampling_type is percentage, the value must be between 1 and 100.
sampling_rate_formatted
string
Sampling rate with its unit, for example 10% or 10 Quantity.
sampling_type
string
How sampling_rate is interpreted. Allowed Values: percentage and absolute. Default value is percentage.
allowable_failures
integer
Number of failed samples allowed before the inspection fails, interpreted according to allowable_failure_type. When allowable_failure_type is absolute, the value must be between 0 and 1000000. When allowable_failure_type is percentage, the value must be between 0 and 100. It cannot be greater than the number of units selected for inspection.
allowable_failures_formatted
string
Allowable failures with their unit, for example 2% or 2 Quantity.
allowable_failure_type
string
How allowable_failures is interpreted. Allowed Values: percentage and absolute. Default value is percentage.
has_rules
boolean
Indicates whether the template is associated with at least one quality rule. When true, the template cannot be edited or deleted.
qualityinspector_id
string
ID of the default quality inspector assigned to inspections created from this template. Note: This value is a set of numeric characters.
qualityinspector_name
string
Name of the default quality inspector.
parameters
array
Parameters the inspector records for each sample. Applicable only to quantitative templates.
Show Sub-Attributes arrow
parameter_id
string
ID of the parameter. Note: This value is a set of numeric characters.
sequence
integer
Order in which the parameter appears during inspection. Allowed range: 1 to 300.
parameter_name
string
Name of the characteristic being measured. Maximum length: 200 characters.
data_type
string
Type of value the inspector records. Allowed Values: number, decimal and boolean.
data_type_formatted
string
Display label of the data type.
unit
string
Unit of measurement for the parameter. Maximum length: 100 characters.
comparator
string
How the recorded value is verified against the standard value. The standard values are set on the quality rule. A boolean parameter supports only equals. Allowed Values: equals, not_equals, greater_than, less_than, greater_than_or_equals, less_than_or_equals, between and not_between.
comparator_formatted
string
Display label of the comparator.
documents
array
Files attached to the quality template.
comments
array
Comments and audit trail of the quality template.
Show Sub-Attributes arrow
description
string
Content of the comment.

Example

{ "qualitytemplate_id": "3863095000000070001", "qualitytemplate_number": "QT-00001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "status": "active", "status_formatted": "Active", "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "type": "quantitative", "type_formatted": "Quantitative", "sampling_rate": 10, "sampling_rate_formatted": "10%", "sampling_type": "percentage", "allowable_failures": 2, "allowable_failures_formatted": "2 Quantity", "allowable_failure_type": "absolute", "has_rules": false, "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "parameters": [ { "parameter_id": "3863095000000070011", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "data_type_formatted": "Decimal", "unit": "V", "comparator": "between", "comparator_formatted": "Between" } ], "documents": [ {} ], "comments": [ { "comment_id": "3863095000000070101", "description": "Quality Template created", "commented_by_id": "3863095000000032003", "commented_by": "John Smith", "comment_type": "system", "date": "2026-10-08", "date_description": "few seconds ago", "time": "10:13 AM", "operation_type": "Added" } ] }

Create a quality template 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 quality template.
OAuth Scope : ERP.quality_control.CREATE

Arguments

qualitytemplate_name
string
(Required)
Name of the quality template. Must be unique in the organization. Maximum length: 200 characters.
qualitytemplate_number
string
Number of the quality template. Auto-generated when auto-numbering is enabled. Must be unique in the organization. Required when auto-numbering is disabled. Maximum length: 50 characters.
description
string
Description of the quality template. Maximum length: 2000 characters.
type
string
(Required)
Type of the template. Must be quantitative.
sampling_rate
integer
(Required)
Number of units to inspect, interpreted according to sampling_type. When sampling_type is absolute, the value must be between 1 and 1000000. When sampling_type is percentage, the value must be between 1 and 100.
sampling_type
string
How sampling_rate is interpreted. Allowed Values: percentage and absolute. Default value is percentage.
allowable_failures
integer
Number of failed samples allowed before the inspection fails, interpreted according to allowable_failure_type. When allowable_failure_type is absolute, the value must be between 0 and 1000000. When allowable_failure_type is percentage, the value must be between 0 and 100. It cannot be greater than the number of units selected for inspection.
allowable_failure_type
string
How allowable_failures is interpreted. Allowed Values: percentage and absolute. Default value is percentage.
qualityinspector_id
string
ID of the default quality inspector assigned to inspections created from this template. Note: This value is a set of numeric characters.
parameters
array
(Required)
Parameters the inspector records for each sample. At least one is required. Maximum 100 parameters.
Show Sub-Attributes arrow
sequence
integer
(Required)
Order in which the parameter appears during inspection. Allowed range: 1 to 300.
parameter_name
string
(Required)
Name of the characteristic being measured. Maximum length: 200 characters.
data_type
string
(Required)
Type of value the inspector records. Allowed Values: number, decimal and boolean.
unit
string
Unit of measurement for the parameter. Maximum length: 100 characters.
comparator
string
How the recorded value is verified against the standard value. The standard values are set on the quality rule. A boolean parameter supports only equals. Allowed Values: equals, not_equals, greater_than, less_than, greater_than_or_equals, less_than_or_equals, between and not_between.

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/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?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
{ "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "type": "quantitative", "sampling_rate": 10, "sampling_type": "percentage", "allowable_failures": 2, "allowable_failure_type": "absolute", "qualityinspector_id": "3863095000000032003", "parameters": [ { "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "unit": "V", "comparator": "between" }, { "sequence": 2, "parameter_name": "Internal Resistance", "data_type": "decimal", "unit": "mΩ", "comparator": "less_than_or_equals" }, { "sequence": 3, "parameter_name": "Casing Free of Dents or Leakage", "data_type": "boolean", "comparator": "equals" } ] }
{ "qualitytemplate_name": "Battery Pack Packaging Check", "description": "Visual check of carton, labels, and safety markings on finished battery packs.", "type": "qualitative", "sampling_rate": 5, "sampling_type": "absolute", "allowable_failures": 0, "allowable_failure_type": "absolute", "qualityinspector_id": "3863095000000032003" }

Response Example

{ "code": 0, "message": "Quality template created", "qualitytemplate": { "qualitytemplate_id": "3863095000000070001", "qualitytemplate_number": "QT-00001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "status": "active", "status_formatted": "Active", "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "type": "quantitative", "sampling_rate": 10, "sampling_rate_formatted": "10%", "sampling_type": "percentage", "allowable_failures": 2, "allowable_failures_formatted": "2 Quantity", "allowable_failure_type": "absolute", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "parameters": [ { "parameter_id": "3863095000000070011", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "unit": "V", "comparator": "between" } ], "documents": [ {...} ] } }

List quality templates 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 quality templates.
OAuth Scope : ERP.quality_control.READ

Query Parameters

organization_id
string
(Required)
ID of the organization.
filter_by
string
Filter templates by status group. Allowed Values: Status.All, Status.Active and Status.Inactive.
status
string
Filter templates by status. Allowed Values: active and inactive.
type
string
Filter templates by inspection type. Allowed Values: qualitative and quantitative.
search_text
string
Search by template number, template name, or description.
qualitytemplate_name
string
Filter templates by name using various matching operators. Available variants include qualitytemplate_name_startswith, qualitytemplate_name_contains, qualitytemplate_name_in and qualitytemplate_name_not_in.
qualitytemplate_number
string
Filter templates by number using various matching operators. Available variants include qualitytemplate_number_startswith, qualitytemplate_number_contains, qualitytemplate_number_in and qualitytemplate_number_not_in.
description_contains
string
Filter templates whose description contains the given text.
qualityinspector_id
string
Filter templates by the default quality inspector. Note: This value is a set of numeric characters.
sort_column
string
Column used to sort the results. Allowed Values: qualitytemplate_name, qualitytemplate_number, status, type, created_time and last_modified_time.
sort_order
string
Sort order for results. Allowed Values: A (ascending) and D (descending).
page
integer
Page number for pagination. Default value 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/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?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/v3/qualitytemplates?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "qualitytemplates": [ { "qualitytemplate_id": "3863095000000070001", "qualitytemplate_number": "QT-00001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "status": "active", "status_formatted": "Active", "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "type": "quantitative", "type_formatted": "Quantitative", "sampling_rate": 10, "sampling_type": "percentage", "allowable_failures": 2, "allowable_failure_type": "absolute", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "associated_rules": 1, "associated_rules_formatted": "1 Rule", "parameters": 3, "created_time": "2026-10-08T10:13:45+0530", "last_modified_time": "2026-10-08T10:13:45+0530" }, {...}, {...} ], "page_context": { "page": 1, "per_page": 200, "has_more_page": false, "report_name": "Quality Templates", "applied_filter": "Status.All", "sort_column": "created_time", "sort_order": "D" } }

Update a quality template 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 quality template.
OAuth Scope : ERP.quality_control.UPDATE

Arguments

qualitytemplate_name
string
(Required)
Name of the quality template. Must be unique in the organization. Maximum length: 200 characters.
qualitytemplate_number
string
Number of the quality template. Auto-generated when auto-numbering is enabled. Must be unique in the organization. Required when auto-numbering is disabled. Maximum length: 50 characters.
description
string
Description of the quality template. Maximum length: 2000 characters.
type
string
(Required)
Type of inspection. Use qualitative when the inspector records only the passed and failed quantities, and quantitative when the inspector records a value for each parameter. Allowed Values: qualitative and quantitative.
sampling_rate
integer
(Required)
Number of units to inspect, interpreted according to sampling_type. When sampling_type is absolute, the value must be between 1 and 1000000. When sampling_type is percentage, the value must be between 1 and 100.
sampling_type
string
How sampling_rate is interpreted. Allowed Values: percentage and absolute. Default value is percentage.
allowable_failures
integer
Number of failed samples allowed before the inspection fails, interpreted according to allowable_failure_type. When allowable_failure_type is absolute, the value must be between 0 and 1000000. When allowable_failure_type is percentage, the value must be between 0 and 100. It cannot be greater than the number of units selected for inspection.
allowable_failure_type
string
How allowable_failures is interpreted. Allowed Values: percentage and absolute. Default value is percentage.
qualityinspector_id
string
ID of the default quality inspector assigned to inspections created from this template. Note: This value is a set of numeric characters.
parameters
array
Parameters the inspector records for each sample. Required for quantitative templates. Not applicable for qualitative templates. Include parameter_id to modify an existing parameter. Parameters omitted from the array are removed. Maximum 100 parameters.
Show Sub-Attributes arrow
parameter_id
string
ID of the existing parameter to modify. Omit it to add a new parameter. Parameters omitted from the request are removed. Note: This value is a set of numeric characters.
sequence
integer
(Required)
Order in which the parameter appears during inspection. Allowed range: 1 to 300.
parameter_name
string
(Required)
Name of the characteristic being measured. Maximum length: 200 characters.
data_type
string
(Required)
Type of value the inspector records. Allowed Values: number, decimal and boolean.
unit
string
Unit of measurement for the parameter. Maximum length: 100 characters.
comparator
string
How the recorded value is verified against the standard value. The standard values are set on the quality rule. A boolean parameter supports only equals. Allowed Values: equals, not_equals, greater_than, less_than, greater_than_or_equals, less_than_or_equals, between and not_between.

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. 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/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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
{ "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "type": "quantitative", "sampling_rate": 15, "sampling_type": "percentage", "allowable_failures": 2, "allowable_failure_type": "absolute", "qualityinspector_id": "3863095000000032003", "parameters": [ { "parameter_id": "3863095000000070011", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "unit": "V", "comparator": "between" }, { "sequence": 2, "parameter_name": "Cell Weight", "data_type": "decimal", "unit": "g", "comparator": "less_than_or_equals" } ] }
{ "qualitytemplate_name": "Battery Pack Packaging Check", "description": "Visual check of carton, labels, and safety markings on finished battery packs.", "type": "qualitative", "sampling_rate": 10, "sampling_type": "absolute", "allowable_failures": 0, "allowable_failure_type": "absolute" }

Response Example

{ "code": 0, "message": "Quality template edited", "qualitytemplate": { "qualitytemplate_id": "3863095000000070001", "qualitytemplate_number": "QT-00001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "status": "active", "status_formatted": "Active", "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "type": "quantitative", "sampling_rate": 10, "sampling_rate_formatted": "10%", "sampling_type": "percentage", "allowable_failures": 2, "allowable_failures_formatted": "2 Quantity", "allowable_failure_type": "absolute", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "parameters": [ { "parameter_id": "3863095000000070011", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "unit": "V", "comparator": "between" } ], "documents": [ {...} ] } }

Get a quality template 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 quality template, including its parameters, documents, and comments.
OAuth Scope : ERP.quality_control.READ

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. 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/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "qualitytemplate": { "qualitytemplate_id": "3863095000000070001", "qualitytemplate_number": "QT-00001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "status": "active", "status_formatted": "Active", "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "type": "quantitative", "type_formatted": "Quantitative", "sampling_rate": 10, "sampling_rate_formatted": "10%", "sampling_type": "percentage", "allowable_failures": 2, "allowable_failures_formatted": "2 Quantity", "allowable_failure_type": "absolute", "has_rules": false, "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "parameters": [ { "parameter_id": "3863095000000070011", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "data_type_formatted": "Decimal", "unit": "V", "comparator": "between", "comparator_formatted": "Between" } ], "documents": [ {...} ], "comments": [ { "comment_id": "3863095000000070101", "description": "Quality Template created", "commented_by_id": "3863095000000032003", "commented_by": "John Smith", "comment_type": "system", "date": "2026-10-08", "date_description": "few seconds ago", "time": "10:13 AM", "operation_type": "Added" } ] } }

Delete a quality template 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 quality template.
OAuth Scope : ERP.quality_control.DELETE

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. 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/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?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/v3/qualitytemplates/3863095000000070001?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Quality template deleted" }

Mark a quality template 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 an inactive quality template as active so that it can be associated with quality rules.
OAuth Scope : ERP.quality_control.UPDATE

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. 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/qualitytemplates/3863095000000070001/status/active?organization_id=10234695" 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/qualitytemplates/3863095000000070001/status/active?organization_id=10234695") .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/qualitytemplates/3863095000000070001/status/active?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("PUT", "/erp/v3/qualitytemplates/3863095000000070001/status/active?organization_id=10234695", 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/qualitytemplates/3863095000000070001/status/active?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 PUT \ --url 'https://www.zohoapis.in/erp/v3/qualitytemplates/3863095000000070001/status/active?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Quality template marked as Active" }

Mark a quality template 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 an active quality template as inactive. A template associated with an active quality rule cannot be marked as inactive.
OAuth Scope : ERP.quality_control.UPDATE

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. 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/qualitytemplates/3863095000000070001/status/inactive?organization_id=10234695" 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/qualitytemplates/3863095000000070001/status/inactive?organization_id=10234695") .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/qualitytemplates/3863095000000070001/status/inactive?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("PUT", "/erp/v3/qualitytemplates/3863095000000070001/status/inactive?organization_id=10234695", 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/qualitytemplates/3863095000000070001/status/inactive?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 PUT \ --url 'https://www.zohoapis.in/erp/v3/qualitytemplates/3863095000000070001/status/inactive?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Quality template marked as Inactive" }

Assign an inspector 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

Assign a default quality inspector to a quality template.
OAuth Scope : ERP.quality_control.UPDATE

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.
qualityinspector_id
string
ID of the quality inspector to assign. Note: This value is a set of numeric characters.

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/qualitytemplates/3863095000000070001/assigninspector?organization_id=10234695" 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/qualitytemplates/3863095000000070001/assigninspector?organization_id=10234695") .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/qualitytemplates/3863095000000070001/assigninspector?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("PUT", "/erp/v3/qualitytemplates/3863095000000070001/assigninspector?organization_id=10234695", 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/qualitytemplates/3863095000000070001/assigninspector?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 PUT \ --url 'https://www.zohoapis.in/erp/v3/qualitytemplates/3863095000000070001/assigninspector?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Tester updated successfully.", "qualitytemplate": { "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith" } }

Add a comment 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

Add a comment to a quality template.
OAuth Scope : ERP.quality_control.CREATE

Arguments

description
string
(Required)
Content of the comment.

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. 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/qualitytemplates/3863095000000070001/comments?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/v3/qualitytemplates/3863095000000070001/comments?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/v3/qualitytemplates/3863095000000070001/comments?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/v3/qualitytemplates/3863095000000070001/comments?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/v3/qualitytemplates/3863095000000070001/comments?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/v3/qualitytemplates/3863095000000070001/comments?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
{ "description": "Sampling rate revised after supplier audit." }

Response Example

{ "code": 0, "message": "Comment added", "comment": { "comment_id": "3863095000000070101", "description": "Quality Template created", "commented_by_id": "3863095000000032003", "commented_by": "John Smith", "comment_type": "system", "date": "2026-10-08", "date_description": "few seconds ago", "time": "10:13 AM", "operation_type": "Added" } }

Delete a comment 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 a comment from a quality template.
OAuth Scope : ERP.quality_control.DELETE

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. Note: This value is a set of numeric characters.
comment_id
string
(Required)
ID of the comment. 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/qualitytemplates/3863095000000070001/comments/3863095000000070101?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/v3/qualitytemplates/3863095000000070001/comments/3863095000000070101?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/v3/qualitytemplates/3863095000000070001/comments/3863095000000070101?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/v3/qualitytemplates/3863095000000070001/comments/3863095000000070101?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/v3/qualitytemplates/3863095000000070001/comments/3863095000000070101?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/v3/qualitytemplates/3863095000000070001/comments/3863095000000070101?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Comment deleted" }

Add an attachment 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

Attach up to 5 files to a quality template. Maximum file size is 10 MB. Allowed Extensions: png, jpeg, jpg, bmp, pdf, xls, xlsx, doc, docx, xml, csv, txt, msg, eml and dwg.
OAuth Scope : ERP.quality_control.UPDATE

Arguments

attachment
binary
File to attach. Up to 5 files are allowed.

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. 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 = Map(); parameters_data.put("field1", "value1") parameters_data.put("field2", "value2") headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://www.zohoapis.in/erp/v3/qualitytemplates/3863095000000070001/attachment?organization_id=10234695" type: POST headers: headers_data parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("multipart/form-data; boundary=---011000010111000001101001"); RequestBody body = RequestBody.create(mediaType, "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); Request request = new Request.Builder() .url("https://www.zohoapis.in/erp/v3/qualitytemplates/3863095000000070001/attachment?organization_id=10234695") .post(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "multipart/form-data; boundary=---011000010111000001101001") .build(); Response response = client.newCall(request).execute();
const form = new FormData(); form.append("field1", "value1"); form.append("field2", "value2"); const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'multipart/form-data; boundary=---011000010111000001101001' } }; options.body = form; fetch('https://www.zohoapis.in/erp/v3/qualitytemplates/3863095000000070001/attachment?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 = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "multipart/form-data; boundary=---011000010111000001101001" } conn.request("POST", "/erp/v3/qualitytemplates/3863095000000070001/attachment?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/v3/qualitytemplates/3863095000000070001/attachment?organization_id=10234695", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "multipart/form-data; boundary=---011000010111000001101001" } }; 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("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field1\"\r\n\r\nvalue1\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"field2\"\r\n\r\nvalue2\r\n-----011000010111000001101001--\r\n"); req.end();
curl --request POST \ --url 'https://www.zohoapis.in/erp/v3/qualitytemplates/3863095000000070001/attachment?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: multipart/form-data' \ --form field1=value1 \ --form field2=value2

Body Parameters

Click to copy
{ "attachment": "string" }

Response Example

{ "code": 0, "message": "Attachment added successfully", "documents": [ { "document_id": "3863095000000077201", "file_name": "inspection-report.pdf", "file_type": "pdf", "file_size": 204800, "file_size_formatted": "200 KB" }, {...}, {...} ] }

Get an attachment 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 a file attached to a quality template.
OAuth Scope : ERP.quality_control.READ

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. Note: This value is a set of numeric characters.
document_id
string
(Required)
ID of the document. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.
image_size
string
Size of the image to return for image attachments. Allowed Values: xlarge, large, small and tiny.
inline
boolean
Specify true to display the file inline instead of downloading it.
print
boolean
Specify true to return the file in a print-ready format.

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/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

Delete an attachment 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 a file attached to a quality template.
OAuth Scope : ERP.quality_control.DELETE

Path Parameters

qualitytemplate_id
string
(Required)
ID of the quality template. Note: This value is a set of numeric characters.
document_id
string
(Required)
ID of the document. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.
un_associate
boolean
Specify true to remove the file from this template without deleting it from the document store.

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/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?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/v3/qualitytemplates/3863095000000070001/documents/3863095000000070201?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Quality template attachment deleted" }