Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bosch camera- Delete Rules - Not deleting if same rule is added mutliple times. #36

Open
surajitx-pal opened this issue Apr 5, 2022 · 1 comment
Labels
1-low priority denoting isolated changes bosch Bosch camera question Further information is requested

Comments

@surajitx-pal
Copy link

Summary of the problem:
'Delete Rules' API not working for same rule if added multiple times.

Issue reproducible on below camera models:
#Bosch DINION 6000HD

Reproduce steps:
Execute this command

curl -X PUT http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/DeleteRules
--header 'Content-Type: application/json'
--data-raw '
{
"DeleteRules": {
"ConfigurationToken": "1",
"Rule": [
{
"RuleName": "NEW object"
},
{
"RuleName": "Armed"
}
]
}
}'

Then verify with GetRules command-
curl -x GET GET http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/Rules

Actual result - Not deleting rule
Executed - Should be deleted rule

@surajitx-pal surajitx-pal added documentation question Further information is requested and removed documentation labels Apr 5, 2022
@ajcasagrande ajcasagrande added the bosch Bosch camera label Jul 26, 2022
@lenny-goodell lenny-goodell added the 1-low priority denoting isolated changes label Jan 25, 2023
@vyshali-chitikeshi
Copy link
Contributor

Issue still exists with V3 code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-low priority denoting isolated changes bosch Bosch camera question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants