UpdateRequest
Updates a record using JSON-formatted attributes. This is useful for complex updates that involve multiple attribute types, including OptionSetValue and EntityReference.
Stored Procedure-Specific Information
To execute this procedure, enter:EXEC UpdateRequest @Entityset = 'account', @Id = '00000000-0000-0000-0000-000000000001', @UpdateRequestAttributes = '[{"attributeName": "name", "type": "string", "value": "Updated Account Name"}, {"attributeName": "statecode", "type": "OptionSetValue", "value": 0}]'
Input
| Name | Type | Description |
| Entityset | String | 更新されるアイテムを持つエンティティ名。 |
| Id | String | 更新されるアイテムのGUID。 |
| UpdateRequestAttributes | String | 更新の属性。accept タイプはJSON です。 |
Result Set Columns
| Name | Type | Description |
| Success | String | このフィールドは、オブジェクトが更新された場合はtrue、そうでない場合はfalse です。 |