serverURL + “/api/data/v8.0/”+Functionname(parameter1,parameter2,..n)
The following is the complete code for using RetrieveVersion function, which can be used to get current CRM version: