In the Teltonika Portal URL below, there is an option to make bulk API requests. I would like to configure Modbus settings, IoT configuration, and Data to Server settings in a single bulk request. Could you please assist with the appropriate Bulk API endpoint and the required payload structure?
Thank you for your inquiry. Your request is currently under review and analysis. Once the evaluation is complete, I will get back to you with further information, findings, or suggestions.
There you will find all the necessary endpoints for Modbus configuration.
The remaining required configuration settings, such as IoT or Data to Server, can be located by searching for the corresponding keywords in the Reference section of the same documentation portal.
As an example, here is a payload structure for Modbus TCP client configuration within a bulk API request:
Then you can extend the bulk request by adding additional objects following the same format, where each entry defines an endpoint, method, and corresponding data payload as described in the Fundamentals Bulk requests section.
From the first view, the issue here is that you are using the RMS API, which has a different set of endpoints for API resources. The previously mentioned Bulk requests are not dedicated for RMS API. Instead, the endpoint for bulk requests should be:
POST https://<DEVICE_IP>/api/bulk
(assuming the authentication step has already been completed).
You can find more useful information in the REST API documentation here:
If the device has a public IP assigned, or if you have a VPN connection established between the device and the PC running Postman (e.g., RMS VPN, OpenVPN, WireGuard, etc.), then it is not necessary to be on the same LAN network in order to execute the API authentication call.
I hope this clarifies it. Let me know if you have any other questions.
If your ISP has assigned a public IP to the device, you can view it by navigating to Management → Devices → Device details (required device) → General tab (see the screenshot below):
I obtained the device’s Public IP following your instructions. However, when I try to call the Authentication API using that IP, I receive an error stating: “The destination is not reachable.” Could you please help me troubleshoot this?
I followed your instructions by enabling and saving both HTTP and HTTPS remote access settings in RMS for the device, then called the Authentication API. However, I am still encountering the same error: “The destination is not reachable.”