I try to get the token , I'm using R and RJSONIO package .
link <- "https://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/REST/Anonymous/TokenManagement_1/CreateServiceToken_1" token <- fromJSON(getURL(link, userpwd = "email@example.com:mypassword",httpauth = 1L))
I have this error:
"There was an error while converting the URL parameters. The required parameter 'Username' was not found."
Does any one try to use R and RJSONIO to get data from TRKD ?
Sorry, no direct experience of R but your code does not look sufficient.
The createservicetoken_1 operation needs the POST request body filled in with ApplicationID, Username and Password parameters.
If you look in support portal, https://www.trkd.thomsonreuters.com/SupportSite/TestApi/Op?svc=TokenManagement_1&op=CreateServiceToken_1, choose develop tab and json mode then you see full example (again not in R, but simply full example of what the http request needs to look like)