sacred-roseS
Refine3y ago
4 replies
sacred-rose

API Response Format

Hello, i want to use Inferencer using my API, but my API format looks something like this:

{
    "responseCode": 200,
    "responseStatus": "SUCCESS",
    "responseMessage": "Data retrieved successfully.",
    "locations": [
        {
            "id": "0009e300-37aa-11ee-946b-7119a08ec6fb",
            "name": "Bogor",
            "address": "Bogor",
            "description": "This is a new test location",
            "phone_number": "0123456789",
            "latitude": "-0.0",
            "longitude": "+0.0"
        },
  ]
}


The list of data is inside the "location" attribute, how can i pass it to the data resources?
Was this page helpful?