Article Details
Id:14438
Product:finPOWER Connect
Type:FIX
Version:3.00.05
Opened:20/03/2017
Closed:21/03/2017
Released:10/04/2017
Job: J018767

Credit Enquiry; NZ Government NZBN Entity Details errors in the Test environment

The following error message is displayed when searching for a NZBN from the Credit Enquiry form in Test mode "Failed to deserialise JSON string to object. Could not convert string to integer: LTD. Path 'items[0].entityType.id'.".

The NZBN API response includes an "EntityType.id" property, described as a nullable integer. Until now the response for this property was Null, but is now populated with a string, e.g. "LTD". This is different from the specification, hence the error.

Note, currently this issue only affects the Test (Sandbox) environment.