api: return 404 if a alarm is not found

The patch return 404 instead of 400 if a alarm is not found

Fixes bug #1232041

Change-Id: I797546cf650f6d78a3103867bcb3ac7c024ac08f
Merge "api: return 404 if a alarm is not found"