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 manjusha.batchu · Oct 01, 2018 at 01:58 AM · world-checkworld-check-oneupdate-message

Update API Call Issue in WCO.

@Irfan.Khan
I would like to know know one more question regarding update request of WCO API.

previously i have observed that when i run postman application using put request with the individual/Organisation data, it would update the data what we sent irrespective of remaining fileds like secondary/custom (the data would remain as usual). but later on i came to notice that when I use the same PUT request i saw only the fields that were send was updated and remaining secondary/custom fields remains Null(empty). this was so surprising for me.kindly help me whether the API calls of WCO has been changed Recently?? so as to change the code accordingly.

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.

5 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Mehran.Ahmed Khan · Oct 01, 2018 at 03:15 AM

@manjusha.batchu,

Hi,

Can you tell me exactly when is previously?

Also, to explain you the update case API -

Suppose below is your existing case details with secondary fields as shown-

Scenario 1:

Name: Donald Trump

secondaryFields[

{ "typeId": "SFCT_1", "value": "MALE", "dateTimeValue": null },

{ "typeId": "SFCT_2", "value": null, "dateTimeValue": "1961-12" },

{ "typeId": "SFCT_3", "value": "USA", "dateTimeValue": null },

{ "typeId": "SFCT_4", "value": "IND", "dateTimeValue": null },

{ "typeId": "SFCT_5", "value": "ABW", "dateTimeValue": null}

]

Scenario 2: Now If i want to update the case by only changing the name to Vladimir Putin and I don't pass the above secondary fields in the update case request payload, the secondary fields will be lost and will be updated to blank.

Name: Vladimir Putin

secondaryFields[]

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Basically, the update case updates the case with the data or fields that you're passing in the request if you wish to keep Secondary fields of a case as same and would want only certain data to be changed you must include the secondary fields/custom fields in your request payload and not pass it empty, if you pass it empty it will be overwritten to blank!

Hope this answers your query.

Feel free to reach out if you need further explanation on this!

Thanks,

Mehran Khan

API Technical Consultant

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.

avatar image
Answer by manjusha.batchu · Oct 01, 2018 at 04:24 AM

@Mehran.Ahmed Khan
The word previously terms 3-4 weeks ago.so if in this case, i need to pass the entire fields data even though i need to update a single name field. i think that would burdens the payload data and probably leads to poor performance.
the above mentioned Scenario 2 will misleads the case i think. since on update API calls we need to update the necessary fields and the remaining should be same. Hope you got my point.
thanks in advance.

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.

avatar image
REFINITIV
Answer by Mehran.Ahmed Khan · Oct 01, 2018 at 05:16 AM

@manjusha.batchu,

I totally understand your point, but when you pass secondary fields as empty while updating the desired fields, the API would think that you're updating the secondary fields to empty as well, and I don't believe it would cause any performance issue as our APIs are designed to handle payloads with/without secondary or custom fields in them.

Regards,

Mehran Khan

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.

avatar image
REFINITIV
Answer by Mehran.Ahmed Khan · Oct 03, 2018 at 02:16 AM

@manjusha.batchu,

Just wanted to check with you if you have all the information you need or do you require a more detailed explanation on this topic?

Thanks,

Mehran Khan

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.

avatar image
Answer by manjusha.batchu · Oct 03, 2018 at 02:35 AM

@Mehran.Ahmed Khan

yeah. thanks for the info. i have modified the code accordingly.

Comment
Mehran.Ahmed Khan

People who like this

1 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 >
12 People are following this question.

Related Questions

"cases/{ {case-system-id}}/screeningRequest" is not updating case results when called again after case update request

Organisation screening and beneficiaries relationships

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

SEQ-screen-sync-simple: Perform Synchronous Screening: Simple 401 Unauthorized.

Is there a way to get a list of existing cases?

  • 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
  • FX Venues
    • FX Trading – RFQ Maker
  • 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
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges