Skip to content

Metadata Section

Every time a report request is sent, the GetData service returns a metaData section in the response. This section contains useful information about the request, which can help with tracing and troubleshooting.


MetaData Fields

The metaData section includes the following fields:

FieldTypeDescription
apiLogIdIntegerA unique identifier for the Creditsafe API log. Please refer to this ID when contacting Creditsafe support, as it allows them to access the full context of your request. The apiLogId can also be used to fetch a previous report from the report archive using the ReportFetcher service
timeStampString (DateTime)The exact time when the request was processed by Creditsafe
resourceStringIndicates which service delivered the report
methodStringSpecifies the HTTP method used for the request
requestUrlStringThe complete URL of the request sent to Creditsafe
lodCreatedBooleanIndicates whether a Letter of Disclosure (LOD) was generated as a result of the request

Example MetaData Response

{
  "metaData": {
    "apiLogId": 233255,
    "timeStamp": "2025-10-06T06:12:03",
    "resource": "GetData (1217)",
    "method": "GET",
    "requestUrl": "https://se-webservice.apps.creditsafe.com/getdata?blockname=FullMontyC&searchnumber=5565144408",
    "lodCreated": false
  }
}

When MetaData is Included

This metadata is included in the response for both successful and error responses, as long as the request was handled by the Creditsafe service.


Using MetaData for Support

Troubleshooting with apiLogId

When contacting Creditsafe support about a specific request, always include the apiLogId from the metaData section. This unique identifier allows the support team to quickly locate and review the full context of your request, significantly speeding up the troubleshooting process.


Complete Response Example

A complete successful response includes both the data sections and the metaData section:

{
  "metaData": {
    "apiLogId": 233255,
    "timeStamp": "2025-10-06T06:12:03",
    "resource": "GetData (1217)",
    "method": "GET",
    "requestUrl": "https://se-webservice.apps.creditsafe.com/getdata?blockname=FullMontyC&searchnumber=5565144408",
    "lodCreated": false
  },
  "report": {
    "basicInformation": {
      "organizationNumber": "5565144408",
      "companyName": "Creditsafe i Sverige AB"
  }
}

Service Identification

The resource field in the metaData identifies which GetData service was used:

  • GetData (1217) - Standard GetData service

This can be helpful when troubleshooting issues or when reviewing API log entries.


Letter of Disclosure (lodCreated)

The lodCreated field is unique to GetData and indicates whether a Letter of Disclosure was sent as a result of the request.

  • false — No letter was sent (typical for Basic block requests)
  • true — A letter was sent (typical for Credit block requests on individuals, sole traders, trading companies, and partnerships)

For more information on when disclosure letters are triggered, see the Introduction.