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

Upserting a Siebel CRM Child Repository Resource


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

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

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

{
    "Name": "WriteRecord",
    "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"
  }
}

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