Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Screening /
  • World-Check One /

For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

avatar image
Question by ziad.abourizk · Aug 13, 2018 at 05:47 AM · world-checkworld-check-onec#.neterror-401

World Check One API Case Screening 401 Unauthorized

@Irfan.Khan

I used the code provided by you, but still getting

here are the details.

postData
{"secondaryFields":[],"entityType":"INDIVIDUAL","customFields":[],"groupId":"0a3687d0-64a6-1d01-9945-119200000daf","providerTypes":["WATCHLIST"],"name":"乔治布什"}
dataToSign
(request-target): post /v1/cases
host: rms-world-check-one-api-pilot.thomsonreuters.com
date: Mon, 13 Aug 2018 09:32:37 GMT
content-type: application/json
content-length: 167
{"secondaryFields":[],"entityType":"INDIVIDUAL","customFields":[],"groupId":"0a3687d0-64a6-1d01-9945-119200000daf","providerTypes":["WATCHLIST"],"name":"乔治布什"}

HMAC
m7d1qURe1oYPHgxcQTekDaL/zJugJu6l27nHd5kjxfg=

Authorization

Signature keyId="xxxxxx",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length",signature="m7d1qURe1oYPHgxcQTekDaL/zJugJu6l27nHd5kjxfg="

System.Net.WebException: 'The remote server returned an error: (401) Unauthorized.'

-------------------------------------------------------------------------------------------

POSTMAN with same Timestamp
var client = new RestClient("https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/cases/screeningRequest");
var request = new RestRequest(Method.POST);
request.AddHeader("Postman-Token", "f52a3f50-aa98-4b20-b4fa-b2c64586a680");
request.AddHeader("Cache-Control", "no-cache");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Content-Length", "152");
request.AddHeader("Authorization", "Signature keyId=\"xxxxx\",algorithm=\"hmac-sha256\",headers=\"(request-target) host date content-type content-length\",signature=\"zP6AqFE7AduYbTPPFta9mQYLzWcaNwUJ4/jK/jpduDc=\"");
request.AddHeader("Date", "Mon, 13 Aug 2018 09:32:37 GMT");
request.AddParameter("undefined", "{\n \"groupId\":\"0a3687d0-64a6-1d01-9945-119200000daf\",\n \"entityType\": \"INDIVIDUAL\",\n \"providerTypes\": [\n \"WATCHLIST\"\n ],\n \"name\": \"乔治布什\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Irfan.Khan · Aug 13, 2018 at 05:57 AM

@ziad.abourizk

Can you please confirm the API call you are making so that I can assist you?

I see you are trying to save a case (API call- SEQ-2c: Save a case: Individual) when using your C# code, but see you are calling the API request -"SEQ-4a: Screen a case" in the Postman console.

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
ziad.abourizk · Aug 13, 2018 at 07:10 AM 0
Share

Thanks, its working now.

avatar image
REFINITIV
Irfan.Khan ♦♦ ziad.abourizk · Aug 13, 2018 at 07:15 AM 0
Share

@ziad.abourizk

Thank you for the update.

I am pasting the link of the post where the issue was resolved so that it can be helpful for other users too.

avatar image
REFINITIV
Answer by Irfan.Khan · Aug 13, 2018 at 07:15 AM

The query was resolved in the below link:

https://community.developers.refinitiv.com/questions/30738/world-check-one-api-case-screening-401-unauthorize-2.html?childToView=30756#answer-30756

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
11 People are following this question.

Related Questions

Encounter Authorization error on calling V2 cases/saveandscreen API endpoint

Integrating to C# the case/screeningRequest - Unauthorized error

C# need url and sample for consumption world check one api with api key and secret

WORLD CHECK ONE API v2- The remote server returned an error: (401) Unauthorized.'

Keep getting 401 in zero footprint synchronous screening api hit through postman

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges