How to know the item number in a DynamicList

OK, this is a Dynamic List of items:

When you press “Listado Switches” download from a service the list of 3 light switches.

Screen Shot 2021-10-30 at 13.33.11

At the codeless side I need to send the item number = “ID” to the API. At the sample is #2 (number two) fixed but should be the number 3 of the list (equals 0, 1, 2).

I need to replace Screen Shot 2021-10-30 at 13.35.37

with something represent the variable of the cell I’m clicking any of this function buttons:

Thanks, Mario