Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Fox for REST access
Message
De
21/11/2019 11:20:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Using Fox for REST access
Divers
Thread ID:
01671976
Message ID:
01671976
Vues:
66
I am trying to access Microsoft Bookings by using Rest API

I did this

xmlHttp = CREATEOBJECT("MSXML2.ServerXMLHTTP")
xmlHttp.open("GET", "https://graph.microsoft.com/beta/bookingBusinesses/{My_Unique_User_Identification}/services", null)
xmlHttp.setRequestHeader("Content-Type", "text/xml")
xmlHttp.send("")
result = xmlHttp.responseText


Those lines when executed gave me an error in result


ERROR

Code : Invalid authentication token
Message : Access token is empty

Perhaps there are other things to specify in order to get a token

And then with that token I should be able to query Bookings

Anyone can guide me to a solution?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Répondre
Fil
Voir

Click here to load this message in the networking platform