POST api/Holz

Request Information

URI Parameters

None.

Body Parameters

Holz
NameDescriptionTypeAdditional information
ID

integer

None.

LOSNR

string

None.

LOSNR_SAMMEL_LOS

string

None.

K

string

None.

HOLZNR

string

None.

BAUMART_ID

integer

None.

LAENGE

decimal number

None.

DURCHMESSER

decimal number

None.

VOLUMEN

decimal number

None.

GUETEKLASSE

string

None.

STAERKEKLASSE

string

None.

BEMERKUNG

string

None.

PLATZ_ID

integer

None.

WBES_ID

integer

None.

REVIER_ID

integer

None.

SUBMISSION_ID

integer

None.

HAB_IDS

string

None.

LOS_ID

string

None.

HLZ_ID

string

None.

IMPORT_ID

integer

None.

AKTIV

integer

None.

HAB

string

None.

LOS

string

None.

POLTER

string

None.

VZL_NR

string

None.

SORTIMENT

string

None.

Z1

date

None.

N1

globally unique identifier

None.

Z2

date

None.

N2

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "LOSNR": "sample string 2",
  "LOSNR_SAMMEL_LOS": "sample string 3",
  "K": "sample string 4",
  "HOLZNR": "sample string 5",
  "BAUMART_ID": 6,
  "LAENGE": 7.1,
  "DURCHMESSER": 8.1,
  "VOLUMEN": 9.1,
  "GUETEKLASSE": "sample string 10",
  "STAERKEKLASSE": "sample string 11",
  "BEMERKUNG": "sample string 12",
  "PLATZ_ID": 13,
  "WBES_ID": 14,
  "REVIER_ID": 15,
  "SUBMISSION_ID": 16,
  "HAB_IDS": "sample string 17",
  "LOS_ID": "sample string 18",
  "HLZ_ID": "sample string 19",
  "IMPORT_ID": 20,
  "AKTIV": 21,
  "HAB": "sample string 22",
  "LOS": "sample string 23",
  "POLTER": "sample string 24",
  "VZL_NR": "sample string 25",
  "SORTIMENT": "sample string 26",
  "Z1": "2026-10-15T19:02:13.8666649+02:00",
  "N1": "6338f890-8c30-428f-ae20-1aa2ba3ccd48",
  "Z2": "2026-10-15T19:02:13.8666649+02:00",
  "N2": "aca44dc8-8521-471f-81cf-4f77ca67bf60"
}

application/xml, text/xml

Sample:
<Holz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HolzApi.Models">
  <AKTIV>21</AKTIV>
  <BAUMART_ID>6</BAUMART_ID>
  <BEMERKUNG>sample string 12</BEMERKUNG>
  <DURCHMESSER>8.1</DURCHMESSER>
  <GUETEKLASSE>sample string 10</GUETEKLASSE>
  <HAB>sample string 22</HAB>
  <HAB_IDS>sample string 17</HAB_IDS>
  <HLZ_ID>sample string 19</HLZ_ID>
  <HOLZNR>sample string 5</HOLZNR>
  <ID>1</ID>
  <IMPORT_ID>20</IMPORT_ID>
  <K>sample string 4</K>
  <LAENGE>7.1</LAENGE>
  <LOS>sample string 23</LOS>
  <LOSNR>sample string 2</LOSNR>
  <LOSNR_SAMMEL_LOS>sample string 3</LOSNR_SAMMEL_LOS>
  <LOS_ID>sample string 18</LOS_ID>
  <N1>6338f890-8c30-428f-ae20-1aa2ba3ccd48</N1>
  <N2>aca44dc8-8521-471f-81cf-4f77ca67bf60</N2>
  <PLATZ_ID>13</PLATZ_ID>
  <POLTER>sample string 24</POLTER>
  <REVIER_ID>15</REVIER_ID>
  <SORTIMENT>sample string 26</SORTIMENT>
  <STAERKEKLASSE>sample string 11</STAERKEKLASSE>
  <SUBMISSION_ID>16</SUBMISSION_ID>
  <VOLUMEN>9.1</VOLUMEN>
  <VZL_NR>sample string 25</VZL_NR>
  <WBES_ID>14</WBES_ID>
  <Z1>2026-10-15T19:02:13.8666649+02:00</Z1>
  <Z2>2026-10-15T19:02:13.8666649+02:00</Z2>
</Holz>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Holz'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.