question

Upvotes
Accepted
28 5 7 9

Getting Bad request when hitting service through postman

I am trying to hit this service "http://api.trkd.thomsonreuters.com/api/Quotes/Quotes.svc " by postman and passing token created by hitting this service "https://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/Anonymous ". But getting error bad request. Please find message body as an attachment. Please suggest something

Request Body.txt

rkd-apirkd
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.

Hello @lalit8

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

Upvotes
Accepted
22.1k 59 14 21

Hello @lalit8, You are trying to send a SOAP request using Postman. Please use REST API - the correct REST URL for quotes will be: https://api.trkd.thomsonreuters.com/api/Quotes/Quotes.svc/REST/Quotes_1/RetrieveItem_3

There is little information on how to use REST API in the developers portal tutorials. All the API help for TRKD is available through its own support portal at https://www.trkd.thomsonreuters.com/SupportSite/ .


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
28 5 7 9

Yes i am send a soap request. can you help me to find , how i can send request using CPPRestapi and json. Actually i am not able to find how i can pass required parameters when i am sending Post message to this service "http://api.trkd.thomsonreuters.com/api/TokenManagement/TokenManagement.svc/REST/TokenManagement_1"

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.

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.