Update records partially in one bulk operation
Performs partial update of records in one bulk operation. The records
will be provided in the request content as XML or JSON.
Request |
|
Parameters |
|
Headers |
|
Response | No content. |
Status |
|
Limitation | This REST API does not support updating records partially in one bulk operation for the Role entity in the PROVISIONING system data container. |
Sample request in XML
<records>
<Product>
<Id>231035933</Id>
<Name>PartialNameUpdate1</Name>
<Price>111</Price>
<Stores>
<Store>[100001]</Store>
</Stores>
</Product>
<Product>
<Id>231035934</Id>
<Name>PartialNameUpdate2</Name>
<Price>222</Price>
<Family>[2]</Family>
</Product>
</records>
Sample request in JSON (1)
[
{
"Product": {
"Id": "231035933",
"Name": "PartialNameUpdate1",
"Price": "111",
"Stores": {
"Store": ["100001"]
}
}
},
{
"Product": {
"Id": "231035934",
"Name": "PartialNameUpdate2",
"Price": "222",
"Family": "[2]"
}
}
]
Sample request in JSON (2)
{
"records": {
"Product": [
{
"Id": "231035933",
"Name": "PartialNameUpdate1",
"Price": "111",
"Stores": {
"Store": ["100001"]
}
},
{
"Id": "231035934",
"Name": "PartialNameUpdate2",
"Price": "222",
"Family": "[2]"
}
]
}
}
For more examples of this REST API, see How to perform mass partial update on MDM data records through the REST API.