The RFID Tags API manages the Dragon Guard tag registry — the persistent record of every Electronic Product Code (EPC) known to the WMS. Tags can represent items, pallets, containers, or any other trackable object type. Tags are scoped to a company and can be queried, created, bulk-imported, updated, and deactivated.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CodexaCP/DG_BACK/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/rfid/tags
Returns a paginated, filterable list of RFID tags for the authenticated company. Authentication:Authorization: Bearer <token> (required).
Tenant company ID. Resolved from JWT if omitted.
Free-text search across EPC, item number, lot number, and serial number.
Filter by item number or item description (partial match).
Filter by lot number.
Filter by serial number.
Filter by object type (e.g.,
ITEM, PALLET, CONTAINER).Filter by tag status (e.g.,
UNASSIGNED, ASSIGNED, IN_TRANSIT, CONSUMED).Return only active (non-deactivated) tags. Defaults to
true.1-based page. Defaults to
1.Page size. Defaults to
20.Current page.
Page size.
Total matching tags.
Total pages.
GET /api/rfid/tags/
Returns full detail for a single RFID tag by its registry ID. Authentication:Authorization: Bearer <token> (required).
Tag registry ID.
| Status | Meaning |
|---|---|
| 404 | Tag not found for the given ID and company. |
GET /api/rfid/tags/resolve/
Resolves an EPC string to its tag registry record plus contextual information. Used by handheld scanners to look up what an EPC represents in real time. Authentication:Authorization: Bearer <token> (required).
The EPC to resolve. Accepts raw or normalized format.
Normalized EPC.
Whether the EPC was found in the registry.
The matching
RfidTagDto if resolved.Human-readable resolution status message.
| Status | Meaning |
|---|---|
| 400 | EPC format is invalid. |
| 404 | EPC not found in the tag registry. |
POST /api/rfid/tags
Creates a new RFID tag registry record. The EPC must be unique within the company. Authentication:Authorization: Bearer <token> (required).
Normalized EPC (uppercase, colon-delimited). Must be unique for this company.
Raw EPC as scanned by the reader hardware (optional).
Item to associate with this tag. Optional for unassigned tags.
Object type the tag represents (e.g.,
ITEM, PALLET, CONTAINER).Quantity encoded in the tag. Defaults to
1 if omitted.Initial lifecycle status (e.g.,
UNASSIGNED, ASSIGNED).Initial location ID.
Initial bin ID.
Timestamp of last physical scan, if known.
201 Created with the full RfidTagDto and a Location header pointing to GET /api/rfid/tags/{id}.
Error codes
| Status | Meaning |
|---|---|
| 400 | Invalid payload or business rule violation. |
| 409 | An active tag with the same EPC already exists for this company. |
POST /api/rfid/tags/bulk
Bulk-imports an array of RFID tag records. Tags with duplicate EPCs are skipped and reported in theskipped list. Partial success is allowed.
Authentication: Authorization: Bearer <token> (required).
Array of
CreateRfidTagDto objects. Each element follows the same schema as POST /api/rfid/tags.Number of tags successfully created.
Number of tags skipped due to duplicate EPC.
List of per-tag error messages for tags that failed for reasons other than duplicates.
PATCH /api/rfid/tags/
Partially updates a tag — only the fields present in the request body are modified. Authentication:Authorization: Bearer <token> (required).
Tag ID to update.
New lifecycle status.
Updated location ID.
Updated bin ID.
Updated quantity.
Updated lot number.
Updated serial number.
| Status | Meaning |
|---|---|
| 404 | Tag not found. |
| 409 | EPC conflict if EPC is being changed to one that already exists. |
PUT /api/rfid/tags/
Full replacement update for a tag record. All updatable fields must be provided. Authentication:Authorization: Bearer <token> (required).
Tag ID to replace.
PATCH /api/rfid/tags/{id}.
PUT /api/rfid/tags//deactivate
Deactivates (soft-deletes) a tag. The tag record is retained for audit purposes butisActive is set to false. Deactivated tags are excluded from the default listing.
Authentication: Authorization: Bearer <token> (required).
Tag ID to deactivate.
Tag ID.
Always
false after deactivation.| Status | Meaning |
|---|---|
| 404 | Tag not found. |