Function: segment.Create
Creates the Segment in the system and returns the id of the Segment. The Segment must not have an id. If an id is set, the creation is rejected and an empty id is returned.
Syntax
{
"method": "segment.Create",
"params": {
"object": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<AdvGuid> Create( Segment object );public Task<Guid> CreateAsync(Segment @object, CancellationToken ct = default);create(object: Segment): Promise<string>;Parameters
object : Segment
The Segment to create.
Result : guid
Id of the newly created Segment.
Remarks
This method requires API write access.