How to get a object key in a JSON in Microsoft Flow

How to get a object key in a JSON in Microsoft Flow



I'm using Mautic API to search contacts by e-mail. The standard JSON response is that below:


{
"total": "1",
"contacts": {
**"64936": {**
"isPublished": true,
"dateAdded": "2018-07-10T19:01:40-03:00",
"dateModified": "2018-08-24T13:43:42-03:00",
"createdBy": 18,
"createdByUser": "Notes IBM",
"modifiedBy": 38,
"modifiedByUser": "Thales Carvalho",
"id": 64936,
"points": 0,
"color": null,
"fields": {
"core": {
"points": {
...



I am trying to get the contacts ID, which is, in this case, 64936. But, as you can see, the ID is the name key of an object. How do I proceed?



P.S. Since I search by e-mail, every time the e-mail changes, the ID changes too.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)