Quality Inspection

Quality Inspection 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 inspection is the quality check of a transaction line, created when the transaction matches an active quality rule. Inspections apply to purchase receives, sales return receives, transfer receives, manufacturing orders and manufacturing operations. A manufacturing order cannot be completed until its inspections are resolved. In simple mode, post the passed and failed quantities on the inspection. In advanced mode, results are recorded on its inspection worklists, and the inspection is Passed or Failed only after all its worklists are resolved. A resolved inspection can be re-evaluated, and an inspection can be cancelled with a reason.

Download Quality Inspection OpenAPI Document

Attribute

qualityinspection_id
string
ID of the quality inspection. Note: This value is a set of numeric characters.
qualityinspection_number
string
Number of the quality inspection. Must be unique in the organization. Maximum length: 200 characters.
qualityrule_id
string
ID of the quality rule from which the inspection was created. Note: This value is a set of numeric characters.
qualityrule_name
string
Name of the quality rule from which the inspection was created.
item_id
string
ID of the item being inspected. Note: This value is a set of numeric characters.
item_name
string
Name of the item being inspected.
item_sku
string
SKU of the item being inspected.
item_unit
string
Unit of the item being inspected.
qualityinspector_id
string
ID of the quality inspector. Note: This value is a set of numeric characters.
qualityinspector_name
string
Name of the quality inspector.
inspection_date
string
Date the inspection was performed. Date format: yyyy-MM-dd.
inspection_date_formatted
string
Inspection date in the date format of the organization.
qcq_inspection_date
string
Date the inspection was performed, recorded at the quality inspection level. Date format: yyyy-MM-dd.
qcq_inspection_date_formatted
string
Quality inspection level date in the date format of the organization.
priority
string
Priority of the quality inspection. Allowed Values: standard, low, high and on_hold.
priority_formatted
string
Display label of the priority.
status
string
Status of the quality inspection. Allowed Values: pending, in_progress, passed, failed and cancelled.
status_formatted
string
Display label of the status.
entity_type
string
Type of the transaction the inspection was created for. Allowed Values: purchase_receive, manufacturing_order, mo_operation, salesreturn_receive and transfer_receive.
entity_type_formatted
string
Display label of the transaction type.
entity_id
string
ID of the transaction the inspection was created for. Note: This value is a set of numeric characters.
entity_item_id
string
ID of the transaction line item the inspection was created for. Note: This value is a set of numeric characters.
transaction_number
string
Number of the transaction the inspection was created for.
transaction_item_quantity
double
Quantity of the item in the transaction line.
total_inspectionworklist_count
integer
Total number of inspection worklists in the inspection.
completed_inspectionworklist_count
integer
Number of inspection worklists that are resolved.
documents
array
Files attached to the quality inspection.
inspectionworklists
array
Inspection worklists of the inspection, one for each quality template linked to the quality rule.
Show Sub-Attributes arrow
inspectionworklist_id
string
ID of the inspection worklist. Note: This value is a set of numeric characters.
inspectionworklist_number
string
Number of the inspection worklist.
status
string
Status of the worklist. Allowed Values: pending, in_progress, passed, failed and cancelled.
status_formatted
string
Display label of the worklist status.
qualityinspector_comments
string
Comments of the quality inspector. Maximum length: 2000 characters.
quantity_to_be_tested
double
Number of units to be tested, calculated from the sampling settings.
quantity_passed
double
Number of samples that passed.
quantity_failed
double
Number of samples that failed.
maximum_failure_quantity
double
Maximum number of failed samples tolerated before the worklist fails.
total_sample_quantity
double
Total number of samples in the worklist.
parameters_count
integer
Number of parameters in the worklist.
qualitytemplate_id
string
ID of the quality template the worklist was created from. Note: This value is a set of numeric characters.
qualitytemplate_name
string
Name of the quality template the worklist was created from.
qualitytemplate_documents
array
Files attached to the quality template.
description
string
Description of the quality template.
inspection_type
string
Inspection type. Allowed Values: qualitative and quantitative.
inspection_type_formatted
string
Display label of the inspection type.
sampling_rate
double
Number of units to inspect, interpreted according to sampling_type.
sampling_rate_formatted
string
Sampling rate with its unit, such as 10% or 10 Quantity.
sampling_type
string
How sampling_rate is interpreted. Allowed Values: percentage and absolute.
allowable_failures
double
Number of failed samples tolerated, interpreted according to allowable_failure_type.
allowable_failures_formatted
string
Allowable failures with their unit, such as 2% or 2 Quantity.
allowable_failure_type
string
How allowable_failures is interpreted. Allowed Values: percentage and absolute.
sequence
integer
Order in which the worklist is applied.
inspection_date
string
Date the inspection was performed. Date format: yyyy-MM-dd.
inspection_date_formatted
string
Inspection date in the date format of the organization.
template_parameters
array
Parameters of the quality template with their expected values.
reason_id
string
ID of the re-evaluation reason. Note: This value is a set of numeric characters.
reason
string
Re-evaluation reason.
is_reevaluating
boolean
Indicates whether the worklist is being re-evaluated.
reevaluate_count
integer
Number of times the worklist has been re-evaluated.
reevaluator_id
string
ID of the user who last re-evaluated the worklist. Note: This value is a set of numeric characters.
reevaluator_name
string
Name of the user who last re-evaluated the worklist.
reevaluator_photo_url
string
URL of the photo of the user who last re-evaluated the worklist.
qualityinspector_id
string
ID of the quality inspector. Note: This value is a set of numeric characters.
qualityinspector_name
string
Name of the quality inspector.
non_inventory_tracked_item
boolean
Indicates whether the item is not tracked by serial number or batch.
downstream_operation_started
boolean
Indicates whether a downstream operation has started for the transaction. Results cannot be changed after that.
worklistsamples
array
Samples of the worklist.
Show Sub-Attributes arrow
worklistsample_id
string
ID of the worklist sample. Note: This value is a set of numeric characters.
item_remarks
string
Remarks on the sample.
status
string
Result of the sample. Allowed Values: pending, in_progress, passed, failed and cancelled.
status_formatted
string
Display label of the sample result.
reason_id
string
ID of the re-evaluation reason of the sample. Note: This value is a set of numeric characters.
reason
string
Re-evaluation reason of the sample.
inventoryserial_id
string
ID of the serial number of the sample, for serial-tracked items. Note: This value is a set of numeric characters.
serial_number
string
Serial number of the sample.
inspectionqueuebatch_id
string
ID of the batch record of the worklist the sample belongs to. Note: This value is a set of numeric characters.
inventorybatch_id
string
ID of the batch of the sample, for batch-tracked items. Note: This value is a set of numeric characters.
batch_number
string
Batch number of the sample.
parameters
array
Parameters recorded for the sample.
Show Sub-Attributes arrow
worklistparameter_id
string
ID of the worklist parameter. Note: This value is a set of numeric characters.
status
string
Result of the parameter. Allowed Values: pending, in_progress, passed, failed and cancelled.
status_formatted
string
Display label of the parameter result.
recorded_value
string
Value measured by the inspector.
sequence
integer
Order in which the parameter appears during inspection.
parameter_name
string
Name of the characteristic being measured.
data_type
string
Type of value recorded. Allowed Values: number, decimal and boolean.
data_type_formatted
string
Display label of the data type.
comparator
string
How the recorded value is checked against the expected value. 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.
unit
string
Unit of measurement for the parameter.
standardvalue1
string
Expected value copied from the quality rule. For between and not_between comparators, it is the lower limit.
standardvalue2
string
Upper limit of the expected value. Applicable to between and not_between comparators.
valuelist
string
List of expected values for list-based comparators.
documents
array
Files attached to the sample.
comments
array
Comments and audit trail of the quality inspection.
Show Sub-Attributes arrow
description
string
Content of the comment.

