Skip to main content

Resolver Configuration

Resolver configuration collection manages the rules and settings for how different identifier types are resolved to appropriate redirection URLs or rules within the TrackVision system.

The resolver_configuration Object

Resolver configuration collection defines how various identifier types (GTIN, SSCC, GRAI, short codes, etc.) are processed and redirected, supporting flexible URL resolution for different identifier scenarios.

Field NameTypeDescription
iduuidPrimary key. Unique identifier for the resolver configuration entry (UUID format).
user_createdobjectUnique identifier of the user who created the resolver configuration record.
date_createddatetimeTimestamp in ISO8601 when the resolver configuration record was created.
user_updatedobjectUnique identifier of the user who last updated the resolver configuration record.
date_updateddatetimeTimestamp in ISO8601 when the resolver configuration record was last updated.
identifier_typestringType of identifier this configuration applies to (e.g., "gtin", "sscc", "grai", "short_code").
accountobjectReference to the account this resolver configuration belongs to. Can be null for global configurations in a tenant.
redirection_urlstringSpecific URL to redirect to when this configuration matches. Evaluated after any redirection rule that is set.
redirection_ruleobjectReference to a redirection rule to apply when this configuration matches. Takes priority over redirection_url when specified.

List Resolver Configurations

List existing resolver configurations.

GET /items/resolver_configuration

Query Parameters

Supports all global query parameters.

Returns

An array of up to limit resolver configuration objects. If no items are available, data will be an empty array.


Retrieve a Resolver Configuration

Retrieve a specific resolver configuration by ID.

GET /items/resolver_configuration/:id

Returns

Returns a resolver configuration object if a valid primary key was provided.


Create a Resolver Configuration

Create a new resolver configuration.

POST /items/resolver_configuration

{
"identifier_type": "gtin",
"account": "f1b2c3d4-e5f6-7890-1234-567890abcdef",
"redirection_url": "https://example.com/gtin?={{gtin}}",
"redirection_rule": null
}

Query Parameters

Supports all global query parameters.

Request Body

A partial resolver configuration object.

Returns

Returns the resolver configuration object for the created resolver configuration.


Update a Resolver Configuration

Update an existing resolver configuration.

PATCH /items/resolver_configuration/:id

{
"identifier_type": "sscc",
"redirection_url": "https://tracking.trackvision.ai/sscc/{identifier}"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial resolver configuration object.

Returns

Returns the resolver configuration object for the updated resolver configuration.


Delete a Resolver Configuration

Delete an existing resolver configuration.

DELETE /items/resolver_configuration/:id

Returns

Empty body.