An object started through the Automation Engine REST API via cURL gets the following exception.
[[email protected] ~]$ curl GET -u AUTOMIC/AUTOMIC -H 'content-type: application/json' -d '{"object_name":"JOBS.UNIX.33085289}' http://AE_Server:8088/ae/apiv1/0100/executions
Enter host password for user 'AUTOMIC/AUTOMIC':
curl: (6) Could not resolve host: GET
{
"code" : 45106,
"error" : "The request is invalid and cannot be processed by the Automation Engine.",
"details" : "No detail information available."
}
Release : 12.3.7
Component : AUTOMATION ENGINE
Typo.
The object name was missing the closing ". Once the syntax is changing the object executes as expected:
curl GET -u AUTOMIC/AUTOMIC -H 'content-type: application/json' -d '{"object_name":"JOBS.UNIX.33085289"}' http://AE_Server:8088/ae/apiv1/0100/executions
Enter host password for user 'AUTOMIC/AUTOMIC':
curl: (6) Could not resolve host: GET
{
"run_id" : 1230347
}