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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
24 2 3 6

SEQ-5e - Resolve Results

I'm having issues when resolving a result using the aforementioned function.

The JSON that I'm using in the body of the request is:

{
  "resultIds":[
  "0a3687cf-63f9-13ea-991b-f55501d0a5af"
  ],
  "statusId": "0a3687cf-63f9-125f-9904-7a16000002c8",
  "riskId": "0a3687cf-63f9-125f-9904-7a15000002b7",
  "reasonId": "0a3687cf-63f9-125f-9904-7a16000002bc",
  "resolutionRemark":"Remark for the case"
}

This is all based on information against my account using the res. toolkit for the only group configured on my account.

First of all, I'm wondering why I'm always getting a 400 error (I'm just in Postman at this point).
Secondly, where in the Accelus front-end are all of these items configured if it's group specific?

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.

Upvotes
Accepted
4.2k 8 5 6

@mspicer

I think I have found the reason you are getting a 400 Bad request for your API request. The payload load you are using is incorrect. Please see below:

{
  "resultIds":[
  "0a3687cf-63f9-13ea-991b-f55501d0a5af"
  ],
  "statusId": "0a3687cf-63f9-125f-9904-7a16000002c8",
  "riskId": "0a3687cf-63f9-125f-9904-7a15000002b7",
  "reasonId": "0a3687cf-63f9-125f-9904-7a16000002bc",
  "resolutionRemark":"Remark for the case"
}

However, according to your resolution toolkit,

0a3687cf-63f9-125f-9904-7a16000002bc is the risk-Id

0a3687cf-63f9-125f-9904-7a15000002b7 is the reason-Id

Please use the below payload and it should work fine.

{ "resultIds":[
  "0a3687cf-63f9-13ea-991b-f55501d0a5af"
],
  "statusId": "0a3687cf-63f9-125f-9904-7a16000002c8",
  "riskId": "0a3687cf-63f9-125f-9904-7a16000002bc",
  "reasonId": "0a3687cf-63f9-125f-9904-7a15000002b7",
  "resolutionRemark":"Remark for the case"
}

Kindly make sure that you are using the correct reason Id, risk Id and status Id as per the resolution toolkit to make sure that the cases are resolved. Otherwise you will see error 400: Bad request with the below response from our API.

{ "error": "RESOLVE_RESULTS_FAILED", "cause": "Resolution of results request has failed, please check that all required fields are supplied and valid." }

Also, the resolution toolkit remains the same for all the groups of an account. So they are not group specific. It differs only for the different type of provider types.

There are two provider types in WC.

1. WATCHLIST

2. CLIENT_WATCHLIST (this is not applicable for your account as you do not have watchlist functionality)

However, if you still want to check the resolution toolkit in the UI and how it is configured, you can follow the below steps:

When on UI, click on drop down to select "Admin". Once on "Admin" page, select "summary" section on the left hand side of your UI.

After this, look for "Product Settings" on the right hand side of the summary page. Click on "Edit" right next to "Resolution Toolkit" to view the resolution toolkit settings.

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.

Wow, I copy and pasted those and still got them the wrong way round.

Upvotes
4.2k 8 5 6

@mspicer

Can you tell me the exact error you are getting in the response body?

Also, kindly share the case system Id of the case you trying to resolve.

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
24 2 3 6

hi again Irfan,

I'm getting 400 Bad Request.

CaseSystemId is 0a3687d0-63f9-1b2e-991b-f535003c310b

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.