question

Upvotes
Accepted
24 2 5 9

Does Case Id change after Update Case?

We are implementing update case API in Claims application. We tried it using Postman. We updated a Case using Case System Id. But, after update, it changed Case Id for that case. How can we find that case in World Check One? We couldn't see Case System Id in Word Check One system.

world-checkworld-check-one
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.

Upvote
Accepted
2.4k 6 5 6

@Sugam Surve

Hi,

This is expected behavior of WC1 API, If you wish to update the case and keep the same caseId you will have to pass the original caseId as part of the update request payload otherwise the system generates new caseId, below is an update request payload example for your reference, Let me know if you need further information.

{
	"groupId": "{
                {group-id}}",
	"entityType": "INDIVIDUAL",
	"providerTypes": [
		"WATCHLIST"
	],
	"name": "John Smith",
	"caseId": "TestCasebyrefinitv",
	"secondaryFields": [{
		"typeId": "SFCT_3",
		"value": "IND"
	}],
	}
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.

Thank you. I will try that out.

Upvotes
4.2k 8 5 6

@Sugam Surve

Regarding your question, how will I find the case in the WC UI after updating the case? You can use the new case Id generated by the system to search the case in the WC UI.

Kindly note you cannot use the case system Id to search cases in WC1 UI as the case system Id is more API specific UUID.

For ease of understanding, let us say, case Id is for WC1 UI and case system Id is for the WC1 API.

Also, case system Ids are immutable, they do not change even if the case is updated and also you cannot pass explicit PUT/POST requests to change the case system Id.

We give our clients the flexibility of retaining the old case Id or generating a new one while updating the case.

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.

Thank you for your response. I'll check with our WC1 admin if they wish to change Case Id post update case or would like to keep existing.

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.