Skip to content

Article Images ​

/api/odb.dll/odb/articlesimage.jpg

Returns a rendered article image at the requested resolution.

Request ​

GET /api/odb.dll/odb/articlesimage.jpg?token={TOKEN}&manufacturer={MANU}&program={PROG}&basearticlenumber={ARTNR}&finalarticlenumber={FINNR}&width={W}&height={H}&reinitstring={REINIT}

Parameters ​

ParameterRequiredDescription
tokenRequiredAuthentication
profileOptionalServer profile
manufacturerRequiredManufacturer ID
programRequiredSeries ID
basearticlenumberRequiredBase article number
finalarticlenumberRequiredFinal article number
reinitstringOptionalReinit string
metareinitstringOptionalMeta reinit string
widthOptionalImage width in pixels (default: 250)
heightOptionalImage height in pixels (default: 250)
viewOptionalCamera angle: top, left, right, bottom, front, back
camstyleOptionalCamera style: 0 = perspective, 1 = orthographic (default: 1)

Response ​

Image in JPEG format.

HTTP headers ​

The response headers contain the dimensions (bounding box) of the article in meters, e.g. SizeX: 1.4000 for a table 140 cm wide:

HeaderDescription
SizeXWidth (OFML X axis)
SizeYHeight (OFML Y axis)
SizeZDepth (OFML Z axis)

Error handling ​

Unlike all other methods, no error JSON is returned on error; instead, the corresponding HTTP status code is returned:

CodeMeaning
400Missing or invalid parameter
401Missing or invalid token
404No component list found
500Server error

Example ​

HTML embedding ​

html
<img
  src="https://web.3doffice.de/webkatalog2/api/odb.dll/odb/articlesimage.jpg?token={TOKEN}&manufacturer=_dx&program=webti&basearticlenumber=27R0614Q&finalarticlenumber=27%20R%2006%2014%20KL%20Q&width=300&height=300&reinitstring=..."
  width="300px"
  height="300px"
  alt="Article image"
>

curl ​

bash
curl -o artikel.jpg \
  "https://web.3doffice.de/webkatalog2/api/odb.dll/odb/articlesimage.jpg?token={TOKEN}&manufacturer=_dx&program=webti&basearticlenumber=27R0614Q&finalarticlenumber=27%20R%2006%2014%20KL%20Q&width=500&height=500"

3D office WebKatalog 2.5 — ub.unitel GmbH