Skip to content

Basler Vision Connector Messaging: Downloading the Camera Configuration#

With the following message, you can download the current camera configuration, e.g. to make back-ups.

Note

Don't edit the configuration file manually in a text editor. Editing the file manually leads to conflicts when you upload the camera configuration.

JSON Payload#

Field Optional Type Description
TransactionID Yes String Transaction identification
Action No String Method called. Fixed value: GetDeviceConfig
DeviceID No String Device identification
{
    "TransactionID": "23423456",
    "Action": "GetDeviceConfig",
    "DeviceID": "548451887"
}

Response Object#

Field Optional Type Description
TransactionID Yes String Transaction identification
ReturnCode No Integer (32-bit unsigned) Message code following Message Codes
Message Yes String Response message
FileContent No String Base64 string of the configuration file, which contains the mime type prefix
{
    "TransactionID": "23423456",
    "ReturnCode": 0,
    "Message": "Success",
    "FileContent": "data:text/plain;base64,IyB7MDVEOEMyOTQtRjI5NS00Z[...]"

}