Lignum API (v1.2.1)

Routes

getBauteil:

Returns a list of construction parts with all its data. The result set is limited to 20 entries per request.

https://lignumdata.ch/api/v1.cfc?method=getBauteil
Parameters
parameter description optional
method getBauteil
condition a JSON Object containing the conditions to apply to the request.
see Conditions
page see Paging
compatMode see Compatibility Mode
JSON Schema

View schema

getBauteilIndex:

Returns an index which contains all construction part ids. The result set is limited to 500 entries per request.

https://lignumdata.ch/api/v1.cfc?method=getBauteilIndex
Parameters
parameter description optional
method getBauteilIndex
condition a JSON Object containing the conditions to apply to the request.
see Conditions
page see Paging (authenticated users can turn of pagination by passing the special value all)
compatMode see Compatibility Mode
JSON Schema

View schema

getFilter:

Returns the possible filter and the filter values for a given construction part category.

https://lignumdata.ch/api/v1.cfc?method=getFilter&type=decke
Parameters
parameter description optional
method getFilter
type the construction part category of which the filter data should be loaded.
The special value all returns information about all types.
For the other allowed values, see Filter by type
filtername restrict the output to a single filter type.
Allowed values are the keys of the condition JSON Object, except id, type and laufnummer.
condition a JSON Object containing the conditions to apply to the request.
Use this parameter to restrict the returned filter values to those still valid under condition.
see Conditions
NB: The type condition is ignored.
compatMode see Compatibility Mode
JSON Schema

View schema and examples

getDescriptions:

Returns the descriptions and units of the properties fetched via getBauteil route.

https://lignumdata.ch/api/v1.cfc?method=getDescriptions
Parameters
parameter description optional
method getDescriptions
JSON Schema

View schema

getLanguages:

Returns a object of all available Languages. Only the languages available with the current login are output.

https://lignumdata.ch/api/v1.cfc?method=getLanguages
Parameters
parameter description optional
method getLanguages
JSON Schema

View schema

Conditions

Add a condition parameter to the request for additional filtering. The possible filters are explained below.

Filter by id

Filter by the construction part system id.

Example
&condition={"id": "6DF3DCCD-ADC5-78BF-379EE72E6EE25F70"}

Filter by type

Filter by the construction part category.

Possible Values

decke, trennwand, twzweischalig, aussenwand, steildach, flachdach

Example
&condition={"type":"decke"}

Filter by laufnummer

Filter by the construction part number.

Possible Values

e.g. A0090, A0092, …

Example
&condition={"laufnummer": "A0090"}

Filter by hersteller

Filter by the constructor of a single part.

Possible Values

e.g. isover, Rigips, …

Example
&condition={"hersteller":"isover"}

Filter by bauteilevon

Filter by the source of a single part.

Possible Values

e.g. Fermacell, Lignatur, Lignum, …

Example
&condition={"bauteilevon":"Lignum"}

Filter by bauteiltyp

Filter by the type of the supporting structure the construction parts.

Multiple types can be specified at once. Therefore the filter values need to be passed as JSON Array.

Possible Values
Construction Part Category Possible Values
decke, trennwand, twzweischalig, aussenwand, steildach Massivholz
trennwand, twzweischalig, aussenwand Ständer
twzweischalig, trennwand Metallständer, Massivholz Holzwerkstoff
steildach, flachdach Massivholz Brettstapel, Rippen / Sparren
decke Rippen / Balken, Hohlkasten, Holz-Beton-Verbund (HBV), Balken, Massivholz Brettsperrholz, Rippen
unused Balken ohne Unterbau, Metallständer einseitig beplankt, Metallständer beidseitig beplankt, Ständer einseitig beplankt, Ständer beidseitig beplankt, Massivholz Blockbau, Sonderkonstruktion
Example
&condition={"bauteiltyp": ["Rippen", "Balken"]}

Filter by dicke

Filter by the thickness / height of the construction parts.

Data Structure

The data needs to be provided as JSON Object.

Property Name Description Optional
min the minimal value
max the maximal value
Example
&condition={"dicke": {"min": 250, "max": 400}}
&condition={"dicke": {"min": 250}}

Filter by luftschall

Filter by the weighted sound reduction index. You can also define the spectrum adaptation term.

Data Structure

The data needs to be provided as JSON Object.

