Abteilung

Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.

Abteilung

Version 1.2


GET/openwowi/v1.2/CommercialInventory/Department
Authorization
Query parameters
Response

OK

Body
Idinteger (int32)
IdNumnullable string
Namenullable string
ManagementIdinteger (int32)
ParentIdnullable integer (int32)
ResponsibleOfficialsnullable array of object
UniversalResponsibleOfficialsnullable array of object
DepartmentTypenullable all of
DepartmentSubtypenullable all of
Request
const response = await fetch('/openwowi/v1.2/CommercialInventory/Department', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "Id": 1,
    "IdNum": "text",
    "Name": "text",
    "ManagementId": 1,
    "ParentId": 1,
    "ResponsibleOfficials": [
      {
        "Id": 1,
        "CodeShort": "text",
        "PersonId": 1
      }
    ],
    "UniversalResponsibleOfficials": [
      {
        "Id": 1,
        "CodeShort": "text",
        "PersonId": 1
      }
    ],
    "DepartmentType": {
      "Id": 1,
      "Name": "text"
    },
    "DepartmentSubtype": {
      "Id": 1,
      "Name": "text"
    }
  }
]

Last updated