Override default lane for target
Set the lane for a specific target. The lane is typically fixed and stored in the target device but may change if a defective target is replaced. This is a non-permanent setting. The default target lane will be restored after a target device reset.
Query parameters
-
The name of the target is permanently programmed into the device. The server knows all the names of the targets used in a competition because they have registered with the server via the Messaging API. For more information, see Messaging Service - System Data Message
-
The new lane for the target device which might overwrite the default lane.
PATCH
/rest/biathlon/target/lane
curl \
--request PATCH 'http://api.example.com/rest/biathlon/target/lane?target-name=DE_NW_SVA_EBTS_S01&lane=2'
Response examples (200)
{
"success": true,
"message": "New lane for the target successfully set.",
"targetName": "DE_NW_SVA_EBTS_S01",
"lane": 2
}
Response examples (400)
{
"success": false,
"message": "'Invalid parameters' or 'Missing required parameters'"
}