Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Match 1.0.0 (Suitable Pear)
-
Tested version is development snapshot from 02/27/2019
Description
The JSON included in the body of a potential match response includes key/value pairs using the match-internal attribute names for the data that belongs in the names array instead of parsing the attribute group name back into an array element containing the name type and the individual name parts parsed into "given", "family", etc.
Expected response
{"candidates":[{"referenceId":1020,"requestTime":"2019-02-25T19:48:27Z","attributes":[{"matchRequest":6,"sor":"ExternalResolvingSOR","identifiers":[
{"type":"sor","identifier":"1"}],"dateofbirth":"2004-01-01","names":[
{"type":"official","given":"John","family":"Doe"}]]}]}
Actual response
{"candidates":[{"referenceId":1020,"requestTime":"2019-02-25T19:48:27Z","attributes":[{"matchRequest":6,"sor":"ExternalResolvingSOR","identifiers":[
{"type":"sor","identifier":"1"}],"dateofbirth":"2004-01-01","official_family_name":"Doe","official_given_name":"John"}]}]}