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
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 | ✓ |
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
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 | ✓ |
Returns the possible filter and the filter values for a given construction part category.
https://lignumdata.ch/api/v1.cfc?method=getFilter&type=decke
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 | ✓ |
Returns the descriptions and units of the properties fetched via getBauteil
route.
https://lignumdata.ch/api/v1.cfc?method=getDescriptions
parameter | description | optional |
---|---|---|
method |
getDescriptions |
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
parameter | description | optional |
---|---|---|
method |
getLanguages |
Add a condition parameter to the request for additional filtering. The possible filters are explained below.
id
Filter by the construction part system id.
&condition={"id": "6DF3DCCD-ADC5-78BF-379EE72E6EE25F70"}
type
Filter by the construction part category.
decke
, trennwand
, twzweischalig
, aussenwand
, steildach
, flachdach
&condition={"type":"decke"}
laufnummer
Filter by the construction part number.
e.g. A0090
, A0092
, …
&condition={"laufnummer": "A0090"}
hersteller
Filter by the constructor of a single part.
e.g. isover
, Rigips
, …
&condition={"hersteller":"isover"}
bauteilevon
Filter by the source of a single part.
e.g. Fermacell
, Lignatur
, Lignum
, …
&condition={"bauteilevon":"Lignum"}
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.
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 |
&condition={"bauteiltyp": ["Rippen", "Balken"]}
dicke
Filter by the thickness / height of the construction parts.
The data needs to be provided as JSON Object.
Property Name | Description | Optional |
---|---|---|
min | the minimal value | ✓ |
max | the maximal value | ✓ |
&condition={"dicke": {"min": 250, "max": 400}}
&condition={"dicke": {"min": 250}}
luftschall
Filter by the weighted sound reduction index. You can also define the spectrum adaptation term.
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 | ✓ |
Construction Part Category | Possible Values |
---|---|
all | c |
aussenwand , steildach , flachdach |
ctr |
decke |
c50_3150 |
&condition={"luftschall": {"min": 20, "max": 80}}
&condition={"luftschall": {"max": 80, "anpassung": "c"}}
daemmungkonstruktion
Filter the construction parts, depending on whether they have cavity insulation between the support structure or not.
This filter only has an effect on construction parts belonging to the following categories:
decke
, trennwand
, twzweischalig
, steildach
, flachdach
This filter accepts a boolean value: true
, false
.
&condition={"daemmungkonstruktion": false}
&condition={"type": "decke", "daemmungkonstruktion": true}
bekleidung
Filter the construction parts by the different ceiling linings.
This filter only has an effect on construction parts belonging to the following categories:
decke
, aussenwand
, steildach
, flachdach
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 |
&condition={"bekleidung": "Doppelte Bekleidung"}
beplankung
Filter the construction parts by the different sheathings.
This filter only has an effect on construction parts belonging to the following categories:
trennwand
, twzweischalig
, steildach
, flachdach
Construction Part Category | Possible Values |
---|---|
all | Ohne Beplankung |
trennwand , twzweischalig , steildach |
Beplankung beidseitig , Beplankung einseitig |
flachdach |
Beplankung links |
&condition={"type":"steildach", "beplankung":"Beplankung beidseitig"}
daemmungbekleidung
Filter the construction parts, depending on whether they have cavity insulation in the cover or not.
This filter only has an effect on construction parts belonging to the following categories:
trennwand
, steildach
, flachdach
This filter accepts a boolean value: true
, false
.
&condition={"type":"trennwand", "daemmungbekleidung": false}
trittschall
filter by the weighted normalized impact sound pressure level. You can also define the spectrum adaptation term.
This filter only has an effect on construction parts belonging to the following categories:
decke
, flachdach
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 | ✓ |
Construction Part Category | Possible Values |
---|---|
decke , flachdach |
ci , ci50_2500 |
&condition={"trittschall": {"min": 25, "max": 60}}
&condition={"trittschall": {"max": 60, "anpassung": "ci"}}
beschwerungkonstruktion
Filter the construction parts, depending on whether they have damping in the construction or not.
This filter only has an effect on construction parts belonging to the following categories:
decke
This filter accepts a boolean value: true
, false
.
&condition={"type":"`decke`", "beschwerungkonstruktion": true}
beschwerungtragschicht
Filter the construction parts, depending on whether they have damping on the construction or not.
This filter only has an effect on construction parts belonging to the following categories:
decke
This filter accepts a boolean value: true
, false
.
&condition={"type":"decke", "beschwerungtragschicht": false}
estrich
Filter the construction parts by the different screeds.
This filter only has an effect on construction parts belonging to the following categories:
decke
Construction Part Category | Possible Values |
---|---|
decke |
ohne Estrich , mit Zementestrich , mit Anhydritfliessestrich , mit Trockenestrich , mit Knauf Fließestrich FE 50 Largo |
&condition={"type":"decke", "estrich": "ohne Estrich"}
lueftung
Filter the construction parts by the different facade types.
This filter only has an effect on construction parts belonging to the following categories:
aussenwand
Construction Part Category | Possible Values |
---|---|
aussenwand |
Hinterlüftete Fassade , Kompaktfassade , Hinterlüftete Fassade und Bekleidung , Kompaktfassade und Bekleidung |
&condition={"type":"aussenwand", "lueftung": "Hinterlüftete Fassade"}
nutzschicht
filter the construction parts by the different wear layers.
This filter only has an effect on construction parts belonging to the following categories:
flachdach
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 |
&condition={"type":"flachdach", "nutzschicht": "Kies"}
wandbekleidung
Filter the construction parts by the different wallcovering.
This filter only has an effect on construction parts belonging to the following categories:
trennwand
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 |
&condition={"type":"trennwand", "wandbekleidung": "Freistehend"}
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"}
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.
compatibility mode off | compatibility mode on | |
---|---|---|
condition query parameter |
|
|
getFilter route result |
|
|
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
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.
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.
image_jpg
from the property media
in the getBauteil
function is now an optional property (updated schema). The property should be filled in allmost all cases, unless while updating the images there can be a short period, where the property is undefined.getLanguages
routeifcorientation
property to the property bauteilgruppe
in the getBauteil
functionaufbau
, faserrichtung
, kbob_id
and grafikfarbcode
properties to the layers in the property aufbau
in the getBauteil
function0
not -
produktName
and herstellerName
to all lowercase variants produktname
and herstellername
.estrich
property to the getBauteil
functionbeschwerungtragschicht
property to the getBauteil
functionbeschwerungkonstruktion
property to the getBauteil
functiondaemmungkonstruktion
property to the getBauteil
functiongetFilter
functionhersteller
property in the condition
parameter of getBauteil
routegetBauteil
routebauteilname
) to returned data of getBauteil
routebrandverhaltensgruppe
) to the assembly layers data (getBauteil
route)getBauteilIndex
route now accepts page=all
to turn off paginationgetDescriptions
anpassung
) to returned trittschall
and luftschall
data for getFilter
routegetFilter
routegetFilter
getFilter
route to return the filter keys associated with a localized labelwandbekleidung
) to returned data for getBauteil
getBauteil
and getFilter
getFilter
routegetBauteilIndex
and getFilter
quellekonstruktion
, fassadentyp
, beplankung
, bekleidung
) to returned data for getBauteil
beschreibung
) to returned data for getBauteil
bauteilevon
bauteiltyp
, dicke
, luftschall
, daemmungkonstruktion
, bekleidung
, beplankung
, daemmungbekleidung
, trittschall
, beschwerungkonstruktion
, beschwerungtragschicht
, estrich
, lueftung
, nutzschicht
, wandbekleidung
)