Inserting Multiple Siebel CRM Child Business Components

You can insert multiple Siebel CRM child Business Components by sending a HTTP PUT request to the resource's URI.

The following request inserts multiple Contacts under an existing Account record:

  • URL: http://ServerName:port/siebel/v1.0/data/Account/Account/1-1/Contact

  • HTTP Method: PUT

  • Content-Type: application/json

  • Authorization: Basic

  • Request body:
    {
      "Contact":[
      {  
        "Primary Organization Id":"1-1DG",
        "Primary Organization":"Default Organization",
        "First Name":"Ken",
        "Last Name": "Bass",
        "Id":"12345"
      },
      {  
        "Primary Organization Id":"1-1DG",
        "Primary Organization":"Default Organization",
        "First Name":"test",
        "Last Name": "test1",
        "Id":"123456"
      }
      ]
    }
    
  • Response Body:

    [
       {
           "Id": "88-3DS9V5",
           "Contact": [
               {
                   "Id": "88-3DS9YA",
                   "Link": [
                       {
                           "rel": "self",
                           "href": "https://sca00mtv.us.oracle.com:16691/siebel/v1.0/data/Account/Account/88-3DS9V5/Contact/88-3DS9YA",
                           "name": "Contact"
                       }
                   ]
               },
               {
                   "Id": "88-3DS9YE",
                   "Link": [
                       {
                           "rel": "self",
                           "href": "https://sca00mtv.us.oracle.com:16691/siebel/v1.0/data/Account/Account/88-3DS9V5/Contact/88-3DS9YE",
                           "name": "Contact"
                       }
                   ]
               }
           ],
           "Link": [
               {
                   "rel": "self",
                   "href": "https://sca00mtv.us.oracle.com:16691/siebel/v1.0/data/Account/Account/88-3DS9V5",
                   "name": "Account"
               }
           ]
       }
    ]
    
Note: When inserting or updating data via HTTP POST/PUT the links that are returned in the response body are only self links. When querying data via GET you will get self, parent, and canonical links.