question

Upvotes
Accepted
13 2 3 5

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 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
13k 32 12 18

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 5.0 MiB each and 10.0 MiB total.

Upvotes
13 2 3 5

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea