Function: deviceType.BulkModify

Performs a bulk of changes at once.

Syntax

{
	"method": "deviceType.BulkModify",
	"params": {
		"create": "...",
		"update": "...",
		"set": "...",
		"delete": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<bool> BulkModify( std::optional<std::vector<DeviceTypeRaw>> create = std::nullopt
	 std::optional<std::vector<DeviceTypeRaw>> update = std::nullopt,
	 std::optional<std::vector<ObjectAspect>> set = std::nullopt,
	 std::optional<std::vector<AdvGuid>> _delete = std::nullopt );
public Task<bool> BulkModifyAsync(IList<DeviceTypeRaw>? create = null,
		IList<DeviceTypeRaw>? update = null,
		IList<ObjectAspect>? set = null,
		IList<Guid>? delete = null,
		CancellationToken ct = default);
bulkModify(toCreate?: DeviceTypeRaw[] | undefined, toUpdate?: DeviceTypeRaw[] | undefined, toSet?: ObjectAspect[] | undefined, toDelete?: string[] | undefined): Promise<boolean>;

Parameters

create : DeviceTypeRaw[] optional

List of DeviceType Objects to create.

update : DeviceTypeRaw[] optional

List of DeviceType Objects to update.

set : ObjectAspect[] optional

List of DeviceType Object properties to set.

delete : guid[] optional

List of DeviceType ids to delete.

Result : bool

True if successful.

Remarks

This method requires API write access.