Function: datapointPattern.BulkModify
Performs a bulk of changes at once.
Syntax
{
"method": "datapointPattern.BulkModify",
"params": {
"create": "...",
"update": "...",
"set": "...",
"delete": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> BulkModify( std::optional<std::vector<DatapointPatternRaw>> create = std::nullopt
std::optional<std::vector<DatapointPatternRaw>> update = std::nullopt,
std::optional<std::vector<ObjectAspect>> set = std::nullopt,
std::optional<std::vector<AdvGuid>> _delete = std::nullopt );public Task<bool> BulkModifyAsync(IList<DatapointPatternRaw>? create = null,
IList<DatapointPatternRaw>? update = null,
IList<ObjectAspect>? set = null,
IList<Guid>? delete = null,
CancellationToken ct = default);bulkModify(toCreate?: DatapointPatternRaw[] | undefined, toUpdate?: DatapointPatternRaw[] | undefined, toSet?: ObjectAspect[] | undefined, toDelete?: string[] | undefined): Promise<boolean>;Parameters
create : DatapointPatternRaw[] optional
List of DatapointPattern Objects to create.
update : DatapointPatternRaw[] optional
List of DatapointPattern Objects to update.
set : ObjectAspect[] optional
List of DatapointPattern Object properties to set.
delete : guid[] optional
List of DatapointPattern ids to delete.
Result : bool
True if successful.
Remarks
This method requires API write access.