Using the BarTender REST API

The BarTender REST API provides REST endpoints that you can use to automate your system on a non-Windows platform or across the network by using the YAML or JSON file format or an existing legacy BTXML script. By using the BarTender REST API, you can use most types of programming languages, including C#, Java, Perl, or Python, and most integrated development environments (IDEs) to create your automation scripts.

Automation of BarTender by using the BarTender REST API should be performed by programmers who are familiar with REST APIs.

Supported Technologies

The BarTender REST API uses the same BarTender Integration service and Print Scheduler service that are used by Integration Builder and Process Builder. Communication with the server occurs over port 5159.

For sending scripts and receiving responses, the API supports data payloads in JSON, YAML, and BTXML formats. A YAML reference document is included in the BarTender installation; for more information, refer to Available Actions in the Actions API. For more information about BTXML, refer to Using BTXML Script.

The API supports the following technologies: 

Requirements

To use the BarTender REST API, the following conditions are required:

In This Section