fixed error in alarm api on save
made order optional
Merge branch 'master' of github.com:ddsc/dikedata-api