Siebel REST API Guide > Using the Siebel REST API > Using Siebel REST API to Access Siebel Business Services XML Examples >

Accessing the QueryByExample Method of the Siebel Account Business Service


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

The following details are for a request to query for an Account with a 3Com Name value on the Siebel CRM Server:

  • 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>

Siebel REST API Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.