Function: extension.Create
Creates the Extension in the system and returns the id of the Extension. The Extension must not have an id. If an id is set, a Data.Validation error is thrown.
Syntax
{
"method": "extension.Create",
"params": {
"object": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<AdvGuid> Create( ExtensionRaw object );public Task<Guid> CreateAsync(ExtensionRaw @object, CancellationToken ct = default);create(object: ExtensionRaw): Promise<string>;Parameters
object : ExtensionRaw
The Extension to create.
Result : guid
Id of the newly created Extension.
Errors
Data.Forbidden
The caller does not have the required permissions to access the data. For additional information, see Data.Forbidden.
Data.NotFound
The requested data was not found or the caller does not have the required permission to access it. For additional information, see Data.NotFound.
Data.Validation
One or more Properties within the submitted Data Object were invalid. For additional information, see Data.Validation.
Remarks
This method requires API write access.