Subtags in API Extended Data
Last updated
Last updated
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.
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.
Active Folder > Folder Function Panel > Response Tab
Change the 'Response' option for your Data Name (as created in Step 1) to 'Add to 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 :