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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 6 10 6

HSBC - Bad Request /v1/cases

Hi, Im trying to invoke the service that generate the case id but I obtain the error "Bad Request".

The message that I sent was:

{

"groupId":"0a3687d0-5b01-139e-96e2-90b9000001ea",

"entityType":"INDIVIDUAL",

"name":"John Doe",

"providerTypes":[

"WATCHLIST"

],

"secondaryFields":[

{

"typeId":"SFCT_1",

"value":"MALE"

},

{

"typeId":"SFCT_6",

"value":"Argentina"

}

]

}

Could you help me please, I think may be the problem is with the "SecondaryFields".

Thank you very much.

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.

@jcgarcia

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

-AHS

@jcgarcia

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvote
Accepted
3.1k 18 7 7

Hi @jcgarcia,

If you look at the Postman Collection you'll notice that SEQ-2-c, Save an INDIVIDUAL case uses ISO 3 Character Country Codes (as per the Documentation) and INDIVIDUAL uses Country IDs for INDIVIDUAL not Country of ORGANISATION.

The best way to avoid simple coding errors in your request is to reference the Postman Collection and the Documentation while you code your requests, especially for the first time.

The examples in the Postman Collection have all been tested and are there for you to learn and explore.

Hope this helps,

Brian

   "secondaryFields":[  
      {  
         "typeId":"SFCT_1",
         "value":"MALE"
      },
      {  
         "typeId":"SFCT_2",
         "dateTimeValue": "2016-10-12"
      },
      {  
         "typeId":"SFCT_3",
         "value":"USA"
      },
      {  
         "typeId":"SFCT_4",
         "value":"AUS"
      },
      {  
         "typeId":"SFCT_5",
         "value":"ABW"
      }
   ]
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.