Update a record
Updates a data record completely in the specified data container. The record will be provided in the request content as XML or JSON.
If you want to preserve some existing values, use the partial update operation instead. For more information, see Update a record partially.
Request |
The body is an XML or JSON representation of the record to be updated. The element Id in the request body determines which record will be updated. |
Parameters |
|
Headers |
|
Response | No content. |
Status |
|
Limitation | This REST API does not support updating a record for the Role entity in the PROVISIONING system data container. |
Sample request in XML format
<Product>
<Picture>/imageserver/upload/TalendShop/tshirt.jpg</Picture>
<Id>231035936</Id>
<Name>Talend Fitted T-Shirt</Name>
<Description>Fitted T. ultra-fine combed ring spun cotton</Description>
<Features>
<Sizes/>
<Colors/>
</Features>
<Availability>false</Availability>
<Price>18</Price>
<Family>[1]</Family>
<OnlineStore>Talend Shop@@http://www.cafepress.com/Talend.231035936</OnlineStore>
<Stores>
<Store></Store>
</Stores>
</Product>
Sample request in JSON format
{
"Product": {
"Picture": "/imageserver/upload/TalendShop/tshirt.jpg",
"Id": "231035936",
"Name": "Talend Fitted T-Shirt",
"Description": "Fitted T. ultra-fine combed ring spun cotton",
"Features": {
"Sizes": {},
"Colors": {}
},
"Availability": "false",
"Price": "18",
"Family": "[1]",
"OnlineStore": "Talend Shop@@http://www.cafepress.com/Talend.231035936",
"Stores": {}
}
}