Unable to create events in CA Spectrum with the REST API with custom Event ID 0xffffnnnn
If using any of the out of the box event id's, the event is created successfully.
Spectrum 10.02.02.00 and under
The REST API converts the event codes from Hexadecimal to integer in Java. In Java, an integer can have a maximum value of 2,147,483,647 (signed int 32 bit). If a user wants to convert an event code in the custom event ID range like 0xffff0002, the conversion results into a decimal value of 4,294,901,762 which is greater than the MAX integer value in JAVA.
That means the REST API will not work for events whose event codes are greater than 0x7fffffff.
This issue has been addressed in Spectrum 10.02.03.00 and above.
NOTE: Please reference the following enhancement request posted to the Ideas portal: https://communities.ca.com/ideas/235718654