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

Upserting Siebel CRM Parent Business Object


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

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

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

{
    "Name": "AccountExample",
    "Primary Organization Id": "1SIA-7SY3",
    "Primary Organization": "Medical Products MD ENU",
    "Location": "Albany",
    "Description": "AccountData"
}

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

  • HTTP Code: 200
  • Content-Type: application/json
  • Response body:

{
  "items": {
    "Link": {
      "rel": "self",
      "href": "http://ServerName:port/siebel-rest/v1.0/data/Account/Account/88-4XVPD",
      "name": "Account"
    },
    "Name": "AccountExample",
    "Id": "88-4XVPD",
    "Location": "Albany",
    "Primary Organization Id": "1SIA-7SY3",
    "Primary Organization": "Medical Products MD ENU",
    "Description": "AccountData"
    }
}

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