You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am trying to retrieve asset attribute values using REST API.
When there is value defined then it is easy to retrieve values with fixed indexes. for e.g.
DeseralizeResult("objectEntries")( int_Counter)("attributes")(0)("objectAttributeValues")(0)("value")--> purchased date
DeseralizeResult("objectEntries")( int_Counter)("attributes")(1)("objectAttributeValues")(0)("value")--> display (key value)
Issue comes when there is no value supplied in any attributes then this causes fixed pattern to break because no Null value will come as an output.
how to mitigate this problem statement as it will be more complicate when there are n number of no values provided in fields ?
Is there a way to define attribute as mandatory and can take empty values from Admin user?