Function: category.Create

Creates the Category in the system and returns the id of the Category. The Category must not have an id. If an id is set, the creation is rejected and an empty id is returned.

Syntax

{
	"method": "category.Create",
	"params": {
		"object": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<AdvGuid> Create( CategoryRaw object );
public Task<Guid> CreateAsync(CategoryRaw @object, CancellationToken ct = default);
create(object: CategoryRaw): Promise<string>;

Parameters

object : CategoryRaw

The Category to create.

Result : guid

Id of the newly created Category.

Remarks

This method requires API write access.