Should Creditsafe Connect return the below messaging then it is indicating that the "customData=de_reason_code::{reasonCode}" parameter is missing from the URI of the request:


{    "details": "German reports require a reason code",    "correlationId": "eb8471a0-f646-11e9-9c70-06cf3485509a",    "message": "Bad request"
}
JavaScript


Due to legal reasons, all German (DE) online report requests need to be accompanied with a 'reason for viewing' so a "de_reason_code::{reasonCode}" needs to be sent within the "customData=" parameter as follows:


URIHTTP METHOD
/companies/{id}?customData=de_reason_code::{reasonCode}
GET


A list of "de_reason_code" can be retrieved from Creditsafe Connect by calling the /reportcustomdata endpoint:


URIHTTP METHOD
/reportcustomdata/DE
GET


Should you require further detail with regards to Creditsafe Connect's /reportcustomdata endpoint then please refer to the following web link:


/reportcustomdata


Should you continue to experience issues then please submit a ticket.