I need to write an on-call end java class to catch hangup events, however, I also need to write a record to an external source via a RESTapi. I know my session values from the application will be available from the application so that will help for the REST api values.
I have looked at the OOB Rest element and there are a lot of java files, doing numerous tasks to make the REST element work. Was looking for a sample on the communities page that we can use to insert into an on-call end. I assume this is possible, as I know we can write to files in an on-call end class.
Has anyone seen a sample that would work inside of an oncall end class?