Hello, Im very new at this. I query an API which returns responses like this:
{
"request": {
"Target": "Offer",
"Format": "json",
"Service": "SERVICE_NAME",
"Version": "2",
"NetworkToken": "TOKEN",
"Method": "findAll",
"fields": [
"status",
"advertiser_id",
"name",
"id"
],
"filters": {
"status": "active"
},
"contain": [
"Goal",
"Advertiser"
],
"_": "1668798873832"
},
"response": {
"status": 1,
"httpStatus": 200,
"data": {
"123": {
"Offer": {
"status": "active",
"advertiser_id": "149",
"name": "Offer 1",
"id": "123"
},
"Goal": {
"21997": {
"id": "21997",
"offer_id": "123",
"name": "Conversion",
"status": "pending"
}
},
"Advertiser": {
"status": "active",
"id": "149",
"company": "COMPANY_NAME_1",
"signup_ip": "IP"
}
},
"456": {
"Offer": {
"status": "active",
"advertiser_id": "149",
"name": "Offer 2",
"id": "456"
},
"Goal": {
"15516": {
"id": "15516",
"offer_id": "456",
"name": "Conversion",
"status": "active"
}
},
"Advertiser": {
"date_added": "2015-10-01 15:32:45",
"status": "active",
"id": "149",
"company": "COMPANY_NAME_2",
"signup_ip": "IP"
}
},
"789": {
"Offer": {
"status": "pending",
"advertiser_id": "149",
"name": "Offer 3",
"id": "789"
},
"Goal": {
"21996": {
"id": "21996",
"offer_id": "789",
"name": "Conversion",
"status": "deleted"
}
},
"Advertiser": {
"date_added": "2015-10-01 15:32:45",
"status": "active",
"id": "149",
"company": "COMPANY_NAME_3",
"signup_ip": "IP"
}
},
"errors": [],
"errorMessage": null
}
}
}
Ive tried following a few solution here and on youtube but I cant figure how to turn this into a table in the followind format:
Any help is appreciated, thank you