Difficulty while using mikrotic api commands

Sir,

I am trying the trial version of RouterOS 4.10 .I wanted to make a small application to connect and communicate with the RouterOS using the APIs.I was successfully able to login and execute few commands.The problem is i was trying to remove an entry in the address list but could not remove it.

I was able to do it using the terminal using the command:
ip firewall address-list remove numbers=0

The api command i executed :
"/ip/firewall/address-list/remove\n=numbers=0\n "

I am also having trouble with converting other commandline commands to api form as well.
I would be really grateful if anybody can help me with this matter.

regards,

Anindh Thomas