Updating a Hierarchy

Use this API to update a hierarchy of objects and its children.

URI: https://host:port/siebel/v1.0/data/Account/Account

HTTP Method : PUT

Content-Type: application/json

Authorization: Basic

Request Body:

{
"Name": "Rob Stark",
"Id": "88-34R1ZI",
"Primary Organization": "ABC",
"Location": "Albany",
"Primary Organization Id": "1SIA-7SY3",

     "Contact": {
     "Id": "88-34R1ZL",
     "First Name": "Joseph",
     "Last Name": "Paul",

          "Household": {
          "Id": "88-34R1ZP",
          "Household Number":"24"
          }
     }
}

Response Body:

{
    "items": {
        "Name": "Rob Stark",
        "Id": "88-34R1ZI",
        "Location": "Albany",
        "Primary Organization Id": "1SIA-7SY3",
        "Primary Organization": "ABC",
        "Contact": {
            "Id": "88-34R1ZL",
            "Contact_Households": {
                "Id": "88-34R1ZP"
            }
        }
    }
}