Skip to main content

Integrity Check Result

Integrity Check Results record the outcome of a fraud or authenticity assessment against a product code. A result captures whether a code appears legitimate or fraudulent, along with supporting context such as the originating scan event, the product involved, and the geographic location of the object at the time of the check.

The integrity_check_result Object

Field NameTypeDescription
iduuidPrimary key for the integrity check result.
user_createdobjectUser who created the record. Read-only.
date_createddatetimeTimestamp in ISO 8601 when the record was created. Read-only.
user_updatedobjectUser who last updated the record. Read-only.
date_updateddatetimeTimestamp in ISO 8601 when the record was last updated. Read-only.
statusstringWorkflow status of the result. One of: new, reviewed, dismissed.
resultstringThe verdict of the integrity check. One of: ok, unrecognized, unactivated, duplicated, diverted.
check_sourcestringWhat triggered the check. One of: crowd_sourced, inspector.
reasonstringExplanation of why this result was reached.
review_commentsstringFree-text comments added during manual review.
codestringInternal code reference associated with this result.
source_scanobjectThe Scan Event that triggered this integrity check, if applicable.
productobjectThe product associated with the code being checked.
object_locationobjectGeographic location data of the object at the time of the check (GeoJSON or coordinate object).

Sub-Objects

User Object (user_created, user_updated)

See Users for the full schema.

Scan Event Object (source_scan)

See Scan Events for the full schema.

Product Object (product)

See Product for the full schema.


List Integrity Check Results

GET /items/integrity_check_result

Query Parameters

Supports all global query parameters.

Returns

An array of up to limit integrity check result objects. If no items are available, data will be an empty array.


Retrieve an Integrity Check Result

GET /items/integrity_check_result/:id

Returns

Returns an integrity check result object if a valid primary key was provided.


Create an Integrity Check Result

POST /items/integrity_check_result

{
"status": "open",
"result": "suspicious",
"check_source": "consumer_scan",
"reason": "Code scanned in two different countries within 6 hours",
"product": "product-uuid",
"source_scan": "scan-event-uuid"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial integrity check result object.

Returns

Returns the integrity check result object for the created record.


Update an Integrity Check Result

PATCH /items/integrity_check_result/:id

{
"status": "resolved",
"review_comments": "Confirmed counterfeit — code duplicated by third party distributor"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial integrity check result object.

Returns

Returns the integrity check result object for the updated record.


Delete an Integrity Check Result

DELETE /items/integrity_check_result/:id

Returns

Empty body.