Greetings.
For the first question, you can read the documentation regarding the external API:
http://openideas.info/wiki/index.php?title=Pandora_3.0:Documentation_en:Annex_ExternalAPIAnd the answer is
yes: you can use the predefined set functions to create new incidents, modules, generate new module data, etc...
Besides, you have more ways, like, for example, using a JMX-SNMP adapter to convert these notifications into SNMP traps and send them to the Pandora Server.
Regarding the second question, you can define icons with a specific URL as a label... then you can click on the icon and get redirected to that URL, but this action would be performed in your machine: it cannot be performed in remote hosts.
You can define modules in the agents to execute commands on hosts and components, but you cannot execute these modules from the network map view.
I hope this helps you.
Regards.