Documentation Index
Fetch the complete documentation index at: https://developers.lucca.fr/llms.txt
Use this file to discover all available pages before exploring further.
Definition
Theaxis-sections are API resources that represent individual elements within a list. They serve as analytical dimensions, used to label time-entries or expenses. These are fully customizable objects, which means they can represent various concepts such as projects, clients, cost centers, or components of an organization’s structure.
Each axis-section belongs to an axis, which represents the list to which the sections belong. For instance, an axis named “Projects” would contain axis-sections representing each of the company’s projects.
You then usually will retrieve axis-sections while filtering on their axis:
axis might be a child of a “Clients” axis. In this setup, each axis-section within the “Projects” axis can reference an axis-section from the “Clients” axis as its parent.
These relationships can be:
- One-to-many (1-N): each child has a single parent, or
- Many-to-many (N-N): a child can have multiple parents.
axis-sections that belong to a given “client” axis-section:
isNNRelation property on the axis object.
For example, a many-to-many relationship would apply if there is an extra axis called “Tasks” that is a child of the “Projects” axis—assuming that a task can be associated with multiple projects.
axis-sections (e.g. expenses and time-entries) usually do the whole tree branch (i.e. the client, project and task axis-sections) rather than just the lowest level leaf.
Setting an Axis-Section Name
When creating a new axis-section (POST) or updating its name (PUT), you should set themultilingualName field, which allows you to specify it in multiple languages.
The multilingualName may be formatted either as:
- A JSON object,
- A string with
"[]"or"|"delimiters.