TM1 client docs .NET
Every part of the library, with its members and examples in .NET. New here? Start with the quick start, then the walkthrough Connect and list your cubes.
Start here
- Tm1ClientThe client for one TM1 server.
- CubeService/Cubes, a cube's dimensions, and the operations bound to a cube.
- CellsetServiceThe server-side results of an MDX query or a view, with their axes and cells.
- ProcessServiceProcesses (TurboIntegrator).
- ODataQueryOData query options.
Walkthroughs
- Connect and list your cubesConnect to TM1, check the connection, and list the cubes on the server.
- Read and write cellsRead values from a cube with MDX, write a value, and read it back.
- Run a process and read its resultCreate a TurboIntegrator process, run it with a parameter, check what it did, and read why a run failed.
The client
Tm1BatchA JSON $batch being put together, from batch().Tm1ClientThe client for one TM1 server.Tm1ClientBuilderBuilds a Tm1Client.Tm1OperationAn action or function of the TM1 REST API, as $metadata declares it.Tm1Operation.ParameterA parameter.Tm1RequestOne TM1 REST call, described but not sent.
Sessions and logins
CognosPassportsCAM passports from Cognos, for camPassport.Tm1AuthenticatorSupplies the credentials for logging in to TM1.Tm1IdentityWho a session is.Tm1SessionOne TM1 session, shared by every service.Tm1SessionBuilderBuilds a Tm1Session.Tm1SessionBatchA JSON $batch being put together.Tm1SessionClosedExceptionA request was made on a session after close().Tm1SessionPoolSessions on one TM1 server, one per Tm1Identity, for applications that act on behalf of many users.Tm1SessionPoolBuilderBuilds a Tm1SessionPool.Tm1SessionPoolStatsWhat a pool holds and has done.Tm1TimeoutsHow long the session waits, by kind of work.
Dimensions and hierarchies
AttributeOwnerAn object whose attribute values can be translated.AttributeServiceAttribute definitions.AttributeSetA set of attribute definitions.DimensionService/Dimensions and the operations bound to a dimension.EdgeService/Dimensions('d')/Hierarchies('h')/Edges, the parent-child links of a hierarchy, each keyed by its parent's and its component's names.ElementService/Dimensions('d')/Hierarchies('h')/Elements, an element's parents, components and edges, and the operations bound to an element.HierarchyService/Dimensions('d')/Hierarchies, a dimension's default hierarchy, and the operations bound to a hierarchy.LevelService/Dimensions('d')/Hierarchies('h')/Levels, keyed by number, and their members.LocalizedAttributeServiceTranslated attribute values.MemberService/Dimensions('d')/Hierarchies('h')/Members, the MDX view of a hierarchy's elements, and a member's parent, children, element, level and hierarchy.SubsetScopeWho sees a subset, and so which of a hierarchy's collections holds it.SubsetServiceA hierarchy's public, private and session subsets (SubsetScope), their elements, and the operations bound to a subset or creating a session subset.
Cubes and views
CubeService/Cubes, a cube's dimensions, and the operations bound to a cube.ViewScopeWho sees a view, and so which of a cube's collections holds it.ViewServiceA cube's public and private views (ViewScope), native (NativeView.
Reading and writing data
CellServiceCell writes to a cube, by coordinates.CellsetServiceThe server-side results of an MDX query or a view, with their axes and cells.ChangeSetServiceChange sets.DrillthroughServiceFrom a cell to the detail behind it, through a drillthrough process (}Drill_…).MemberSetServiceMember sets.SandboxServicePrivate copies of the data a user writes to before publishing.TuplesCell coordinates, as TM1 binds them.
Processes and chores
ChoreServiceScheduled runs of processes, as ordered tasks.ProcessDebugServiceProcess debugging.ProcessServiceProcesses (TurboIntegrator).SqlDataSourceServiceThe ODBC data sources on TM1's host, which processes can read from (DataSource.Type ODBC).
Security
GroupServiceSecurity groups.OidcKeyServiceThe OpenID Connect signing keys TM1 has cached, for servers that check OIDC tokens themselves.SessionServiceServer sessions.ThreadServiceServer threads.UserService/Users, the session's own user, their groups, and disconnecting them.
The server
EncryptionServiceEncryption at rest (schema 11.8.35, except where a method says).LogServiceThe server's logs.ServerServiceThe server.
More services
AnnotationServiceComments on cube cells, as Planning Analytics Workspace makes them, and the application context facets that tie them to cubes.ContentPathWhere an entry is in the contents tree.ContentScopeWho sees an entry, and so which of a folder's collections holds it.ContentServiceThe contents tree, where Planning Analytics keeps applications.GitCommitDetailsWhat a push's commit says, and who it's by.GitCredentialsHow TM1 signs in to the Git remote.GitServiceTM1 Git (schema 11.5.0).
Queries
FilterA $filter expression, built from ODataProperty comparisons and the canonical functions TM1 supports.Filter.VariableA lambda's range variable, the root of paths inside it.ODataEncodingPercent-encoding for OData URLs, applied exactly once to each piece (OData Part 2 §2.1).ODataJsonOData 4.0 JSON control information names, and helpers for writing them.ODataLiteralsOData literals, as they appear in keys, function parameters and $filter, before percent-encoding.ODataLiterals.RawA literal written exactly as given, such as ibm.tm1.api.v1.ElementType'Numeric' or 2026-11-21.ODataPathA resource path relative to the service root, built from segments and encoded as it's built.ODataPath.AliasA parameter alias used as a function parameter value.ODataPropertyA property path for queries, such as Name or Hierarchy/Name.ODataQueryOData query options.
Errors
ODataErrorAn OData error response body.Tm1ApiExceptionTM1 answered with an error status.Tm1AuthenticationExceptionNot logged in, the session expired, or the credentials were refused (CREDENTIAL_REJECTED).Tm1BadRequestException400-range errors not covered by another type, e.g.Tm1ConflictExceptionThe request conflicts with existing state.Tm1ErrorClassifierWorks out a Tm1ErrorKind from an error response.Tm1ErrorClassifier.RuleOne classification rule.Tm1ErrorKindWhat a TM1 error means, as worked out by Tm1ErrorClassifier.Tm1ExceptionSomething went wrong talking to TM1.Tm1ForbiddenExceptionNot allowed.Tm1NotFoundExceptionThe object doesn't exist, whether TM1 said 404 or 400.Tm1NotImplementedExceptionTM1 doesn't implement the request (501), such as $search.Tm1PreconditionFailedExceptionAn If-Match ETag was stale (412), or required and missing (428).Tm1ProtocolExceptionTM1's response couldn't be read.Tm1ServerExceptionTM1 failed while handling the request (5xx).Tm1TransportExceptionNo complete response from TM1.Tm1TransportException.PhaseHow far the request got.Tm1UnsupportedOperationExceptionThe connected server doesn't define what a request needs, so the client didn't send it.
Versions and capabilities
Tm1CapabilitiesWhat a connected TM1 server supports, read from its own $metadata.Tm1CapabilitySomething a request needs the server to define in its $metadata.Tm1DialectHow to reach a kind of TM1 deployment.Tm1VersionA TM1 server version, as reported by Server.ProductVersion (read through Tm1Session.version()).