Siebel REST API Guide > Using the Siebel REST API > Using the Siebel REST API to Access Siebel Business Objects >

Upserting a Siebel CRM Child Business Object


You can upsert a Siebel CRM child business object by sending an HTTP PUT request to the resource's URI.

The following details are for a request to upsert a child business object on the Siebel CRM Server:

  • URL: http://ServerName:port/siebel-rest/v1.0/data/Account/Account/88-4XVPD/Contact/88-4W6YS
  • HTTP Method: PUT
  • Content-Type: application/json
  • Authorization: Basic
  • Request body:

{
    "Primary Account Name": "DemoAccount1303",
    "Personal Contact": "N",
    "Account Integration Id": "",
    "Id": "88-4W6YS",
    "Bill To Last Name": "Customer",
    "Person UId": "0CR-1MF5Z6d11",
    "Bill To First Name": "Siebel",
    "Employee Number": "88-4W6YS",
    "Primary Organization": "Default Organization",
    "Bill To Job Title": "VP"
}

The following are the details for the response to a successful request:

  • HTTP Code: 201
  • Content-Type:
  • Response body:

{
  "items": {
    "Link": {
      "rel": "self",
      "href": "http://ServerName:port/siebel-rest/v1.0/data/Account/Account/88-4XVPD",
      "name": "Account"
    },
    "Id": "88-4XVPD"
  }
}

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