API | REST | OpenAPI¶

This page provides the searchable V1.10.0 REST reference and downloadable OpenAPI description for LRS4000. For REST concepts, authentication, and request patterns, see REST API / OpenAPI.
LRS4000_1.10.0.yaml (Download)
Always match the file to your device's actual firmware version. Function availability can vary by variant and installed software package.
1 - General
POST /SetPassword¶
Sets the password for the CoLa A/B interface. In this example the password for userlevel service (4) is set to - test - (Integer value of the password hash - test -). For more details see https://github.com/SICKAG/sick_scan_rest_client.
JSON example
{
"data": {
"siUserLevel": 4,
"udiNewPassword": 3410122659
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
dataExample:
{ "siUserLevel": 4, "udiNewPassword": 3410122659 }siUserLevelType: integer · Format: int8
udiNewPasswordType: integer · Format: uint32
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /getChallenge¶
Returns a challenge for the challenge and response authentication method. For more details see https://github.com/SICKAG/sick_scan_rest_client
JSON example
{
"data": {
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
datauserFields: E_USER_LEVEL_TYPE
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||
|---|---|---|---|---|---|---|---|---|---|
challenge |
|
POST /changePassword¶
Sets the password for the REST interface. For more details see https://github.com/SICKAG/sick_scan_rest_client.
JSON example
{
"data": {
"encryptedMessage": [],
"userLevel": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
dataencryptedMessageDefault:
[]Type: array · Minimum items: 0 · Maximum items: 96
Items:Type: integer · Format: uint8
userLevelFields: E_USER_LEVEL_TYPE
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /WriteEeprom¶
Saves all parameters permanently.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /SoftReset¶
Reboots the device. All non-saved parameters are lost. This function requires the user level: Service.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ProcessorNbr": "<integer>"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /RebootDevice¶
Reboots the device and includes saving of all parameters. This function requires the user level: Service.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /LoadFactoryDefaults¶
Resets all parameters to default. This function requires the user level: Service.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /LoadApplicationDefaults¶
Resets only the user parametrization of the fields, evaluation cases, and parameters under the section Application. Other parameters like interface settings, echo filter, etc. remain unchanged. This function requires the user level: Service.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
2 - Status
GET /DeviceStatus¶
Returns the device state (9 possible states).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/DeviceStatus"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /SCdevicestate¶
Returns the device state (busy, ready, or error).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/SCdevicestate"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
3 - Device
GET /DeviceIdent¶
Returns the device name and firmware version.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/DeviceIdent"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||
|---|---|---|---|---|---|
data |
|
GET /LocationName¶
Returns/sets the device name.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/LocationName"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /LocationName¶
Returns/sets the device name.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"LocationName": "not defined"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /SerialNumber¶
Returns the serial number.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/SerialNumber"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /FirmwareVersion¶
Returns the current firmware version.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/FirmwareVersion"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /FindMe¶
Sets the device LEDs into blinking mode for better identification.
JSON example
{
"data": {
"uiDuration": 100
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
dataExample:
{ "uiDuration": 100 }uiDurationType: integer · Format: uint16
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /OrderNumber¶
Returns the order number (SICK part number).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/OrderNumber"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /DeviceType¶
Returns the device type.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/DeviceType"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
4 - Basic settings
GET /ScanConfig¶
Configuration of angular resolution, scanning frequency, start- and stop angle.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ScanConfig"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
GET /SensitivityMode¶
The sensitivity mode can be used to adjust the detection behavior. A higher sensitivity increases the scanning range. This setting should only be used when there is no direct sunlight and only low ambient light. A higher sensitivity increases the proneness to measurement noise and data loss. Ambient light can negatively affect the signal quality and impair the measurement performance.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/SensitivityMode"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /SensitivityMode¶
The sensitivity mode can be used to adjust the detection behavior. A higher sensitivity increases the scanning range. This setting should only be used when there is no direct sunlight and only low ambient light. A higher sensitivity increases the proneness to measurement noise and data loss. Ambient light can negatively affect the signal quality and impair the measurement performance.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"SensitivityMode": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /SetScanConfigList¶
Set a new device scan resolution/frequency combination. Please note that configurations, starting with value 3x or 9x switch the device from standard to extended range mode and values starting with x, 1x, 6x, 7x switch the device from extended range to normal mode.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ScanConfigList": 1
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data | Example:
|
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /LEDEnable¶
Returns/sets the LED mode (on/off).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/LEDEnable"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /LEDEnable¶
Returns/sets the LED mode (on/off).
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"LEDEnable": true
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /mStartMeasure¶
Start motor, measurement and laser.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /mStandby¶
Disable the laser.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
5 - Date and system time
GET /DeviceTime¶
Returns the current time of the internal clock (ms). The timer is 32 bit counter with a resolution of 1 ms.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/DeviceTime"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /TSCRole¶
Returns/sets the time synchronization role (none = 0 , NTP = 1 or PTP = 3).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/TSCRole"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /TSCRole¶
Returns/sets the time synchronization role (none = 0 , NTP = 1 or PTP = 3).
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"TSCRole": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /TSCTCSrvAddr¶
Returns/sets the NTP time server's IP address.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/TSCTCSrvAddr"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /TSCTCSrvAddr¶
Returns/sets the NTP time server's IP address.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"TSCTCSrvAddr": [
192,
168,
0,
11
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /TSCTCtimezone¶
Returns/sets the NTP time zone.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/TSCTCtimezone"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /TSCTCtimezone¶
Returns/sets the NTP time zone.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"TSCTCtimezone": 36
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /TSCTCupdatetime¶
Returns/sets the NTP update time.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/TSCTCupdatetime"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /TSCTCupdatetime¶
Returns/sets the NTP update time.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"TSCTCupdatetime": 600
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /DateTime¶
Returns the current time of the device (years, months, days, hours, minutes, seconds, microseconds).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/DateTime"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /mSetDateTime¶
Sets the time of the device (years, months, days, hours, minutes, seconds, microseconds).
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"DateTime": {
"uiYear": 0,
"usiMonth": 1,
"usiDay": 1,
"usiHour": 0,
"usiMinute": 0,
"usiSec": 0,
"udiUSec": 0
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
6 - Filter
GET /FREchoFilter¶
Returns/sets the multi-echo filter settings. Depending on the environment the sensor receives several measurement points on the same angular step (multi-echo). The filter can filter out the first echo, the last echo or all echoes.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/FREchoFilter"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /FREchoFilter¶
Returns/sets the multi-echo filter settings. Depending on the environment the sensor receives several measurement points on the same angular step (multi-echo). The filter can filter out the first echo, the last echo or all echoes.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"FREchoFilter": 2
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /ParticleFilter¶
Returns/sets the particle filter settings. Filters out disturbances in the measurement data caused by particles such as dust, snowflakes, or similar. Configure the minimal threshold of the required distance step (mm) between the echo to be filtered and the echoes of surrounding beam angles.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ParticleFilter"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||
|---|---|---|---|---|---|
data |
|
POST /ParticleFilter¶
Returns/sets the particle filter settings. Filters out disturbances in the measurement data caused by particles such as dust, snowflakes, or similar. Configure the minimal threshold of the required distance step (mm) between the echo to be filtered and the echoes of surrounding beam angles.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ParticleFilter": {
"bEnable": false,
"uiThreshold": 1000
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||
|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /MeanFilter¶
Returns/sets the mean filter settings. This filter smooths the distance value by calculating the arithmetic mean from the configured number of scans.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/MeanFilter"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
POST /MeanFilter¶
Returns/sets the mean filter settings. This filter smooths the distance value by calculating the arithmetic mean from the configured number of scans.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"MeanFilter": {
"bEnable": false,
"uiScanNumber": 10,
"eFilterMethod": 0
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /LFPmedianfilter¶
Returns/sets the median filter settings. This filter smooths the distance values by transmitting just the median value of the last X scans.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/LFPmedianfilter"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||
|---|---|---|---|---|---|
data |
|
POST /LFPmedianfilter¶
Returns/sets the median filter settings. This filter smooths the distance values by transmitting just the median value of the last X scans.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"LFPmedianfilter": {
"bEnable": false,
"uiMedianWidth": 3
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||
|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
7 - Contamination indication
GET /ContaminationConfig¶
Returns/sets of the contamination indication settings such as sensitivity, response time, threshold for warning, and active sectors.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ContaminationConfig"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
POST /ContaminationConfig¶
Returns/sets of the contamination indication settings such as sensitivity, response time, threshold for warning, and active sectors.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ContaminationConfig": {
"eStrategy": 0,
"usiResponseTime": 3,
"eThreshold": 1,
"eCover": 0,
"CustomSectors": [
false
],
"bEnableWarning": true,
"bEnableError": true
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /ContaminationData¶
Returns the contamination state of all contamination sectors.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ContaminationData"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /ContaminationActiveSectors¶
Returns the active contamination sectors. Starts with right backside of the sensor when looking to the device on topside view and continues counterclockwise.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ContaminationActiveSectors"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /ContaminationResult¶
Returns the contamination indication state of the device.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ContaminationResult"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||
|---|---|---|---|---|---|
data |
|
8 - Ethernet
GET /EtherIPAddress¶
Returns/sets used static IP address.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherIPAddress"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EtherIPAddress¶
Returns/sets used static IP address.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EtherIPAddress": [
192,
168,
0,
1
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /EtherIPGateAddress¶
Returns/sets default gateway address.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherIPGateAddress"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EtherIPGateAddress¶
Returns/sets default gateway address.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EtherIPGateAddress": [
0,
0,
0,
0
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /EtherIPMask¶
Returns/sets the subnet mask.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherIPMask"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EtherIPMask¶
Returns/sets the subnet mask.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EtherIPMask": [
255,
255,
255,
0
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /EtherAddressingMode¶
Returns/sets the mode for the IP address assignment (static or DHCP).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherAddressingMode"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EtherAddressingMode¶
Returns/sets the mode for the IP address assignment (static or DHCP).
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EtherAddressingMode": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /EtherDHCPFallback¶
Returns/sets the mode for the DHCP fallback (retry or static).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherDHCPFallback"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EtherDHCPFallback¶
Returns/sets the mode for the DHCP fallback (retry or static).
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EtherDHCPFallback": 1
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /EthernetUpdate¶
Applies the ethernet settings. This needs to be executed to actually change the ethernet settings.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /EtherIPAddressDHCP¶
Returns the assigned DHCP IP address.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherIPAddressDHCP"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /EtherIPGateAddressDHCP¶
Returns the assigned DHCP default gateway address.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherIPGateAddressDHCP"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /EtherIPMaskDHCP¶
Returns the assigned DHCP subnet mask.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherIPMaskDHCP"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /EtherMACAddress¶
Returns the MAC address of the ethernet interface.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherMACAddress"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EtherColaTransmitTimeout¶
This parameter should only be changed in case the sensor is connected to a network where reconnections may be required caused by e.g. loose contact of the Ethernet cable. This command changes the Acknowledge timeout for TCP based CoLa protocols. Reducing the Acknowledge timeout allows a faster restart of data transmission after unwanted disconnects. In large networks with high amount of data traffic, a reduced Acknowledge timeout may lead to a port close, initiated by the sensor.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EtherColaTransmitTimeout": 15000
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
9 - Legacy protocols
GET /EtherAuxEnabled¶
Enables/disables the legacy interface CoLa A/B. If enabled CoLa A uses port 2111 and CoLa B uses 2112.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EtherAuxEnabled"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EtherAuxEnabled¶
Enables/disables the legacy interface CoLa A/B. If enabled CoLa A uses port 2111 and CoLa B uses 2112.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EtherAuxEnabled": true
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /EnableColaScan¶
Enables/disables the device search by SICK tools. If disabled, finding the device via device search and changing the IP address via SICK tools is not possible.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EnableColaScan"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EnableColaScan¶
Enables/disables the device search by SICK tools. If disabled, finding the device via device search and changing the IP address via SICK tools is not possible.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EnableColaScan": true
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
10 - Webserver settings
POST /SetWebserverEnabled¶
Sets availability of the webserver (reboot required). If disabled, the webserver-based GUI and the REST interface can not be used anymore.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"Enable": true
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
11 - Inputs and outputs
GET /InputState¶
Returns the state of all inputs.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/InputState"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||
|---|---|---|---|---|---|---|---|---|---|
data |
|
GET /OutputState¶
Returns the state of all outputs.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/OutputState"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
GET /PortState¶
Returns the state of the ports. PortState is preferred over OutputState.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/PortState"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
POST /mResetOutputCounter¶
Resets the counter for the outputs.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /PortConfiguration¶
Returns/sets the port configuration of all I/Os.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/PortConfiguration"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
POST /PortConfiguration¶
Returns/sets the port configuration of all I/Os.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": [
{
"PortType": 0,
"Name": "InOut1",
"InputSettings": {
"Logic": 0,
"Debounce": 5,
"Sensitivity": 1,
"Reserved1": 0,
"Reserved2": 0
},
"OutputSettings": {
"Logic": 1,
"OutputMode": 0,
"RestartType": 0,
"RestartTime": 200,
"RestartInput": 1,
"Combination": 1,
"Reserved3": 0,
"Reserved4": 0,
"Sources": []
},
"Reserved7": 0,
"Reserved8": 0,
"Reserved9": 0,
"Reserved10": 0
},
{
"PortType": 1,
"Name": "InOut2",
"InputSettings": {
"Logic": 0,
"Debounce": 10,
"Sensitivity": 1,
"Reserved1": 0,
"Reserved2": 0
},
"OutputSettings": {
"Logic": 1,
"OutputMode": 2,
"RestartType": 0,
"RestartTime": 200,
"RestartInput": 1,
"Combination": 1,
"Reserved3": 0,
"Reserved4": 0,
"Sources": [
{
"Name": "DRDY",
"Invert": false,
"Reserved5": 0,
"Reserved6": 0
}
]
},
"Reserved7": 0,
"Reserved8": 0,
"Reserved9": 0,
"Reserved10": 0
},
{
"PortType": 1,
"Name": "InOut3",
"InputSettings": {
"Logic": 0,
"Debounce": 10,
"Sensitivity": 1,
"Reserved1": 0,
"Reserved2": 0
},
"OutputSettings": {
"Logic": 0,
"OutputMode": 0,
"RestartType": 0,
"RestartTime": 200,
"RestartInput": 1,
"Combination": 1,
"Reserved3": 0,
"Reserved4": 0,
"Sources": [
{
"Name": "FE01",
"Invert": false,
"Reserved5": 0,
"Reserved6": 0
}
]
},
"Reserved7": 0,
"Reserved8": 0,
"Reserved9": 0,
"Reserved10": 0
},
{
"PortType": 0,
"Name": "InOut4",
"InputSettings": {
"Logic": 0,
"Debounce": 10,
"Sensitivity": 1,
"Reserved1": 0,
"Reserved2": 0
},
"OutputSettings": {
"Logic": 0,
"OutputMode": 0,
"RestartType": 0,
"RestartTime": 200,
"RestartInput": 1,
"Combination": 1,
"Reserved3": 0,
"Reserved4": 0,
"Sources": []
},
"Reserved7": 0,
"Reserved8": 0,
"Reserved9": 0,
"Reserved10": 0
},
{
"PortType": 0,
"Name": "InOut5",
"InputSettings": {
"Logic": 0,
"Debounce": 10,
"Sensitivity": 1,
"Reserved1": 0,
"Reserved2": 0
},
"OutputSettings": {
"Logic": 0,
"OutputMode": 0,
"RestartType": 0,
"RestartTime": 200,
"RestartInput": 1,
"Combination": 1,
"Reserved3": 0,
"Reserved4": 0,
"Sources": []
},
"Reserved7": 0,
"Reserved8": 0,
"Reserved9": 0,
"Reserved10": 0
},
{
"PortType": 0,
"Name": "InOut6",
"InputSettings": {
"Logic": 0,
"Debounce": 10,
"Sensitivity": 1,
"Reserved1": 0,
"Reserved2": 0
},
"OutputSettings": {
"Logic": 0,
"OutputMode": 0,
"RestartType": 0,
"RestartTime": 200,
"RestartInput": 1,
"Combination": 1,
"Reserved3": 0,
"Reserved4": 0,
"Sources": []
},
"Reserved7": 0,
"Reserved8": 0,
"Reserved9": 0,
"Reserved10": 0
}
]
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | Example:
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /SetOutput¶
Sets the output state for an individual output. Precondition: output source set to SOPAS command.
Editable JSON template
{
"data": {
"Output": "<integer>",
"Value": "<integer>"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
dataOutputType: integer · Format: uint8
ValueType: integer · Format: uint8
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
12 - Data output
GET /DataOutputRange¶
Select the start and stop angle of the measurement data output for the currently active configuration. Once a valid configuration is set, the device will transmit valid distance values between the selected start and stop angle and for all other angles zero values. The amount of transmitted data will not be reduced by using this function.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/DataOutputRange"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
POST /DataOutputRange¶
Select the start and stop angle of the measurement data output for the currently active configuration. Once a valid configuration is set, the device will transmit valid distance values between the selected start and stop angle and for all other angles zero values. The amount of transmitted data will not be reduced by using this function.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"DataOutputRange": {
"uiLength": 1,
"aRange": [
{
"udiAngleRes": 1200,
"diStartAngle": -1800000,
"diStopAngle": 1800000
}
]
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /ScanDataScaleFactor¶
Configure the scaling factor for distance measurements when LMDscandata or Compact is selected as the data output format.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ScanDataScaleFactor"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /ScanDataScaleFactor¶
Configure the scaling factor for distance measurements when LMDscandata or Compact is selected as the data output format.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ScanDataScaleFactor": 1.0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /ScanDataFormat¶
Returns/sets the scan data format (e.g. Compact format) or disable scan data transmission.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ScanDataFormat"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /ScanDataFormat¶
Returns/sets the scan data format (e.g. Compact format) or disable scan data transmission.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ScanDataFormat": 3
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
13 - IMU data output
POST /EnableInertialMeasurementUnit¶
Enables/Disables IMU data streaming output on CoLa A/B protocol.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EnableInertialMeasurementUnit": false
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /InertialMeasurementUnit¶
Returns the current IMU data (e.g. Acceleration, Orientation, ... ). The data is given in the following coordinate system which is based on the DIN70000 system: The x-axis lies on the 90 degree beam of the 0 degree layer. The y-axis is perpendicular to the x-axis and lies in the 0 degree layer. The y-values are rising in the counterclockwise rotation direction (right-handed system). The z-axis is perpendicular to the x-y-plane and the scanner top points to rising z-values.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/InertialMeasurementUnit"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
14 - Region of interest
GET /LFPradialDistanceRangeFilter¶
Returns/sets the scanning range filter settings. Restriction of the distance measurements to a specified distance range. Measurement distances outside of the specified distance are assigned the distance and RSSI value 0.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/LFPradialDistanceRangeFilter"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
POST /LFPradialDistanceRangeFilter¶
Returns/sets the scanning range filter settings. Restriction of the distance measurements to a specified distance range. Measurement distances outside of the specified distance are assigned the distance and RSSI value 0.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"LFPradialDistanceRangeFilter": {
"bEnable": false,
"ulDistMin": 0,
"ulDistMax": 200000
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
15 - Field evaluation
GET /FieldEvaluationResult¶
Returns the state of all possible fields.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/FieldEvaluationResult"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /ActivateEvaluationGroup¶
Sets the activation condition for all existing evaluation groups, when activation is set to Telegram.
JSON example
{
"data": {
"List": [
{
"GroupId": 1,
"Activate": true
},
{
"GroupId": 2,
"Activate": false
},
{
"GroupId": 3,
"Activate": true
}
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
dataExample:
{ "List": [ { "Activate": true, "GroupId": 1 }, { "Activate": false, "GroupId": 2 }, { "Activate": true, "GroupId": 3 } ] }ListDefault:
[]Type: array · Minimum items: 0 · Maximum items: 48
Items:GroupIdType: integer · Format: uint16 · Default: 1 · Minimum: 1 · Maximum: 48
ActivateType: boolean · Default: false
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /SetFieldEvaluationContour¶
Sets the contour of an existing field.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EvaluationId": 1,
"LowerZLimit": 0,
"UpperZLimit": 0,
"Points": [
{
"x": 0,
"y": -1000
},
{
"x": 1000,
"y": -1000
},
{
"x": 1000,
"y": 1000
},
{
"x": 0,
"y": 1000
}
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | Example:
|
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /GetFieldEvaluationContour¶
Returns the contour of an existing field.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EvaluationId": "<integer>"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
GET /EvaluationGroupType¶
Reads the evaluation group type whether it's a field evaluation or perpendicular distance.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EvaluationGroupType"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EvaluationGroupType¶
Reads the evaluation group type whether it's a field evaluation or perpendicular distance.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EvaluationGroupType": [
0
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /FieldEvaluationGroupState¶
Returns the activation condition for all existing evaluation groups (not configured, active, or inactive).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/FieldEvaluationGroupState"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /FieldEvaluationApplicationState¶
Get the field evaluation application state. It returns the information whether the field evaluation application is active, configuring or deactivated. 0 - Deactivated - no evaluation is set up. 1 - Activated - at least one active evaluation (group activation has no influence on that). 2 - Configuring - new calculation of the e.g. field geometries.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/FieldEvaluationApplicationState"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /StartTeachIn¶
Starts the teach in process.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /StopTeachIn¶
Stops the teach in process.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /perpendicularDistanceResult¶
Returns the perpendicular distance within a field.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/perpendicularDistanceResult"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||
|---|---|---|---|---|---|
data |
|
16 - Operating data
GET /LastParaDate¶
Returns the last date (e.g. 12.11.2024) when a permanent parameter save was executed.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/LastParaDate"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /LastParaTime¶
Returns the last time (e.g. 13:24) when a permanent parameter save was executed.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/LastParaTime"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /PowerOnCnt¶
Returns the number of power on cycles.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/PowerOnCnt"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /DailyOpHours¶
Returns the runtime duration since the last power on (non-persistent).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/DailyOpHours"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /OpHours¶
Returns the total number of operating hours during the lifetime of the device. The resolution is a 1/10 hour.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/OpHours"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
GET /CurrentTempDev¶
Returns the current device temperature.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/CurrentTempDev"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
17 - 3D scan recording
POST /ScanMergerEnabled¶
Enable/ disable the Scan Merger functionality.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ScanMergerEnabled": false
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /ScanMergerSource¶
Select the source of the rotation that should be used to create the 3D point cloud.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ScanMergerSource": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /ScanMergeTrigger¶
Select a trigger for the Scan Merger functionality.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"ScanMergeTrigger": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /RotationOffset¶
Read/Write the current rotation offset of the scan merge in x, y and z direction in mm.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/RotationOffset"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
POST /RotationOffset¶
Read/Write the current rotation offset of the scan merge in x, y and z direction in mm.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"RotationOffset": {
"x": 0,
"y": 0,
"z": 0
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /EncoderTransformationType¶
Select the Encoder type that is used to create the scan merge when the Scan Merger source is set to Encoder.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EncoderTransformationType": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /EncoderRotation¶
Set the start orientation when the encoder transformation type is set to rotation.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EncoderRotation": {
"yaw": 0,
"pitch": 0,
"roll": 0
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /EncoderTranslation¶
Set the start orientation when the encoder transformation type is set to translation.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EncoderTranslation": {
"x": 0,
"y": 0,
"z": 0
}
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||||
|---|---|---|---|---|---|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /StartScanMerge¶
Start the recording of a scan merge when the Scan Merger functionality is enabled. The recording time is limited to 15 or 30 seconds, depending on the selected scan configuration.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /StopScanMerge¶
Stop the recording of a running scan merge.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
18 - Motor synchronization
POST /SyncMode¶
synchronisation mode e.g. no synchronisation, hardware synchronisation, CAN synchronisation or CLOCK synchronisation (LRS4000 only supports Clock-Sync and wire sync).
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"SyncMode": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /SyncPhase¶
synchronisation phase difference between master and slave.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"SyncPhase": 180
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /MotorSyncStatus¶
Check if PTP master and slave are synced.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/MotorSyncStatus"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
19- Encoder
POST /EncSetting¶
Select the encoder type.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EncSetting": 0
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /EncResolution¶
Set the encoder resolution in mm/Inc.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EncResolution": 10
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /ActualEncSpeed¶
Read encoder speed in m/s.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/ActualEncSpeed"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
20-Diagnostic file
POST /DoDiagnosisDump¶
Creates a diagnostic file (zip file) for further analysis.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"DoRunlevelLoop": true,
"Output": "file"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader | ||||
|---|---|---|---|---|---|
data | Example:
|
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /GetDiagnosisDumpInfo¶
Returns additional meta-information about the diagnostic file.
Build the JSON body from the request schema below.
Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
Type: object · Nullable: true
Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||
|---|---|---|---|---|---|
data |
|
21 - Detection History
GET /EnableDetectionHistory¶
Returns/sets the detection history.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EnableDetectionHistory"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EnableDetectionHistory¶
Returns/sets the detection history.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EnableDetectionHistory": true
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
GET /EvaluationsToLog¶
Returns/sets the evaluations which are logged (if they are in use).
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/EvaluationsToLog"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader |
|---|---|
data |
|
POST /EvaluationsToLog¶
Returns/sets the evaluations which are logged (if they are in use).
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
},
"data": {
"EvaluationsToLog": [
true
]
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
header | Fields: PostBodyHeader |
|---|---|
data |
|
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
POST /ResetDetectionHistory¶
Resets the detection history logs.
Editable JSON template
{
"header": {
"nonce": "<nonce from authentication>",
"opaque": "<opaque from authentication>",
"realm": "SICK Sensor",
"response": "<response from authentication>",
"user": "Run"
}
}Try the request
Protected requests need challenge-response authentication, so curl alone cannot send them; use the Python script on the REST Interface page.
Request body
Required: true
Media type: application/json
headerFields: PostBodyHeader
Responses
Status 200
Media type: application/json
headerFields: ResponseHeader
22 - Cybersecurity
GET /httpsStatus¶
Returns the status of the HTTPS interface.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/httpsStatus"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||
|---|---|---|---|---|---|
data |
|
GET /certificateBundleInfo¶
Returns information about the uploaded certificate bundle.
Try the request
Copy this command into a terminal. In Windows PowerShell, use curl.exe instead of curl.
curl --request GET "http://192.168.0.1/api/certificateBundleInfo"Responses
Status 200
Media type: application/json
header | Fields: ResponseHeader | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
|
Shared request and response fields
ResponseHeader
status | Allowed values: Type: integer · Format: uint16 · Default: 0 Mapping: * 0 - Ok * 1 - Parsing Failed * 2 - Invalid Data * 3 - Internal Server Error * 4 - Access Denied * 5 - Not Found * 6 - Out Of Range * 7 - Out Of Bounds * 8 - Read Only * 9 - Illegal Value * 10 - Invalid Challenge * 11 - Out Of Connections |
|---|---|
message | Type: string · Default: Ok |
PostBodyHeader
nonce | Type: string · Default: |
|---|---|
opaque | Type: string · Default: |
realm | Type: string · Default: SICK Sensor |
response | Type: string · Default: |
user | Fields: E_USER_LEVEL_TYPE |
E_USER_LEVEL_TYPE
Allowed values:
[
"Run",
"Operator",
"Maintenance",
"AuthorizedClient",
"Service"
]Type: string · Default: Run
DeviceStatus
Allowed values:
[
0,
1,
2,
3,
4,
5,
6,
7,
8
]Type: integer · Format: uint8 · Default: 0
Mapping: * 0 - DS_UnknownState * 1 - DS_Startup * 2 - DS_ServiceMode * 3 - DS_NormalOperation * 4 - DS_SuspendedOperation * 5 - DS_ServiceRecommended * 6 - DS_ServiceRequired * 7 - DS_RecoverableError * 8 - DS_FatalError
httpsError_t
errorType: string · Default: · Maximum length: 100
DateTime_t
uiYear | Type: integer · Format: uint16 · Default: 0 · Minimum: 0 · Maximum: 2105 |
|---|---|
usiMonth | Type: integer · Format: uint8 · Default: 1 · Minimum: 0 · Maximum: 12 |
usiDay | Type: integer · Format: uint8 · Default: 1 · Minimum: 0 · Maximum: 31 |
usiHour | Type: integer · Format: uint8 · Default: 0 · Minimum: 0 · Maximum: 23 |
usiMinute | Type: integer · Format: uint8 · Default: 0 · Minimum: 0 · Maximum: 59 |
usiSec | Type: integer · Format: uint8 · Default: 0 · Minimum: 0 · Maximum: 59 |
udiUSec | Type: integer · Format: uint32 · Default: 0 · Minimum: 0 · Maximum: 999999 |
IOState_t
eIOStateAllowed values:
[ 0, 1, 2 ]Type: integer · Format: uint8 · Default: 2
Mapping: * 0 - IOS_LOW * 1 - IOS_HIGH * 2 - IOS_TRISTATE
ContaminationData_t
Allowed values:
[
0,
1,
2,
3
]Type: integer · Format: uint8 · Default: 3
Mapping: * 0 - CLEAN * 1 - WARN * 2 - ERROR * 3 - NONE
PerformanceProfiles_t
Allowed values:
[
0,
11,
21,
1,
2,
4,
5,
71,
81,
61,
62,
64,
65,
31,
32,
33,
35,
91,
92,
93,
95
]Type: integer · Format: uint8 · Default: 0
Mapping: * 0 - INVALID * 11 - SC_125HZ_0020DEG_m180_180_2Overlap * 21 - SC_125HZ_0020DEG_m180_180_2IL * 1 - SC_125HZ_0040DEG_m180_180_noIL * 2 - SC_125HZ_0060DEG_m180_180_noIL * 4 - SC_125HZ_0100DEG_m180_180_noIL * 5 - SC_125HZ_0120DEG_m180_180_noIL * 71 - SC_250HZ_0040DEG_m180_180_2Overlap * 81 - SC_250HZ_0040DEG_m180_180_2IL * 61 - SC_250HZ_0080DEG_m180_180_noIL * 62 - SC_250HZ_0120DEG_m180_180_noIL * 64 - SC_250HZ_0200DEG_m180_180_noIL * 65 - SC_250HZ_0240DEG_m180_180_noIL * 31 - SC_125HZ_0240DEG_m180_180_noIL_XR * 32 - SC_125HZ_0120DEG_m180_180_2Overlap_XR * 33 - SC_125HZ_0080DEG_m180_180_3Overlap_XR * 35 - SC_125HZ_0040DEG_m180_180_3Overlap_2IL_XR * 91 - SC_250HZ_0480DEG_m180_180_noIL_XR * 92 - SC_250HZ_0240DEG_m180_180_2Overlap_XR * 93 - SC_250HZ_0160DEG_m180_180_3Overlap_XR * 95 - SC_250HZ_0080DEG_m180_180_3Overlap_2IL_XR
Logic_t
Allowed values:
[
0,
1
]Type: integer · Format: uint8 · Default: 0
Mapping: * 0 - ACTIVE_HIGH * 1 - ACTIVE_LOW
PortStateAndCounter_t
ePortState | Allowed values: Type: integer · Format: uint8 · Default: 2 Mapping: * 0 - OUTPUT_NOT_ACTIVE * 1 - OUTPUT_ACTIVE * 2 - TRISTATE * 3 - INPUT_ACTIVE * 4 - INPUT_NOT_ACTIVE |
|---|---|
PortCounter | Type: integer · Format: uint32 |
Point2d_t
x | Type: integer · Format: int32 · Default: 0 |
|---|---|
y | Type: integer · Format: int32 · Default: 0 |
EvaluationResult_t
State | Allowed values: Type: integer · Format: uint8 · Default: 0 Mapping: * 0 - NOT_CONFIGURED * 1 - INACTIVE * 2 - FREE * 3 - DETECTING_INFRINGED * 4 - INFRINGED * 5 - DETECTING_FREE |
|---|---|
Positions |
FieldEvaluationResult_t
Version | Type: integer · Format: uint16 · Default: 1 |
|---|---|
Timestamp | Type: integer · Format: uint64 |
EvaluationResultList |
Point3d_t
x | Type: integer · Format: int32 · Default: 0 · Minimum: -500000 · Maximum: 500000 |
|---|---|
y | Type: integer · Format: int32 · Default: 0 · Minimum: -500000 · Maximum: 500000 |
z | Type: integer · Format: int32 · Default: 0 · Minimum: -500000 · Maximum: 500000 |