Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Can't get value of object keys which are numeric IDs.

(0) ShareShare
ReportReport
Posted on by

I'm working with an API that returns results of a search in the form of multiple nested objects. The root object contains a list of objects where the keys of those objects are ID numbers.

The API returns JSON in the format below

 

 

{
 "response": {
 "214938": {
 "orderId": 163244,
 "warehouseId": 2,
 "transfer": false,
 "priority": false,
 "status": {
 "shipped": true,
 "packed": true,
 "picked": true,
 "printed": true
 }
 },
 "223579": {
 "orderId": 169875,
 "warehouseId": 1,
 "transfer": false,
 "priority": false,
 "status": {
 "shipped": true,
 "packed": true,
 "picked": true,
 "printed": true
 }
 }
 }
}

 

 

I wish to capture the ID's which are the keys of the objects listed within the 'response' object. These ID's are not available anywhere else in the API so I need to find a way to achieve this with the given JSON. All of my research has not yielded anything that points me in the right direction.

Is this achievable? Am I missing something obvious?

Thanks!

 

 

  • v-bacao-msft Profile Picture
    on at
    Re: Can't get value of object keys which are numeric IDs.

     

    Hi @Ian_H ,

     

    Maybe you could refer to this similar thread and see if it helps:

    Solved: Getting JSON keys in flow - Power Platform Community

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1