Web API {id} RUT241

Hi

I am trying to use the Open API functionality.

/modems/{id}/actions/exec_at

This call requires an id for the modem but I cant seem to find this documented and I have tried various serial numbers etc…

I get a response from the bearer token and then pass this in.

The response I get is:

“success”: false,
“errors”: [
{
“source”: “URL”,
“code”: 100,
“error”: “Provided modem does not exist”,
“section”: “exec_at”
}
]

Thanks in advance

Hello,

To find modem_id and other important information about modem you can by executing this command via SSH/CLI:

ubus call mobifd.modem0 status

Output should look like this:

2024-06-04-10-09-23-192.168.41.1 (root)

Best regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.