Saltar al contenido

canonElements

Módulo Canon · 3 operaciones

List canon element rows

GET/canon/elements

A catalog element, the unit of the catalog. Returns a cursor page of canon element rows the caller may see. Coded list: the default order is numeric code order by `element_id`. Supports sparse fieldsets and the filter grammar.

Get a canon element

GET/canon/elements/{element_id}

A catalog element, the unit of the catalog. Returns one canon element with its `ETag`. A canon element the caller may not see returns 404.

Resolve an element

GET/canon/elements/resolve

Resolves free text, an MPN or a GTIN to a catalog element through `xpms.resolve_element`. No match returns a 422 refusal with `NO_ANSWER`; the resolver never guesses. A rule that refuses the request returns 422 with `refusal` and `reason`.