does RouterOS v6.49.17 have REST API

Hi there,

I am a beginner here. if we don’t have the REST API prior version 7. How do we communicate with the mikrotik programmatically.
I am trying to make a program to turn on and off the clients internet service.

thanks