Skip to content
STAGING SERVER
DEVELOPMENT SERVER

Basler Vision Connector Messaging: Deleting a Recipe Instance#

This command deletes a recipe instance using the recipe instance ID specified when the recipe instance was created. You can delete the recipe instance even if cameras are currently assigned to the recipe pins.

JSON Payload#

Field Optional Type Description
TransactionID Yes String Transaction identification
Action No String Method called. Fixed value: cstm_CloseRecipe
RecipeID No String The user-defined ID that was used when instantiating the recipe.
{
  "TransactionID": "234423465465",
  "Action": "cstm_CloseRecipe",
  "RecipeID": "MyRecipeID"
}

Response Object#

Field Optional Type Description
TransactionID Yes String Transaction identification
ReturnCode No Integer Message code following Message Codes
Message No String Response message
{
  "TransactionID": "234423465465",
  "ReturnCode": 0,
  "Message": "Recipe closed."
}