Example

{ "qualityinspection_id": "3863095000000076301", "qualityinspection_number": "QI-00001", "qualityrule_id": "3863095000000074001", "qualityrule_name": "Battery Cell Incoming Check", "item_id": "3863095000000046004", "item_name": "Li-ion Battery Cell 18650", "item_sku": "LIB-18650", "item_unit": "pcs", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "qcq_inspection_date": "2026-10-08", "qcq_inspection_date_formatted": "08 Oct 2026", "priority": "standard", "priority_formatted": "Medium Priority", "status": "pending", "status_formatted": "Pending", "entity_type": "purchase_receive", "entity_type_formatted": "Purchase Receive", "entity_id": "3863095000000078001", "entity_item_id": "3863095000000078011", "transaction_number": "PR-00001", "transaction_item_quantity": 1000, "total_inspectionworklist_count": 1, "completed_inspectionworklist_count": 0, "documents": [ {} ], "inspectionworklists": [ { "inspectionworklist_id": "3863095000000076401", "inspectionworklist_number": "IW-00001", "status": "pending", "status_formatted": "Pending", "qualityinspector_comments": "Two cells showed voltage below the lower limit.", "quantity_to_be_tested": 100, "quantity_passed": 0, "quantity_failed": 0, "maximum_failure_quantity": 2, "total_sample_quantity": 100, "parameters_count": 3, "qualitytemplate_id": "3863095000000070001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "qualitytemplate_documents": [ {} ], "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "inspection_type": "quantitative", "inspection_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", "sequence": 1, "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "template_parameters": [ {} ], "reason_id": "", "reason": "", "is_reevaluating": false, "reevaluate_count": 0, "reevaluator_id": "", "reevaluator_name": "", "reevaluator_photo_url": "", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "non_inventory_tracked_item": true, "downstream_operation_started": false, "worklistsamples": [ { "worklistsample_id": "3863095000000076511", "item_remarks": "Minor scratch on casing.", "status": "passed", "status_formatted": "Passed", "reason_id": "", "reason": "", "inventoryserial_id": "", "serial_number": "", "inspectionqueuebatch_id": "3863095000000078201", "inventorybatch_id": "3863095000000078101", "batch_number": "BATCH-0001", "parameters": [ { "worklistparameter_id": "3863095000000076611", "status": "passed", "status_formatted": "Passed", "recorded_value": "3.65", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "data_type_formatted": "Decimal", "comparator": "between", "comparator_formatted": "Between", "unit": "V", "standardvalue1": "3.6", "standardvalue2": "3.7", "valuelist": "" } ], "documents": [ {} ] } ] } ], "comments": [ { "comment_id": "3863095000000076101", "description": "Quality Inspection 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 inspection 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 inspection for a transaction line.
OAuth Scope : ERP.quality_control.CREATE

Arguments

qualityinspection_number
string
(Required)
Number of the quality inspection. Must be unique in the organization. Maximum length: 200 characters.
qualityrule_id
string
ID of the quality rule from which the inspection was created. Note: This value is a set of numeric characters.
qualityinspector_id
string
ID of the quality inspector. Note: This value is a set of numeric characters.
priority
string
Priority of the quality inspection. Allowed Values: standard, low, high and on_hold.
status
string
(Required)
Status of the quality inspection. Allowed Values: pending, in_progress, passed, failed and cancelled.
entity_type
string
(Required)
Type of the transaction the inspection was created for. Allowed Values: purchase_receive, manufacturing_order, mo_operation, salesreturn_receive and transfer_receive.
entity_id
string
(Required)
ID of the transaction the inspection was created for. Note: This value is a set of numeric characters.
entity_item_id
string
ID of the transaction line item the inspection was created for. Note: This value is a set of numeric characters.
item_quantity
integer
(Required)
Quantity of the item to be inspected. Allowed range: 1 to 1000000.

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/qualityinspections?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/qualityinspections?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/qualityinspections?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/qualityinspections?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/qualityinspections?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/qualityinspections?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
{ "qualityinspection_number": "QI-00001", "qualityrule_id": "3863095000000074001", "qualityinspector_id": "3863095000000032003", "priority": "standard", "status": "pending", "entity_type": "purchase_receive", "entity_id": "3863095000000078001", "entity_item_id": "3863095000000078011", "item_quantity": 1000 }

Response Example

{ "code": 0, "message": "Quality inspection created", "qualityinspection": { "qualityinspection_id": "3863095000000076301", "qualityinspection_number": "QI-00001", "qualityrule_id": "3863095000000074001", "qualityrule_name": "Battery Cell Incoming Check", "item_id": "3863095000000046004", "item_name": "Li-ion Battery Cell 18650", "item_sku": "LIB-18650", "item_unit": "pcs", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "qcq_inspection_date": "2026-10-08", "qcq_inspection_date_formatted": "08 Oct 2026", "priority": "standard", "priority_formatted": "Medium Priority", "status": "pending", "status_formatted": "Pending", "entity_type": "purchase_receive", "entity_type_formatted": "Purchase Receive", "entity_id": "3863095000000078001", "entity_item_id": "3863095000000078011", "transaction_number": "PR-00001", "transaction_item_quantity": 1000, "total_inspectionworklist_count": 1, "completed_inspectionworklist_count": 0, "documents": [ {...} ], "inspectionworklists": [ { "inspectionworklist_id": "3863095000000076401", "inspectionworklist_number": "IW-00001", "status": "pending", "status_formatted": "Pending", "qualityinspector_comments": "Two cells showed voltage below the lower limit.", "quantity_to_be_tested": 100, "quantity_passed": 0, "quantity_failed": 0, "maximum_failure_quantity": 2, "total_sample_quantity": 100, "parameters_count": 3, "qualitytemplate_id": "3863095000000070001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "qualitytemplate_documents": [ {...} ], "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "inspection_type": "quantitative", "inspection_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", "sequence": 1, "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "template_parameters": [ {...} ], "reason_id": "", "reason": "", "is_reevaluating": false, "reevaluate_count": 0, "reevaluator_id": "", "reevaluator_name": "", "reevaluator_photo_url": "", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "non_inventory_tracked_item": true, "downstream_operation_started": false, "worklistsamples": [ { "worklistsample_id": "3863095000000076511", "item_remarks": "Minor scratch on casing.", "status": "passed", "status_formatted": "Passed", "reason_id": "", "reason": "", "inventoryserial_id": "", "serial_number": "", "inspectionqueuebatch_id": "3863095000000078201", "inventorybatch_id": "3863095000000078101", "batch_number": "BATCH-0001", "parameters": [ { "worklistparameter_id": "3863095000000076611", "status": "passed", "status_formatted": "Passed", "recorded_value": "3.65", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "data_type_formatted": "Decimal", "comparator": "between", "comparator_formatted": "Between", "unit": "V", "standardvalue1": "3.6", "standardvalue2": "3.7", "valuelist": "" } ], "documents": [ {...} ] } ] } ], "comments": [ { "comment_id": "3863095000000076101", "description": "Quality Inspection 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" } ] } }

List quality inspections 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 inspections. Use filters, search, and sorting to narrow the results.
OAuth Scope : ERP.quality_control.READ

Query Parameters

organization_id
string
(Required)
ID of the organization.
filter_by
string
Filter inspections by status group. Allowed Values: Status.All, Status.Draft, Status.Pending, Status.In_Progress, Status.Passed, Status.Failed and Status.Cancelled.
status
string
Filter inspections by status. Allowed Values: pending, in_progress, passed, failed and cancelled.
search_text
string
Search by inspection number, rule name, transaction number, or item name.
transaction_type
string
Filter inspections by transaction type. Allowed Values: purchase_receive, manufacturing_order, mo_operation, salesreturn_receive and transfer_receive.
priority
string
Filter inspections by priority. Allowed Values: standard, low, high and on_hold.
is_reevaluating
boolean
Specify true to list only inspections that are being re-evaluated.
qualityinspector_id
string
Filter inspections by quality inspector. Note: This value is a set of numeric characters.
qualityinspection_number
string
Filter inspections by number using various matching operators. Available variants include qualityinspection_number_startswith, qualityinspection_number_contains, qualityinspection_number_in and qualityinspection_number_not_in.
sort_column
string
Column used to sort the results. Allowed Values: qualityinspection_number, status, entity_type, item_name, 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/qualityinspections?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/qualityinspections?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/qualityinspections?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/qualityinspections?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/qualityinspections?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/qualityinspections?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "qualityinspections": [ { "qualityinspection_id": "3863095000000076301", "qualityinspection_number": "QI-00001", "qualityrule_id": "3863095000000074001", "qualityrule_name": "Battery Cell Incoming Check", "item_name": "Li-ion Battery Cell 18650", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "priority": "standard", "priority_formatted": "Medium Priority", "status": "pending", "status_formatted": "Pending", "entity_type": "purchase_receive", "entity_type_formatted": "Purchase Receive", "entity_id": "3863095000000078001", "entity_item_id": "3863095000000078011", "transaction_number": "PR-00001", "total_inspectionworklist_count": 1, "completed_inspectionworklist_count": 0, "completed_inspectionworklist_percentage": 0, "reason_id": "", "reason": "", "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 Inspections", "applied_filter": "Status.All", "sort_column": "created_time", "sort_order": "D" } }

Post the result of a quality inspection 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

Post the passed and failed quantities for a quality inspection. Use this in simple mode, where the inspection has a single worklist. You cannot post results for an inspection in the cancelled status.
OAuth Scope : ERP.quality_control.UPDATE

Arguments

qualityinspector_comments
string
Comments of the quality inspector. Maximum length: 2000 characters.
quantity_passed
integer
(Required)
Number of samples that passed. Allowed range: 0 to 1000000.
quantity_failed
integer
(Required)
Number of samples that failed. Allowed range: 0 to 1000000.
inspection_date
string
Date the inspection was performed. Date format: yyyy-MM-dd.

Path Parameters

qualityinspection_id
string
(Required)
ID of the quality inspection. 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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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
{ "qualityinspector_comments": "Two cells showed voltage below the lower limit.", "quantity_passed": 98, "quantity_failed": 2, "inspection_date": "2026-10-08" }

Response Example

{ "code": 0, "message": "Quality inspection results updated", "qualityinspection": { "qualityinspection_id": "3863095000000076301", "qualityinspection_number": "QI-00001", "qualityrule_id": "3863095000000074001", "qualityrule_name": "Battery Cell Incoming Check", "item_id": "3863095000000046004", "item_name": "Li-ion Battery Cell 18650", "item_sku": "LIB-18650", "item_unit": "pcs", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "qcq_inspection_date": "2026-10-08", "qcq_inspection_date_formatted": "08 Oct 2026", "priority": "standard", "priority_formatted": "Medium Priority", "status": "pending", "status_formatted": "Pending", "entity_type": "purchase_receive", "entity_type_formatted": "Purchase Receive", "entity_id": "3863095000000078001", "entity_item_id": "3863095000000078011", "transaction_number": "PR-00001", "transaction_item_quantity": 1000, "total_inspectionworklist_count": 1, "completed_inspectionworklist_count": 0, "documents": [ {...} ], "inspectionworklists": [ { "inspectionworklist_id": "3863095000000076401", "inspectionworklist_number": "IW-00001", "status": "pending", "status_formatted": "Pending", "qualityinspector_comments": "Two cells showed voltage below the lower limit.", "quantity_to_be_tested": 100, "quantity_passed": 0, "quantity_failed": 0, "maximum_failure_quantity": 2, "total_sample_quantity": 100, "parameters_count": 3, "qualitytemplate_id": "3863095000000070001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "qualitytemplate_documents": [ {...} ], "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "inspection_type": "quantitative", "inspection_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", "sequence": 1, "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "template_parameters": [ {...} ], "reason_id": "", "reason": "", "is_reevaluating": false, "reevaluate_count": 0, "reevaluator_id": "", "reevaluator_name": "", "reevaluator_photo_url": "", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "non_inventory_tracked_item": true, "downstream_operation_started": false, "worklistsamples": [ { "worklistsample_id": "3863095000000076511", "item_remarks": "Minor scratch on casing.", "status": "passed", "status_formatted": "Passed", "reason_id": "", "reason": "", "inventoryserial_id": "", "serial_number": "", "inspectionqueuebatch_id": "3863095000000078201", "inventorybatch_id": "3863095000000078101", "batch_number": "BATCH-0001", "parameters": [ { "worklistparameter_id": "3863095000000076611", "status": "passed", "status_formatted": "Passed", "recorded_value": "3.65", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "data_type_formatted": "Decimal", "comparator": "between", "comparator_formatted": "Between", "unit": "V", "standardvalue1": "3.6", "standardvalue2": "3.7", "valuelist": "" } ], "documents": [ {...} ] } ] } ], "comments": [ { "comment_id": "3863095000000076101", "description": "Quality Inspection 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" } ] } }

Get a quality inspection 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 inspection, including its inspection worklists, samples, recorded parameter values, and comments.
OAuth Scope : ERP.quality_control.READ

Path Parameters

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

Query Parameters

organization_id
string
(Required)
ID of the organization.
print
boolean
Specify true to return the inspection 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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?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/qualityinspections/3863095000000076301?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "qualityinspection": { "qualityinspection_id": "3863095000000076301", "qualityinspection_number": "QI-00001", "qualityrule_id": "3863095000000074001", "qualityrule_name": "Battery Cell Incoming Check", "item_id": "3863095000000046004", "item_name": "Li-ion Battery Cell 18650", "item_sku": "LIB-18650", "item_unit": "pcs", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "qcq_inspection_date": "2026-10-08", "qcq_inspection_date_formatted": "08 Oct 2026", "priority": "standard", "priority_formatted": "Medium Priority", "status": "pending", "status_formatted": "Pending", "entity_type": "purchase_receive", "entity_type_formatted": "Purchase Receive", "entity_id": "3863095000000078001", "entity_item_id": "3863095000000078011", "transaction_number": "PR-00001", "transaction_item_quantity": 1000, "total_inspectionworklist_count": 1, "completed_inspectionworklist_count": 0, "documents": [ {...} ], "inspectionworklists": [ { "inspectionworklist_id": "3863095000000076401", "inspectionworklist_number": "IW-00001", "status": "pending", "status_formatted": "Pending", "qualityinspector_comments": "Two cells showed voltage below the lower limit.", "quantity_to_be_tested": 100, "quantity_passed": 0, "quantity_failed": 0, "maximum_failure_quantity": 2, "total_sample_quantity": 100, "parameters_count": 3, "qualitytemplate_id": "3863095000000070001", "qualitytemplate_name": "Li-ion Battery Cell Incoming Inspection", "qualitytemplate_documents": [ {...} ], "description": "Electrical and visual checks on 18650 Li-ion cells received from suppliers.", "inspection_type": "quantitative", "inspection_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", "sequence": 1, "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "template_parameters": [ {...} ], "reason_id": "", "reason": "", "is_reevaluating": false, "reevaluate_count": 0, "reevaluator_id": "", "reevaluator_name": "", "reevaluator_photo_url": "", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "non_inventory_tracked_item": true, "downstream_operation_started": false, "worklistsamples": [ { "worklistsample_id": "3863095000000076511", "item_remarks": "Minor scratch on casing.", "status": "passed", "status_formatted": "Passed", "reason_id": "", "reason": "", "inventoryserial_id": "", "serial_number": "", "inspectionqueuebatch_id": "3863095000000078201", "inventorybatch_id": "3863095000000078101", "batch_number": "BATCH-0001", "parameters": [ { "worklistparameter_id": "3863095000000076611", "status": "passed", "status_formatted": "Passed", "recorded_value": "3.65", "sequence": 1, "parameter_name": "Open Circuit Voltage", "data_type": "decimal", "data_type_formatted": "Decimal", "comparator": "between", "comparator_formatted": "Between", "unit": "V", "standardvalue1": "3.6", "standardvalue2": "3.7", "valuelist": "" } ], "documents": [ {...} ] } ] } ], "comments": [ { "comment_id": "3863095000000076101", "description": "Quality Inspection 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" } ] } }

Cancel a quality inspection 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

Cancel a quality inspection along with all its inspection worklists. A reason is required.
OAuth Scope : ERP.quality_control.UPDATE

Arguments

reason
string
(Required)
Reason for cancelling the quality inspection. Maximum length: 2000 characters.

Path Parameters

qualityinspection_id
string
(Required)
ID of the quality inspection. 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/qualityinspections/3863095000000076301/cancel?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/qualityinspections/3863095000000076301/cancel?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/qualityinspections/3863095000000076301/cancel?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/qualityinspections/3863095000000076301/cancel?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/qualityinspections/3863095000000076301/cancel?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/qualityinspections/3863095000000076301/cancel?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
{ "reason": "Supplier shipment returned before inspection." }

Response Example

{ "code": 0, "message": "Cancelled Quality Inspections" }

Re-evaluate a quality inspection 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

Reopen a resolved quality inspection so that its results can be posted again. A reason is required.
OAuth Scope : ERP.quality_control.UPDATE

Path Parameters

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

Query Parameters

organization_id
string
(Required)
ID of the organization.
reason_id
string
(Required)
ID of the reason for re-evaluating the inspection. Use the list reasons API to get the available reasons. 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/qualityinspections/3863095000000076301/reevaluate?organization_id=10234695&reason_id=3863095000000076001" 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/qualityinspections/3863095000000076301/reevaluate?organization_id=10234695&reason_id=3863095000000076001") .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/qualityinspections/3863095000000076301/reevaluate?organization_id=10234695&reason_id=3863095000000076001', 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/qualityinspections/3863095000000076301/reevaluate?organization_id=10234695&reason_id=3863095000000076001", 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/qualityinspections/3863095000000076301/reevaluate?organization_id=10234695&reason_id=3863095000000076001", "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/qualityinspections/3863095000000076301/reevaluate?organization_id=10234695&reason_id=3863095000000076001' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Re-evaluation has been initiated for the selected quality inspection.", "reevaluate_reason": { "reason_id": "3863095000000076001", "reason": "Samples retested after calibration" } }

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 quality inspector to a quality inspection. This is allowed only in simple mode.
OAuth Scope : ERP.quality_control.UPDATE

Path Parameters

qualityinspection_id
string
(Required)
ID of the quality inspection. 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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/assigninspector?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "Inspector details updated", "qualityinspection": { "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 inspection.
OAuth Scope : ERP.quality_control.CREATE

Arguments

description
string
(Required)
Content of the comment.

Path Parameters

qualityinspection_id
string
(Required)
ID of the quality inspection. 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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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": "Samples retested after calibration of the multimeter." }

Response Example

{ "code": 0, "message": "Comment added", "comment": { "comment_id": "3863095000000076101", "description": "Quality Inspection 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 inspection.
OAuth Scope : ERP.quality_control.DELETE

Path Parameters

qualityinspection_id
string
(Required)
ID of the quality inspection. 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/qualityinspections/3863095000000076301/comments/3863095000000076101?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/qualityinspections/3863095000000076301/comments/3863095000000076101?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/qualityinspections/3863095000000076301/comments/3863095000000076101?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/qualityinspections/3863095000000076301/comments/3863095000000076101?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/qualityinspections/3863095000000076301/comments/3863095000000076101?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/qualityinspections/3863095000000076301/comments/3863095000000076101?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 inspection. 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

qualityinspection_id
string
(Required)
ID of the quality inspection. 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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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/qualityinspections/3863095000000076301/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 inspection.
OAuth Scope : ERP.quality_control.READ

Path Parameters

qualityinspection_id
string
(Required)
ID of the quality inspection. 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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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 inspection.
OAuth Scope : ERP.quality_control.DELETE

Path Parameters

qualityinspection_id
string
(Required)
ID of the quality inspection. 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 inspection 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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?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/qualityinspections/3863095000000076301/documents/3863095000000076201?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

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

Get quality details of a transaction 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 quality rules that apply to a transaction and the quality inspections created for it.
OAuth Scope : ERP.quality_control.READ

Path Parameters

entity_id
string
(Required)
ID of the transaction. Note: This value is a set of numeric characters.

Query Parameters

organization_id
string
(Required)
ID of the organization.
entity_type
string
Type of the transaction. Allowed Values: purchase_receive, manufacturing_order, mo_operation, salesreturn_receive and transfer_receive.

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/qualitydetails/entity/3863095000000078001?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/qualitydetails/entity/3863095000000078001?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/qualitydetails/entity/3863095000000078001?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/qualitydetails/entity/3863095000000078001?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/qualitydetails/entity/3863095000000078001?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/qualitydetails/entity/3863095000000078001?organization_id=10234695' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "code": 0, "message": "success", "quality_rules": [ { "qualityrule_id": "3863095000000074001", "qualityrule_name": "Battery Cell Incoming Check", "qualityrule_number": "QR-00001", "status": "active", "status_formatted": "Active", "item_id": "3863095000000046004", "item_name": "Li-ion Battery Cell 18650", "item_sku": "LIB-18650", "category_id": "", "category_name": "", "location_id": "3863095000000052001", "transaction_type": "purchase_receive", "transaction_type_formatted": "Purchase Receive", "associated_templates": [ {...} ] }, {...}, {...} ], "quality_inspections": [ { "qualityinspection_id": "3863095000000076301", "qualityinspection_number": "QI-00001", "qualityrule_id": "3863095000000074001", "qualityrule_name": "Battery Cell Incoming Check", "item_id": "3863095000000046004", "item_name": "Li-ion Battery Cell 18650", "item_sku": "LIB-18650", "item_unit": "pcs", "category_id": "", "category_name": "", "status": "pending", "status_formatted": "Pending", "qualityinspector_id": "3863095000000032003", "qualityinspector_name": "John Smith", "priority": "standard", "priority_formatted": "Medium Priority", "entity_type": "purchase_receive", "entity_type_formatted": "Purchase Receive", "transaction_number": "PR-00001", "sampling_rate": 10, "sampling_rate_formatted": "10%", "sampling_type": "percentage", "allowable_failures": 2, "allowable_failures_formatted": "2 Quantity", "allowable_failure_type": "absolute", "maximum_failure_quantity": 2, "inspection_date": "2026-10-08", "inspection_date_formatted": "08 Oct 2026", "inspectionworklists": [ {...} ] } ] }