Start a bulk import
Upload a JSON array of entities to import in bulk for the given application.
The body schema depends on the entityName query parameter. Currently only DppPassport is supported, whose items follow CreateDppPassportDto.
The passport granularity is carried by product.idGranularity:
- model — product model level (shared template across a whole reference).
- batch — production batch level (series, dated run); set product.modelNumber to link to the parent model.
- item — individual serialized article level; set product.batchNumber / product.itemNumber to link and identify the unit.
When the optional mapperId query parameter is set, the body is instead a JSON array of foreign-schema source objects: each item is transformed into a passport via the mapper rules (replace semantics) before validation, so it need not match CreateDppPassportDto directly.
The optional network query parameter sets the blockchain network for every imported passport (it is not part of the body / mapper output). When omitted it defaults to BaseMainnet.
Request
- Base URL: https://api.prod.keyban.io
- URL: https://api.prod.keyban.io/v1/imports
- Auth: X-Api-Key (a scheme the document does not define)
Request body
Example request
{
"entityName": "DppPassport"
}Changes
No recorded changes to this operation across all 1 revision of this API.