Parse response wrapper as JSON
Summary:
Hi,
We have an integration in which we are sending some data to a database, the data we want to send is in this format:
UPLOAD result for candidateID: 3000000{"lastName":"test","firstName":"3000000123456","birthdate":"1999-01-01","gender":"MALE","ssin":"99010100155","contactMail":test@test.com,"address":{"street":"Teststreet","number":"10","zipCode":"3000","city":"Leuven","country":"BE"},"contactPhonePrefix":"32","contactPhoneNumber":"0473369999","contactLanguage":"FR","hasMilitaryAntecedent":false,"nationality":"BE","candidateId":"3000000"}
The json is the response we are getting back. So i thought i could map the response wrapper for this purpose, but if i do that the data in the database looks like this:
UPLOAD result for candidateID: 3000000Test30000001234561999-01-01MALE99010100155test@test.comTeststreet103000LeuvenBE320473369999FRfalseBE3000000