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

Using a Siebel CRM Business Service to Insert an Account


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

The following details are for a request to insert an Account with a REST Test Business Service Name value on the Siebel CRM Server:

  • URI: http://ServerName:port/siebel/v1.0/service/Siebel Account/Insert
  • 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>
            <Account_spcId>2345</Account_spcId>
            <Name>REST Test Business Service</Name>
          </Account>
        </ListOfAccount_spcInterface>
        </SiebelMessage>
      </body>

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