Introduction
This document is intended to provide an overview of all the features of ELOCK2 SLS API and how you can best use them. It is oriented around the nine main functions that ELOCK2 offers
This document is intended to provide an overview of all the features of ELOCK2 SLS API and how you can best use them. It is oriented around the nine main functions that ELOCK2 offers
| GET | getVersion | This request for project version information. | |
| GET | getSuppliers | This request for Suppliers information. | |
| GET | getCustomers | This request for Customers information. | |
| GET | getContacts | This request for Contacts information. | |
| GET | getSystemTime | This request for project system time information. | |
| GET | getProductTypes | This request for product type informations. | |
| GET | getProducts?type | This request for product type informations with type filter. Fill the (int) with integer. | |
| POST | updateCustomerMapData | This request for update to Customers lat/log values. The values in the input section must be written into the link in the usage section. |
This request for project version information.
build-date type string version type stringUsage: http://192.168.2.153:8081/sls_system/getVersion
{
"build-date": "17.05.2024 12:00:12",
"version": "1.5"
}
This request for Suppliers information.
tel1 type string ort type string tel2 type string postleitzahl type string address type string nr type int nation type string strasse type string latitude type string company type string email type string longitude type stringUsage: http://192.168.2.153:8081/sls_system/getSuppliers
{
"tel1": "",
"ort": "Deizisau",
"tel2": "",
"postleitzahl": "73779",
"address": "",
"nr": 472,
"nation": "",
"strasse": "Gutenbergstraße 12",
"latitude": "",
"company": "ELOCK2",
"email": "",
"longitude": ""
}
This request for Customers information.
tel1 type string ort type string tel2 type string postleitzahl type string address type string nation type string strasse type string latitude type string id type int email type string longitude type stringUsage: http://192.168.2.153:8081/sls_system/getCustomers
{
"tel1": "07119012130",
"ort": "Deizisau",
"tel2": "",
"postleitzahl": "73779",
"address": "",
"nation": "DE",
"strasse": "Gutenbergstr. 10-12",
"latitude": "48.713345",
"company": "ELOCK2 Sancak Sicherheitstechnik e. K.",
"id": 74,
"email": "info@elock2.de",
"longitude": "9.393169"
}
This request for Contacts information.
tel1 type string ort type string tel2 type string postleitzahl type string address type string nation type string strasse type string latitude type string company type string id type int email type string longitude type stringUsage: http://192.168.2.153:8081/sls_system/getContacts
{
"tel1": "0711-90121350",
"ort": "Esslingen",
"tel2": "",
"postleitzahl": "73728",
"address": "",
"nation": "",
"strasse": "Neckarstr. 27",
"latitude": "",
"company": "Sicherheitstechnik Sancak e.K.",
"id": 453766,
"email": "info@elock2.de",
"longitude": ""
}
This request for project system time information.
date type string time type stringUsage: http://192.168.2.153:8081/sls_system/getSystemTime
{
"date": "04.06.2024",
"time": "23:19:48"
}
This request for product type informations.
name type string comment type string id type stringUsage: http://192.168.2.153:8081/sls_system/getProductTypes
{
"name": "Schließzylinder",
"comment": "Intelligente Schließzylinder",
"id": 1
}
This request for product type informations with type filter. Fill the (int) with integer.
nr type int name type string id type string type type intUsage: http://192.168.2.153:8081/sls_system/getProducts?type=(int)
{
"nr": 29,
"name": "Griff Links, mit Rosettengarnitur",
"id": "B8G4",
"type": 2
}
This request for update to Customers lat/log values. The values in the input section must be written into the link in the usage section.
id type intlatitude type doublelongitude type double