I want to develop a APAMA script that will trigger a cumulocity POST API call to add a manage object inside device as a childAsset.
API : https://cti.ram.m2m.telekom.com/inventory/managedObjects/{device-id}/childAssets
Payload : {
"managedObject": {
"id": "<manage object id>"
}
}
Please share thought or code snippet as I am completely new to APAMA.
Apama does support an API that can be used to invoke the Cumulocity IoT REST API. check the doc for details: https://documentation.softwareag.com/pam/10.15.3/en/webhelp/pam-webhelp/#page/pam-webhelp%2Fco-ConApaAppToExtCom_cumulocity_invoking_other_parts_of_the_cumulocity_rest_api.html%23
EPL example for your question: