Zuständigkeiten
Last updated
Last updated
Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.
Die Zuständigkeiten in WOWIPORT können auf der Ebene der Wirtschaftseinheiten und der Nutzungseinheiten separat definiert werden.
Die Zuständigkeit ist mit einer Abteilungsart ("DepartmentType") verbunden, welche Aufschluss über die verbundene Tätigkeit gibt.
Jedes verbundene Objekt verfügt über eine Vielzahl an möglichen Zuständigkeiten, welche durch die jeweiligen Tätigkeitsbereiche unterschieden werden. Die Tätigkeitsbereiche können in einer Person vereint sein.
Jede Tätigkeit benötigt einen Hauptverantwortlichen ("MainJurisdiction"). Die hier hinterlegte Person ist dann der/die Hauptansprechpartner/in.
Die Zuständigkeit für ein Objekt kann ebenfalls eine "universelle Zuständigkeit" aufweisen ("...UniversalResponsibility" = true; "...UniversalResponsibleOfficial" enthält dann den Datensatz der Person).
Die hier hinterlegte Person übernimmt in diesem Fall alle Tätigkeiten für das entsprechende Objekt.
Der Endpunkt der Nutzungseinheiten enthält zusätzlich die Daten der Wirtschaftseinheit, um übergeordnete Zuständigkeiten zu erkennen.
OK
const response = await fetch('/openwowi/v1.1/CommercialInventory/EconomicUnit/Jurisdiction', {
method: 'GET',
headers: {},
});
const data = await response.json();
[
{
"EconomicUnit": {
"Id": 1,
"IdNum": "text",
"Name": "text",
"Location": "text"
},
"EconomicUnitUniversalResponsibility": true,
"EconomicUnitUniversalResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"EconomicUnitJurisdictionList": [
{
"Id": 1,
"MainJurisdiction": true,
"ResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"Department": {
"Id": 1,
"Name": "text"
},
"DepartmentType": {
"Id": 1,
"Name": "text"
}
}
]
}
]
OK
const response = await fetch('/openwowi/v1.1/CommercialInventory/UseUnit/Jurisdiction', {
method: 'GET',
headers: {},
});
const data = await response.json();
[
{
"UseUnit": {
"Id": 1,
"UseUnitNumber": "text",
"BuildingLandId": 1,
"EconomicUnitId": 1,
"EconomicUnit": "text"
},
"UseUnitUniversalResponsibility": true,
"UseUnitUniversalResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"EconomicUnitUniversalResponsibility": true,
"EconomicUnitUniversalResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"UseUnitJurisdictionList": [
{
"Id": 1,
"MainJurisdiction": true,
"ResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"Department": {
"Id": 1,
"Name": "text"
},
"DepartmentType": {
"Id": 1,
"Name": "text"
}
}
]
}
]
OK
const response = await fetch('/openwowi/v1.1/CommercialInventory/ResponsibleOfficial', {
method: 'GET',
headers: {},
});
const data = await response.json();
[
{
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"UserId": 1,
"Person": {
"Id": 1,
"IdNum": "text",
"Shortname": "text",
"Name": "text",
"NodeId": 1,
"TaxNumber": "text",
"TaxIdentificationNumber": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"IsNaturalPerson": true,
"NaturalPerson": {
"Title": "text",
"FirstName": "text",
"LastName": "text",
"BirthName": "text",
"CareOf": "text",
"BirthDate": "2025-02-05",
"DeathDate": "2025-02-05T04:01:03.778Z",
"Gender": {
"Id": 1,
"Name": "text"
},
"MaritalType": {
"Id": 1,
"Name": "text"
},
"Nationality": {
"Id": 1,
"Name": "text",
"Code": "text"
},
"ContactPreference": {
"Id": 1,
"Name": "text"
}
},
"LegalPerson": {
"LongName1": "text",
"LongName2": "text",
"VatId": "text",
"CommercialRegisterNumber": "text",
"CommercialRegisterTown": "text"
},
"Addresses": [
{
"Id": 1,
"Zip": "text",
"Town": "text",
"Street": "text",
"HouseNumber": "text",
"HouseNumberAddition": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"StreetComplete": "text",
"HouseNumberComplete": "text",
"MainAddress": true,
"AddressType": {
"Id": 1,
"Name": "text"
},
"Country": {
"Id": 1,
"Name": "text",
"Code": "text"
}
}
],
"Communications": [
{
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
}
],
"BankAccounts": [
{
"Id": 1,
"BankAccountId": 1,
"Iban": "text",
"Bic": "text",
"AccountHolder": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"BankAccountType": {
"Id": 1,
"Code": "text"
},
"BankAccountUsageType": {
"Id": 1,
"Code": "text"
}
}
],
"FirstEmailCommunication": {
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
},
"FirstLandlinePhoneCommunication": {
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
},
"FirstMobilePhoneCommunication": {
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
}
},
"DefaultAddress": {
"Id": 1,
"Zip": "text",
"Town": "text",
"Street": "text",
"HouseNumber": "text",
"HouseNumberAddition": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"StreetComplete": "text",
"HouseNumberComplete": "text",
"MainAddress": true,
"AddressType": {
"Id": 1,
"Name": "text"
},
"Country": {
"Id": 1,
"Name": "text",
"Code": "text"
}
}
}
]
OK
const response = await fetch('/openwowi/v1.2/CommercialInventory/EconomicUnit/Jurisdiction', {
method: 'GET',
headers: {},
});
const data = await response.json();
[
{
"EconomicUnit": {
"Id": 1,
"IdNum": "text",
"Name": "text",
"Location": "text"
},
"EconomicUnitUniversalResponsibility": true,
"EconomicUnitUniversalResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"EconomicUnitJurisdictionList": [
{
"Id": 1,
"MainJurisdiction": true,
"ResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"Department": {
"Id": 1,
"Name": "text"
},
"DepartmentType": {
"Id": 1,
"Name": "text"
}
}
]
}
]
OK
const response = await fetch('/openwowi/v1.2/CommercialInventory/UseUnit/Jurisdiction', {
method: 'GET',
headers: {},
});
const data = await response.json();
[
{
"UseUnit": {
"Id": 1,
"UseUnitNumber": "text",
"BuildingLandId": 1,
"EconomicUnitId": 1,
"EconomicUnit": "text"
},
"UseUnitUniversalResponsibility": true,
"UseUnitUniversalResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"EconomicUnitUniversalResponsibility": true,
"EconomicUnitUniversalResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"UseUnitJurisdictionList": [
{
"Id": 1,
"MainJurisdiction": true,
"ResponsibleOfficial": {
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"PersonId": 1,
"PersonName": "text",
"UserId": 1
},
"Department": {
"Id": 1,
"Name": "text"
},
"DepartmentType": {
"Id": 1,
"Name": "text"
}
}
]
}
]
OK
const response = await fetch('/openwowi/v1.2/CommercialInventory/ResponsibleOfficial', {
method: 'GET',
headers: {},
});
const data = await response.json();
[
{
"Id": 1,
"CodeShort": "text",
"AutomaticMailsActivated": true,
"UniversalResponsibilityPossible": true,
"UserId": 1,
"Person": {
"Id": 1,
"IdNum": "text",
"Shortname": "text",
"Name": "text",
"NodeId": 1,
"TaxNumber": "text",
"TaxIdentificationNumber": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"IsNaturalPerson": true,
"NaturalPerson": {
"Title": "text",
"FirstName": "text",
"LastName": "text",
"BirthName": "text",
"CareOf": "text",
"BirthDate": "2025-02-05",
"DeathDate": "2025-02-05T04:01:03.778Z",
"Gender": {
"Id": 1,
"Name": "text"
},
"MaritalType": {
"Id": 1,
"Name": "text"
},
"Nationality": {
"Id": 1,
"Name": "text",
"Code": "text"
},
"ContactPreference": {
"Id": 1,
"Name": "text"
}
},
"LegalPerson": {
"LongName1": "text",
"LongName2": "text",
"VatId": "text",
"CommercialRegisterNumber": "text",
"CommercialRegisterTown": "text"
},
"Addresses": [
{
"Id": 1,
"Zip": "text",
"Town": "text",
"Street": "text",
"HouseNumber": "text",
"HouseNumberAddition": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"StreetComplete": "text",
"HouseNumberComplete": "text",
"MainAddress": true,
"AddressType": {
"Id": 1,
"Name": "text"
},
"Country": {
"Id": 1,
"Name": "text",
"Code": "text"
}
}
],
"Communications": [
{
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
}
],
"BankAccounts": [
{
"Id": 1,
"BankAccountId": 1,
"Iban": "text",
"Bic": "text",
"AccountHolder": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"BankAccountType": {
"Id": 1,
"Code": "text"
},
"BankAccountUsageType": {
"Id": 1,
"Code": "text"
}
}
],
"FirstEmailCommunication": {
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
},
"FirstLandlinePhoneCommunication": {
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
},
"FirstMobilePhoneCommunication": {
"Id": 1,
"RelatedAddressId": 1,
"Content": "text",
"Explanation": "text",
"RelatedAddress": "text",
"CommunicationType": {
"Id": 1,
"Name": "text"
}
}
},
"DefaultAddress": {
"Id": 1,
"Zip": "text",
"Town": "text",
"Street": "text",
"HouseNumber": "text",
"HouseNumberAddition": "text",
"ValidFrom": "2025-02-05",
"ValidTo": "2025-02-05",
"StreetComplete": "text",
"HouseNumberComplete": "text",
"MainAddress": true,
"AddressType": {
"Id": 1,
"Name": "text"
},
"Country": {
"Id": 1,
"Name": "text",
"Code": "text"
}
}
}
]