Querying for a Single Account Record Without Using Uniformresponse

You can query for a single Siebel CRM Business Component by sending a HTTPS GET request to the resource’s URI.

The following request queries for a single Account record from the Siebel CRM Server without using the uniformresponse parameter:
  • URI: GET https://<host_name>:<port_number>/siebel/v1.0/data/Account/Account/88-26CND?fields=Name,Location,Id&childlinks=Contact,Position

  • HTTP Method: GET

  • Content Type: application/json

  • Authorization: Basic

  • Request body: None

Here are the response details for a successful request:
  • HTTP Code: 200

  • Content Type:

  • Response body:
    {
       "Name": "3Com",
       "Id": "88-26CND",
       "Location": "Headquarters",
       "Link": [
                    {
                        "rel": "self",
                        "href": "https://<host_name>:<port_number>/siebel/v1.0/data/Account/Account/88-26CND",
                        "name": "Account"
                    },
                    {
                        "rel": "canonical",
                        "href": "https://<host_name>:<port_number>/siebel/v1.0/data/Account/Account/88-26CND",
                        "name": "Account"
                    },
                    {
                        "rel": "child",
                        "href": "https://<host_name>:<port_number>/siebel/v1.0/data/Account/Account/88-26CND/Contact",
                        "name": "Contact"
                    },
                    {
                        "rel": "child",
                        "href": "https://<host_name>:<port_number>/siebel/v1.0/data/Account/Account/88-26CND/Position",
                        "name": "Position"
                    }
              ]
     }
    
    Note: The response in this example is not in an array because it has only one record, and the request does not contain the uniformresponse parameter.