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