Skip to main content

Hi everyone, how are you??

Can anyone tell me what field I use in JSONPath to map "Id": 1240 from the beginning of this response from my API:
   ({"deal":{"id":1240,"name":"2024-02).


What do I need to use JSONPath?

I already used this: $.owners.deal_id  and $.deal.id
 

Does anyone deeply understand this?

Thanks in advance!


Roger Mello

Hi,
$.deal.id this should work. would you please explain the error you have while using $.deal.id?


Hey, ​@Roger2595 

 

{
"deal": {
"id": 1240,
"name": "2024-02"
}
}

Based on your information, to map “id: 1240”, you should use $.deal.id

 


Reply