Fixing Add ticket api call

API call was using incorrect function.