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( SegmentRaw object );public Task<Guid> CreateAsync(SegmentRaw @object, CancellationToken ct = default);create(object: SegmentRaw): Promise<string>;Parameters
object : SegmentRaw
The Segment to create.
Result : guid
Id of the newly created Segment.
Remarks
This method requires API write access.