TRB256 - Bulk API

Hello,

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?

https://developers.teltonika-networks.com/fundamentals#bulk-requests

Thanks in advance!!

Hello,

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.

Thank you for your patience in the meantime.

Best regards,

Hello,

For configuring Modbus settings, please refer to the official API documentation here:

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:

{
  "data": {
    "endpoint": "/api/modbus/client/tcp/config",
    "method": "POST",
    "data": {
      "enabled": "string",
      "name": "string",
      "server_id": "string",
      "dev_ipaddr": "string",
      "port": "string",
      "period": "string",
      "timeout": "string",
      "reconnect": "string",
      "skip_on_many_tmos": "string",
      "frequency": "string",
      "delay": "string"
    }
  }
}

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.

Best regards,

Hello,

The Bulk API is returning a ‘Resource Not Found’ error. I’ve tried multiple URLs, but the error remains the same.

Thanks

Hello,

Do you have any updates on this?

Thanks

Hello,

Thank you for your patience.

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:

For RMS-specific API references, please check the documentation here:

Best regards,

Hello,

Is it required for the device and the computer running Postman to be on the same network in order to call bulk APIs?

Thanks

Hello,

Do you have any updates on this?

Thanks

Hello,

No, it is not necessary for the device and the computer running Postman to be on the same network in order to call bulk APIs.

Best regards,

Hello,

If the device is located in Germany, can I still execute the Bulk API on it?

Thanks

Hello,

The portal states that you should ensure you are connected to the same network as your device for executing Authentication API.

https://developers.teltonika-networks.com/

Thanks

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.

Best regards,

Hello,

Where can I find the Public IP assigned to a device in RMS?

Thanks

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):

Best regards,

Hello,

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?

Thanks

Hello,

Can you check whether remote HTTP(S) access is enabled under System → Administration → Access Control page?

Also, ensure the login parameters (JSON) in the Body field are specified in correct syntax:

{
    "username":"admin",
    "password":"admin_password"
}

Best regards,

Hello,

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.

Thanks

Hello,

Can you confirm whether your device actually has a public IP assigned?

Have you tried running API calls when connected to the device locally (in LAN network)?

Best regards,

Try googling the issue, you might find a similar thread, where you can find a similar issue addressed.

This topic was automatically closed after 60 days. New replies are no longer allowed.