Can I develop a program based on MIP SDK 2017 R2 to retrieve the alarm like Motion from Enterprise 8.0?

Yes, please take a look at the Central protocol and samples.