Property Name Description Optional
min the minimal value
max the maximal value
anpassung spectrum adaptation term
Values of the Spectrum Adaptation Term
Construction Part Category Possible Values
all c
aussenwand, steildach, flachdach ctr
decke c50_3150
Example
&condition={"luftschall": {"min": 20, "max": 80}}
&condition={"luftschall": {"max": 80, "anpassung": "c"}}

Filter by daemmungkonstruktion

Filter the construction parts, depending on whether they have cavity insulation between the support structure or not.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
decke, trennwand, twzweischalig, steildach, flachdach

Possible Values

This filter accepts a boolean value: true, false.

Example
&condition={"daemmungkonstruktion": false}
&condition={"type": "decke", "daemmungkonstruktion": true}

Filter by bekleidung

Filter the construction parts by the different ceiling linings.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
decke, aussenwand, steildach, flachdach

Possible Values
Construction Part Category Possible Values
all Ohne Bekleidung
decke, aussenwand Unterkonstruktion steif befestigt, Unterkonstruktion mit Direktabhänger
steildach, flachdach Einfache Bekleidung, Doppelte Bekleidung
decke Unterkonstruktion entkoppelt
aussenwand Ohne Unterkonstruktion, direkt montiert, Unterkonstruktion mit Distanz verschraubt
Example
&condition={"bekleidung": "Doppelte Bekleidung"}

Filter by beplankung

Filter the construction parts by the different sheathings.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
trennwand, twzweischalig, steildach, flachdach

Possible Values
Construction Part Category Possible Values
all Ohne Beplankung
trennwand, twzweischalig, steildach Beplankung beidseitig, Beplankung einseitig
flachdach Beplankung links
Example
&condition={"type":"steildach", "beplankung":"Beplankung beidseitig"}

Filter by daemmungbekleidung

Filter the construction parts, depending on whether they have cavity insulation in the cover or not.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
trennwand, steildach, flachdach

Possible Values

This filter accepts a boolean value: true, false.

Example
&condition={"type":"trennwand", "daemmungbekleidung": false}

Filter by trittschall

filter by the weighted normalized impact sound pressure level. You can also define the spectrum adaptation term.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
decke, flachdach

Data Structure

The data needs to be provided as JSON Object.

Property Name Description Optional
min the minimal value
max the maximal value
anpassung spectrum adaptation term
Values of the Spectrum Adaptation Term
Construction Part Category Possible Values
decke, flachdach ci, ci50_2500
Example
&condition={"trittschall": {"min": 25, "max": 60}}
&condition={"trittschall": {"max": 60, "anpassung": "ci"}}

Filter by beschwerungkonstruktion

Filter the construction parts, depending on whether they have damping in the construction or not.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
decke

Possible Values

This filter accepts a boolean value: true, false.

Example
&condition={"type":"`decke`", "beschwerungkonstruktion": true}

Filter by beschwerungtragschicht

Filter the construction parts, depending on whether they have damping on the construction or not.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
decke

Possible Values

This filter accepts a boolean value: true, false.

Example
&condition={"type":"decke", "beschwerungtragschicht": false}

Filter by estrich

Filter the construction parts by the different screeds.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
decke

Possible Values
Construction Part Category Possible Values
decke ohne Estrich, mit Zementestrich, mit Anhydritfliessestrich, mit Trockenestrich, mit Knauf Fließestrich FE 50 Largo
Example
&condition={"type":"decke", "estrich": "ohne Estrich"}

Filter by lueftung

Filter the construction parts by the different facade types.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
aussenwand

Possible Values
Construction Part Category Possible Values
aussenwand Hinterlüftete Fassade, Kompaktfassade, Hinterlüftete Fassade und Bekleidung, Kompaktfassade und Bekleidung
Example
&condition={"type":"aussenwand", "lueftung": "Hinterlüftete Fassade"}

Filter by nutzschicht

filter the construction parts by the different wear layers.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
flachdach

Possible Values
Construction Part Category Possible Values
flachdach Ohne Nutzschicht, Kies, Gartenplatten, Gartenplatten und Splitt 3-6 mm, Leichtgründach, Extensive Dachbegrünung, Rundkies, Blähton und Schutzbahn, Holzterrasse und Schutzbahn, Gartenplatten, Kies und Schutzbahn
Example
&condition={"type":"flachdach", "nutzschicht": "Kies"}

