Siebel REST API Guide > Using the Siebel REST API > Using the Siebel REST API to Access Siebel Repository Resources >

Upserting a Siebel CRM Parent Repository Resource


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

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

  • URL: http://ServerName:port/siebel-rest/v1.0/workspace/MyWorkspace/Applet/SIS Account List Applet_1
  • HTTP Method: PUT
  • Content-Type: application/json
  • Authorization: Basic
  • Request body:

{
    "Name": "SIS Account List Applet_1",
    "UpgradeBehavior": "Preserve",
    "Comments": "New Record_Applet",
    "ProjectName": "VERT CUT Common"
}

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

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

{
  "workspace/MyWorkspaceApplet": {
    "Link": {
      "rel": "self",
      "href": "http://ServerName:port/siebel-rest/v1.0/workspace/MyWorkspace/Applet/       SIS Account List Applet_1",
      "name": "Applet"
      },
      "Name": "SIS Account List Applet_1",
      "UpgradeBehavior": "Preserve",
      "ProjectName": "VERT CUT Common",
      "Comments": "New Record_Applet"
      }
}

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