question

Upvotes
Accepted
1 1 1 2

I can't get the token

Hello ,

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 = "xxxxxxxxxxx@thomsonreuters.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 ?

Regards

Samuel

rkd-apirkdrjson
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@samuel.beau

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hello @samuel.beau,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
13.7k 26 8 12

@samuel.beau, I'm not familiar with R, but this link might hold the answer.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
206 1 2 2

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)

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks but I was looking for some help in R

Asked expert, product manager Kadiatou Diallo:

"Hello Kadiatou,

Could you please advise if we have any R expertise in TRKD product area, who may be able to help with this inquiry?"

@zoya.farberov, any response from the product manager?

Hi Nipat,

No answer, and the person appears to be gone.

The group address for product on the API Contacts page is not valid, anymore, either.

I am trying to find the valid contact so that we may correctly direct this question.

Show more comments

Asked expert Robin Rottier:

"

Hello Robin,
Can you help with this question, or could you please help us identify the right contact who can help?
Thanks,
-Zoya

"

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.