4.2 – Return Structure

{
     "StatusCode": 200,
     "Status": "ESUCC or EFAIL",
     "Message": "Request OK. ",
     "Debug": null,
     "Result": {}
}

Example

{
     "StatusCode": 200,
     "Status": "ESUCC",
     "Message": "Request OK. Request OK. {0}",
     "Debug": null,
     "Result": {
          "start_date": "2023-08-02",
          "end_date": "2023-11-09",
           "data": [
               {
                    "event_type": "Fiscal Balance",
                    "comparison": null,
                    "period": "Sep",
                    "country": "MX",
                    "date": "2023-10-27 20:15:00",
                    "actual": null,
                    "previous": -512.0,
                    "change": null,
                    "change_percentage": null
               },
               {
                    "event_type": "Baker Hughes Total Rig Count",
                    "comparison": null,
                    "period": "Oct/27",
                    "country": "US",
                    "date": "2023-10-27 17:50:00",
                    "actual": 625.0,
                    "previous": 624.0,
                    "change": 1.0,
                    "change_percentage": 0.16
               }
          ]
     }
}

On Failure

{
     "StatusCode": 401,
     "Status": "EFAIL",
     "Message": "Invalid Timestamp or Request too old.",
     "Debug": null,
     "Result": null
}