NACE Codes
OpenData / NACE-Codes
Einzelnen NaceCode per Kennung (id oder code) abrufen
GET/api/opendata/nace_codes/{identifier}
Pfad-Parameter
identifierPflichtstring |
Antworten
200Einzelnen NaceCode abrufenNaceCode
Felder anzeigen (7)
idintegerPrimärschlüssel des NACE-Codes. Interne ID.
codestringNACE-Code der Wirtschaftstätigkeit.
levelintegerHierarchieebene des Codes.
parent_codestringCode des übergeordneten Eintrags in der Hierarchie.
isic_referencestringEntsprechender ISIC-Code.
search_stringstringText, unter dem die Entität gesucht werden kann.
namestringName der Einheit.
curl --request GET \
--url https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42const options = {method: 'GET'};
fetch('https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"
response = requests.get(url)
print(response.text)<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42');
echo $response->getBody();using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42")
.get()
.build();
Response response = client.newCall(request).execute();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Dart mit dem Package iw_erp_api
import 'package:iw_erp_api/clients/open_data_nace_code_controller.dart';
import 'package:iw_erp_api/logic/iw_api_state.dart';
IwApiState().host = 'eure-instanz.iw-erp.de';
final result = await OpenDataNaceCodeController.get('42');
if (result.success) {
print(result.data);
}{
"id": 42,
"name": "Beispiel",
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string",
"search_string": "string"
}Aktualisiert einen einzelnen NaceCode
PUT/api/opendata/nace_codes/{identifier}
Pfad-Parameter
identifierPflichtstring |
Request-Body application/json
dataNaceCode2Felder anzeigen (4)
codestringNACE-Code der Wirtschaftstätigkeit.
levelintegerHierarchieebene des Codes.
parent_codestringCode des übergeordneten Eintrags in der Hierarchie.
isic_referencestringEntsprechender ISIC-Code.
Antworten
200Aktualisiert einen einzelnen NaceCodeNaceCode
Felder anzeigen (7)
idintegerPrimärschlüssel des NACE-Codes. Interne ID.
codestringNACE-Code der Wirtschaftstätigkeit.
levelintegerHierarchieebene des Codes.
parent_codestringCode des übergeordneten Eintrags in der Hierarchie.
isic_referencestringEntsprechender ISIC-Code.
search_stringstringText, unter dem die Entität gesucht werden kann.
namestringName der Einheit.
curl --request PUT \
--url https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42 \
--header 'content-type: application/json' \
--data '
{
"data": {
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
}
}
'const options = {
method: 'PUT',
headers: {'content-type': 'application/json'},
body: JSON.stringify({
data: {code: 'string', level: 1, parent_code: 'string', isic_reference: 'string'}
})
};
fetch('https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"
payload = { "data": {
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
} }
headers = {"content-type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('PUT', 'https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42', [
'body' => '{"data":{"code":"string","level":1,"parent_code":"string","isic_reference":"string"}}',
'headers' => [
'content-type' => 'application/json',
],
]);
echo $response->getBody();using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Put,
RequestUri = new Uri("https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"),
Content = new StringContent("{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}");
Request request = new Request.Builder()
.url("https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42")
.put(body)
.addHeader("content-type", "application/json")
.build();
Response response = client.newCall(request).execute();package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"
payload := strings.NewReader("{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("content-type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Dart mit dem Package iw_erp_api
import 'package:iw_erp_api/clients/open_data_nace_code_controller.dart';
import 'package:iw_erp_api/logic/iw_api_state.dart';
import 'package:iw_erp_api/model/open_data_nace_code.dart';
IwApiState().host = 'eure-instanz.iw-erp.de';
final result = await OpenDataNaceCodeController.put(OpenDataNaceCode.fromJson({
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
}));
if (result.success) {
print(result.data);
}{
"id": 42,
"name": "Beispiel",
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string",
"search_string": "string"
}Aktualisiert einen einzelnen NaceCode
PATCH/api/opendata/nace_codes/{identifier}
Pfad-Parameter
identifierPflichtstring |
Request-Body application/json
dataNaceCode2Felder anzeigen (4)
codestringNACE-Code der Wirtschaftstätigkeit.
levelintegerHierarchieebene des Codes.
parent_codestringCode des übergeordneten Eintrags in der Hierarchie.
isic_referencestringEntsprechender ISIC-Code.
Antworten
200Aktualisiert einen einzelnen NaceCodeNaceCode
Felder anzeigen (7)
idintegerPrimärschlüssel des NACE-Codes. Interne ID.
codestringNACE-Code der Wirtschaftstätigkeit.
levelintegerHierarchieebene des Codes.
parent_codestringCode des übergeordneten Eintrags in der Hierarchie.
isic_referencestringEntsprechender ISIC-Code.
search_stringstringText, unter dem die Entität gesucht werden kann.
namestringName der Einheit.
curl --request PATCH \
--url https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42 \
--header 'content-type: application/json' \
--data '
{
"data": {
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
}
}
'const options = {
method: 'PATCH',
headers: {'content-type': 'application/json'},
body: JSON.stringify({
data: {code: 'string', level: 1, parent_code: 'string', isic_reference: 'string'}
})
};
fetch('https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"
payload = { "data": {
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
} }
headers = {"content-type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('PATCH', 'https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42', [
'body' => '{"data":{"code":"string","level":1,"parent_code":"string","isic_reference":"string"}}',
'headers' => [
'content-type' => 'application/json',
],
]);
echo $response->getBody();using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Patch,
RequestUri = new Uri("https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"),
Content = new StringContent("{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}");
Request request = new Request.Builder()
.url("https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42")
.patch(body)
.addHeader("content-type", "application/json")
.build();
Response response = client.newCall(request).execute();package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42"
payload := strings.NewReader("{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("content-type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Dart mit package:http (kein Controller im Package iw_erp_api)
import 'dart:convert';
import 'package:http/http.dart' as http;
final response = await http.patch(
Uri.parse('https://eure-instanz.iw-erp.de/api/opendata/nace_codes/42'),
headers: {'content-type': 'application/json'},
body: jsonEncode({
"data": {
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
}
}),
);
print(response.body);{
"id": 42,
"name": "Beispiel",
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string",
"search_string": "string"
}Erstellt einen einzelnen NaceCode
POST/api/opendata/nace_codes
Request-Body application/json
dataNaceCode2Felder anzeigen (4)
codestringNACE-Code der Wirtschaftstätigkeit.
levelintegerHierarchieebene des Codes.
parent_codestringCode des übergeordneten Eintrags in der Hierarchie.
isic_referencestringEntsprechender ISIC-Code.
Antworten
200Erstellt einen einzelnen NaceCodeNaceCode
Felder anzeigen (7)
idintegerPrimärschlüssel des NACE-Codes. Interne ID.
codestringNACE-Code der Wirtschaftstätigkeit.
levelintegerHierarchieebene des Codes.
parent_codestringCode des übergeordneten Eintrags in der Hierarchie.
isic_referencestringEntsprechender ISIC-Code.
search_stringstringText, unter dem die Entität gesucht werden kann.
namestringName der Einheit.
curl --request POST \
--url https://eure-instanz.iw-erp.de/api/opendata/nace_codes \
--header 'content-type: application/json' \
--data '
{
"data": {
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
}
}
'const options = {
method: 'POST',
headers: {'content-type': 'application/json'},
body: JSON.stringify({
data: {code: 'string', level: 1, parent_code: 'string', isic_reference: 'string'}
})
};
fetch('https://eure-instanz.iw-erp.de/api/opendata/nace_codes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://eure-instanz.iw-erp.de/api/opendata/nace_codes"
payload = { "data": {
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
} }
headers = {"content-type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://eure-instanz.iw-erp.de/api/opendata/nace_codes', [
'body' => '{"data":{"code":"string","level":1,"parent_code":"string","isic_reference":"string"}}',
'headers' => [
'content-type' => 'application/json',
],
]);
echo $response->getBody();using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("https://eure-instanz.iw-erp.de/api/opendata/nace_codes"),
Content = new StringContent("{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}");
Request request = new Request.Builder()
.url("https://eure-instanz.iw-erp.de/api/opendata/nace_codes")
.post(body)
.addHeader("content-type", "application/json")
.build();
Response response = client.newCall(request).execute();package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://eure-instanz.iw-erp.de/api/opendata/nace_codes"
payload := strings.NewReader("{\"data\":{\"code\":\"string\",\"level\":1,\"parent_code\":\"string\",\"isic_reference\":\"string\"}}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("content-type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Dart mit dem Package iw_erp_api
import 'package:iw_erp_api/clients/open_data_nace_code_controller.dart';
import 'package:iw_erp_api/logic/iw_api_state.dart';
import 'package:iw_erp_api/model/open_data_nace_code.dart';
IwApiState().host = 'eure-instanz.iw-erp.de';
final result = await OpenDataNaceCodeController.post(OpenDataNaceCode.fromJson({
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string"
}));
if (result.success) {
print(result.data);
}{
"id": 42,
"name": "Beispiel",
"code": "string",
"level": 1,
"parent_code": "string",
"isic_reference": "string",
"search_string": "string"
}