API create Incident after template (catalog item)

Hello!

I`m using API to automatically create incidents. But also we have some catalog items in Solarwinds.

I want to create incidents under these templates (catalog items).

Is that possible with API? If yes, could you provide some example of code?