Oct-25-2019, 05:40 PM
I see what you mean. Thank you.
Maybe I am using the wrong approach. As you say I shouldn't make a new dictionary and just search tenants for what I need. The reason I thought it would be easier to make a new dictionary was I may only want the dataRegion 01 in the new one. I thought it would be easier to search within a new dictionary and get all the keys that dataRegion.
Once the API returns the information and I turn it into JSON I just need to take the lines that match a certain key value, maybe Name, or dataRegion and return those.
Maybe I am using the wrong approach. As you say I shouldn't make a new dictionary and just search tenants for what I need. The reason I thought it would be easier to make a new dictionary was I may only want the dataRegion 01 in the new one. I thought it would be easier to search within a new dictionary and get all the keys that dataRegion.
Once the API returns the information and I turn it into JSON I just need to take the lines that match a certain key value, maybe Name, or dataRegion and return those.