Filter by wandbekleidung

Filter the construction parts by the different wallcovering.

Affected Construction Part Categories

This filter only has an effect on construction parts belonging to the following categories:
trennwand

Possible Values
Construction Part Category Possible Values
trennwand Ohne Bekleidung, Ohne Unterkonstruktion, direkt montiert, Freistehend, Unterkonstruktion mit Distanz verschraubt, Unterkonstruktion mit Direktabhänger, Unterkonstruktion steif befestigt, Unterkonstruktion entkoppelt
Example
&condition={"type":"trennwand", "wandbekleidung": "Freistehend"}

Combined Conditions

The single filter conditions can be combined for more finegrained filtering.

&condition={"type":"decke", "laufnummer": "A0090", "hersteller":"isover"}
&condition={"type":"flachdach", "luftschall":{"min":50, "anpassung":"ctr"}, "nutzschicht": "Kies"}
&condition={"type":"decke", "luftschall":{"min":59, "max":69, "anpassung":"c50_3150"}, "trittschall":{"min":49, "max":59, "anpassung":"ci50_2500"}, "dicke":{"min":435, "max":537}, "bauteiltyp":["Hohlkasten","Massivholz"], "estrich":"mit Anhydritfliessestrich", "beschwerungtragschicht":true, "beschwerungkonstruktion":false, "daemmungkonstruktion":true, "bekleidung":"Unterkonstruktion steif befestigt"}

Compatibility Mode

The compatibility mode can be activated by adding &compatMode=true to the query.

The condition object may contain filter values containing a space character. If the compatibility mode is activated, every space in a filter value will be replaced by an underscore (_). The compatibility mode also affects the returned data in the getFilter route.

The filter data from the getFilter route gathered with the compatibility mode activated will only work in the condition object when the the compatibility mode is activated for corresponding calls to the getBauteil and getBauteilIndex routes.

Examples
compatibility mode off compatibility mode on
condition query parameter
{
 "type": "steildach",
 "bekleidung": "Ohne Bekleidung",
 "daemmungkonstruktion": true,
}
{
 "type": "steildach",
 "bekleidung": "Ohne_Bekleidung",
 "daemmungkonstruktion": true,
}
getFilter route result
{
 "bekleidung": {
  "label": "Ceiling linings",
  "values": [
   {
    "label": "Without covering",
    "key": "Ohne Bekleidung"
   },
   {
    "label": "Simple covering",
    "key": "Einfache Bekleidung"
   },
   {
    "label": "Double covering",
    "key": "Doppelte Bekleidung"
   }
  ]
 }
}
{
 "bekleidung": {
  "label": "Ceiling linings",
  "values": [
   {
    "label": "Without covering",
    "key": "Ohne_Bekleidung"
   },
   {
    "label": "Simple covering",
    "key": "Einfache_Bekleidung"
   },
   {
    "label": "Double covering",
    "key": "Doppelte_Bekleidung"
   }
  ]
 }
}

Paging

The response is limited to a given number of records. This is mainly for performance reasons. To receive all records from our API your system should call the API multiple times until you have all needed data. To support a such implementation we include the following headers in our response:

To receive a specific page of data, you can add the following parameter to the request:

&page=2

Authentication

As a default setting, the lignum API is publicly available, you get all data which is also available on the website. For partners and authenticated users there are additional construction parts and all parts come with additional information (e.g. Pruefbericht URL).

To make an authenticated request, you can add the "Authentication" header to your request.

The header has to contain the username and password, separated by a colon. This string has to be base64 encoded.

Example:

Authorization:   Basic base64(username:password)

which should then look like:

Authorization:   Basic dXNlcm5hbWU6cGFzc3dvcmQ=

You can use the same credentials as you use on the lignumdata website.

Language

All construction parts have content which is language specific. As a default, the API returns all those language specific parts in german. You can override this setting with the "language" header parameter:

Example:

Language:   en

Currently the following languages are supported: cs,uk,ro,it,no,pl,bg,fr,sv,en,ru,es,de,fi,et,ja.

Note: Depending on the login, not all Languages can be used (see method getLanguages). And keep in mind, not all translations are final.

Changes

v1.2.1

v1.2.0

v1.1.9

v1.1.8

v1.1.7

v1.1.6

v1.1.5

v1.1.4

v1.1.3

v1.1.2

v1.1.1

v1.1.0