Override default lane for target

PATCH /rest/biathlon/target/lane

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

  • target-name string Required

    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

  • lane integer Required

    The new lane for the target device which might overwrite the default lane.

Responses

  • 200 application/json

    New lane for the target temporarily set successfully until reset.

    Hide response attributes Show response attributes object
    • success boolean
    • message string
    • targetName string
    • lane integer
  • 400 application/json

    Missing required field or missing required parameters

    Hide response attributes Show response attributes object
    • success boolean
    • message string
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'"
}