/api/v1/reports/connections issue

Options

Hello,

I am trying to get the "notes" field contain in the /api/v1/reports/connections in a php (8.2.6 on windows using powershell) script.

The issue is there is a quotation mark (") at the very end and it isn't a json array (I verified it on this link https://jsonlint.com/) because of it.

Here is a piece of the result:

{"records":[{"id":"string","userid":"string","username":"Peppaul","deviceid":"string","devicename":"Peppaul","groupid":"string","groupname":"Peppaul","support_session_type":1,"start_date":"2023-05-24T08:49:18Z","end_date":"2023-05-24T08:49:23Z","fee":0.00,"currency":"Euro","billing_state":"Bill"}],"records_remaining":0}"