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

Get value on object through API

Accepted answer
edited Jun 8, 2022 12:11PM in General Technical Discussions 7 comments


I'm creating an integration script using PHP CURL. When I try to pull the Contact data, there are several fields that contain links because these fields are relations to an object in the Oracle RightNow application.

An example is the country field like the picture below:

How can I get the name of country?

Code Snippet (add any code snippets that support your topic, if applicable):

function getOracleCustomers(){

        $header =[



        $username = "myUsrname";

        $password = "myPasswrd";

        $contact_id = 815217;

        $ch = curl_init("{mySite}/services/rest/connect/v1.4/contacts/$contact_id");


        curl_setopt($ch, CURLOPT_USERPWD, $username . ":" . $password);

        curl_setopt($ch, CURLOPT_HTTPHEADER, $header);

Howdy, Stranger!

Log In

To view full details, sign in.


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