Accessing the QueryByExample Method of the Siebel Account Business Service

You can use a Siebel CRM Business Service to query for an Account record by sending a HTTP POST request to the resource's URI.

The following request uses the QueryByExample method of the Siebel Account Business Service to query for an Account with the name 3Com:

  • URI: http://ServerName:port/siebel/v1.0/service/Siebel Account/QueryByExample

  • HTTP Method: POST

  • Content-Type: application/xml

  • Authorization: Basic

  • Request body:

<?xml version="1.0" encoding="UTF-8" ?>
<body>
  <SiebelMessage>
    <MessageId></MessageId>
    <MessageType>Integration Object</MessageType>
    <IntObjectName>Account Interface</IntObjectName>
    <IntObjectFormat>Siebel Hierarchical</IntObjectFormat>
    <ListOfAccount_spcInterface>
      <Account>
        <Name>3Com</Name>
      </Account>
    </ListOfAccount_spcInterface>
  </SiebelMessage>
</body>