M2M enterprise: the importance of APIs