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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 1 3 3

Passing DOB in “utcDateTime” format as secondary field but in response, getting “dateTimeValue” for this field always equal to “1970-01-01”.

Hi Team,

In “world-check one API”, I am saving case with name and secondary fields. As I am passing DOB in “utcDateTime” format but in response I am getting “dateTimeValue” always equal to “1970-01-01”.

I have tried few times and in all case I am getting same value “1970-01-01” for all “dateTimeValue”.

As well as in Case Manager (accelus portal), its showing same value (“01-Jan-1970”) for all cases saved through “world-check one API”

While in “accelus” portal, after saving case with DOB as secondary field its showing correct value of DOB in the case manager.

Please quickly suggest on this.

world-checkworld-check-one
icon clock
10 |1500

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

Upvotes
Accepted
3.1k 16 7 7

Hi @narendra.b

Yes, the latest collection has changed the format... WC1 API v1.2 is due out any day now...I'll be posting a notification when it's available on the Dev Portal...

Hope this helps,

Brian

icon clock
10 |1500

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

Upvotes
3.1k 16 7 7

Hi @narendra.b,

Try using...

"typeId":"SFCT_2", "dateTimeValue": "2016-10-12" },

Hope this helps,

Brian

icon clock
10 |1500

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

Upvotes
1 1 3 3

accelus-case-manager.pngHi,

I have tried your suggestion but I got the same response. Please check below example.

input request for save case:

{

"entityType": "INDIVIDUAL",

"groupId": "ba7f147f-cfbb-49c7-9e42-7ee9e5df62a8",

"name": "Javed Akram",

"secondaryFields": [

{

"typeId": "SFCT_2",

"dateTimeValue": {

"timelinePrecision": "ON",

"pointInTimePrecision": "DAY",

"utcDateTime": "1986-12-02",

"timeZone": null

}

},

{

"typeId": "SFCT_5",

"value": "IND"

}

],

"customFields": [],

"providerTypes": [

"WATCHLIST"

]

}

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

response from world check:

{

"caseId": "9f9a5a4f-35e3-4df7-a871-0c0913a46ccb",

"name": "Javed Akram",

"providerTypes": [

"WATCHLIST"

],

"customFields": [],

"secondaryFields": [

{

"typeId": "SFCT_2",

"value": null,

"dateTimeValue": "1970-01-01"

},

{

"typeId": "SFCT_5",

"value": "IND",

"dateTimeValue": null

}

],

"groupId": "ba7f147f-cfbb-49c7-9e42-7ee9e5df62a8",

"entityType": "INDIVIDUAL",

"caseSystemId": "00ea2763-26b7-402a-881a-569e7a40514e",

"caseScreeningState": "INITIAL",

"lifecycleState": "UNARCHIVED",

"creator": {

"userId": "d15f4c7a-018b-4aa8-b65d-3d0e0b33fa78",

"firstName": "Narendra",

"lastName": "Bhole",

"fullName": "Narendra Bhole",

"email": "narendra.b.bhole@hsbc.co.in",

"status": "ACTIVE"

},

"modifier": {

"userId": "d15f4c7a-018b-4aa8-b65d-3d0e0b33fa78",

"firstName": "Narendra",

"lastName": "Bhole",

"fullName": "Narendra Bhole",

"email": "narendra.b.bhole@hsbc.co.in",

"status": "ACTIVE"

},

"creationDate": "2017-01-11T11:26:13.465Z",

"modificationDate": "2017-01-11T11:26:13.465Z",

"outstandingActions": false

}

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


icon clock
10 |1500

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

Upvotes
1 1 3 3

Sorry, I got correct request format for saving case.

Thanks, I was using the Postman example format

{

"entityType": "INDIVIDUAL",

"groupId": "ba7f147f-cfbb-49c7-9e42-7ee9e5df62a8",

"name": "Javed khan",

"secondaryFields": [

{

"typeId": "SFCT_2",

"dateTimeValue": "1986-12-02"

},

{

"typeId": "SFCT_5",

"value": "IND"

}

],

"customFields": [],

"providerTypes": [

"WATCHLIST"

]

}

icon clock
10 |1500

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

Click below to post an Idea Post Idea