API: problem running a script

Hello,
I’m successfuly logged in a Mikrotik via the API. Now I’d like to run a script, but don’t know how to specify the script’s name. I’m trying to send the name different ways, unfortunately none of them works:

/system/script/run script_name

Returns “no such command”.

/system/script/run/script_name

Returns “no such command”.

/system/script/run
script_name

Returns “script not found”.

/system/script/run
=name=script_name

Returns “unknown parameter”.

If I log in via winbox and write

/system script run script_name

on the console, it works fine.

Thank you for advise,
Jan

/system/script/run
=number=<id or script_name>