I am working on an extension for dynamics.
Here I want to use dynamics API.
One client uses Microsoft Dynamics 365 (Rest API) and
another client uses Microsoft Dynamics 2013 On-Premise.
Can I use the same API to serve both the clients?
Currently, I am using API's from
Will it work for Microsoft Dynamics 2013?