LogoLogo
IxkioLogin
  • Welcome
  • The Basics
    • Organisation / Structure
      • Folders
        • Organisational Folders
        • Active Folders
        • Active Folder Settings
      • Tag Groups
        • Tag Group Settings
      • Batches
        • Batch Settings
      • Tag Codes
        • Tag Code Settings
        • QR Codes
        • Using Authentication (NTAG424) NFC Tags
      • Moving Tag Codes
  • Response Modes
    • Response Modes Explained
    • API
      • Using the API Mode
      • API Mode for Authentication
    • Direct Response
    • Redirect
      • Using Redirect Mode
  • features
    • Rules
      • Creating a Rule
      • Rule Example
      • Rule Types
      • Rule Layering
    • Dynamic Response
      • Subtags
        • Subtags in API Extended Data
      • Datamerge
    • Data
      • Core Data
      • Extended Data
      • System Data
      • Action Data
    • Stats
    • Associate Data
    • Assignment
      • Scan Assignment
        • Scan Assignment with Ixkio Mobile App
        • Assignment Manager
      • Manual Assignment
  • Advanced Features
    • CodeLink
      • Using CodeLink
      • CodeLink Integration
      • Testing CodeLink
      • Integration Guides
        • Using CodeLink with Shopify
          • Shopify with Standard NFC Tags
          • Shopify with Standard Tags (Video)
        • Using CodeLink with Wix
    • Multiuser
    • Management API
    • Custom Domain
    • Clusters
    • SmartAccess
  • Mobile App
    • Ixkio Mobile Apps
    • Mobile App Functions
      • Check
      • Encode
        • API Response Mode Encoding
  • Account Management
    • Allowances & Usage
    • Additional Modules
    • Add-ons
    • Billing & Invoices
    • Account Information
    • User Settings
    • Cookies and Privacy
  • Explainers
    • Chip Count vs Scan Count
Powered by GitBook
On this page
  • Step 1 : Create your Extended Data field
  • Step 2 : Add the Extended Data field to the API response
  • Step 3 : Add the Subtag to the Extended Data response
Export as PDF
  1. features
  2. Dynamic Response
  3. Subtags

Subtags in API Extended Data

PreviousSubtagsNextDatamerge

Last updated 12 months ago

Flex Pro Flex Alpha

This document explains how to include subtag data within Extended Data fields on an API request. This can be useful if you want to access data using subtags but do not want to include that data within the Ruleset Response.

All subtags are not available on the API as ixkio will not know the browser/IP/device of the user actually scanning the tag.

Step 1 : Create your Extended Data field

Active Folder > Folder Function Panel > Data Tab

Create a new Extended Data field by entering a name for your field, selecting 'text' or 'JSON' and clicking 'Add'

NOTE : The JSON data type is currently in Beta and should only be used for the NFT metadata Subtag.

Step 2 : Add the Extended Data field to the API response

Active Folder > Folder Function Panel > Response Tab

Change the 'Response' option for your Data Name (as created in Step 1) to 'Add to Response'.

Step 3 : Add the Subtag to the Extended Data response

Tag Group > Tag Group Data Panel > Extended Tab

Under the Extended Data name you just created, enter your Subtag. For example, if you created a Data field called 'scancount', you can add {scount} to dynamically display the Tag Code Scan Count.

The resulting API response would be :

{
	"xuid": "q8w3sbcz",
	"response": "Pass",
	"scancount": "123"
}

It's not currently possible to add JSON to an Extended Data field to create more complex responses.

We will be added JSON support in Extended Data early in 2023.

Action Data