Function: segment.GetOne
Returns a single Segment Object identified by the given id.
Syntax
{
"method": "segment.GetOne",
"params": {
"id": "...",
"select": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<Segment> GetOne( AdvGuid id, std::optional<std::vector<AdvString>> select = std::nullopt );public Task<Segment> GetOneAsync(Guid id, CancellationToken ct = default);getOne(id: string): Promise<Segment>;Parameters
id : guid
The Segment’s id.
select : string[] optional
List of properties that should be contained in the result object.
Result : Segment
Matching Segment Object.
Remarks
This method requires API read access.