POST json/ExportWithMasterData

Exports all released Sustainability Code profiles of one language and one year. Only published Sustainability Code profiles with an export authorization of the respective company will be exported. Also includes additional company data like address data or email.

Request Information

URI Parameters

None.

Body Parameters

Request containing year, language and authentification

DNKExportRequest
NameDescriptionTypeAdditional information
ReportYear

Report year of report

string

Required

Matching regular expression pattern: [0-9][0-9][0-9][0-9]

LanguageISO

Language code with 2 letters according to ISO 639-1

string

Required

Matching regular expression pattern: en|de|EN|DE

SecurityToken

SHA-256 Hash value of the mofified export application code

string

Required

ApplicationName

Name/ID of the import application

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ReportYear": "2015",
  "LanguageISO": "de",
  "SecurityToken": "sample string 1",
  "ApplicationName": "sample string 2"
}

Response Information

Resource Description

List of all released Sustainability Code profiles of one language and one year.

DNKExportRestApiResponse
NameDescriptionTypeAdditional information
exportData

List of export objects

Collection of DNKExportCompanyDataList

None.

ValidRequest

Info about the success of the import

boolean

None.

TokenStatus

Check status of the security or authorization tokens transferred in the Webapi

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "exportData": [
    {
      "company": [
        {
          "exportID": "sample string 1",
          "value": "sample string 2"
        },
        {
          "exportID": "sample string 1",
          "value": "sample string 2"
        }
      ]
    },
    {
      "company": [
        {
          "exportID": "sample string 1",
          "value": "sample string 2"
        },
        {
          "exportID": "sample string 1",
          "value": "sample string 2"
        }
      ]
    }
  ],
  "ValidRequest": true,
  "TokenStatus": 2
}