You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

"class not found" when trying ti use IncidentResponse

Accepted answer
19
Views
2
Comments
edited Jun 3, 2019 1:04PM in Integrations and APIs 2 comments

Summary

Receving an erro when trying to use class IncidentResponse

Content

Hi All

I'm trying to create a custom PHP script that updates an incident with a response and sends it out to the customer,  I'm using the example code from the documentation for 18B but when I test the code a I get error "Class 'RightNow\Connect\v1_3\IncidentResponse' not found".

Here is the code below, am I doing something wrong ?

Thanks!

Nigel

Version

18B

Code Snippet

            try{
                // Getting customer first name & Assigned account
                $logger->log("Sending Auto Response");
                $cFirstName = $incident->PrimaryContact->Name->First;
                $logger->log("Contact First Name for Auto-Response  = ".$cFirstName);
     

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!