POST json/DNKDataExportCompanyIdMappingArray

Exports all released Sustainability company names und IDs

Request Information

URI Parameters

None.

Body Parameters

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

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
}