POST api/post
Request Information
URI Parameters
None.
Body Parameters
PostForm| Name | Description | Type | Additional information |
|---|---|---|---|
| data | DataForm |
None. |
|
| token | string |
None. |
|
| date | date |
None. |
|
| lat | decimal number |
None. |
|
| lon | decimal number |
None. |
|
| files | Collection of File |
None. |
|
| fileJson | fileJsonModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"data": {
"vermesser": "sample string 1",
"fa": "sample string 2",
"revier": "sample string 3",
"bsa": "sample string 4",
"mas": "sample string 5",
"los": "sample string 6",
"polter": "sample string 7",
"aufteilen": "sample string 8",
"aushaltung": "sample string 9",
"module": "sample string 10",
"polterunterlagen": "sample string 11",
"nicht": "sample string 12",
"baumart": [
{
"type": "sample string 1",
"procent": 2
},
{
"type": "sample string 1",
"procent": 2
}
],
"sorteI": [
{
"type": "sample string 1",
"procent": 2
},
{
"type": "sample string 1",
"procent": 2
}
],
"sorteIS": [
{
"type": "sample string 1",
"procent": 2
},
{
"type": "sample string 1",
"procent": 2
}
],
"gesamtPolterA": "sample string 13",
"sektionsPolterA": [
"sample string 1",
"sample string 2"
],
"gesamtPolterB": "sample string 14",
"sektionsPolterB": "sample string 15"
},
"token": "sample string 1",
"date": "2025-12-06T04:34:08.3411846+01:00",
"lat": 1.0,
"lon": 1.0,
"files": [
{
"fileName": "sample string 1",
"base64": "sample string 2"
},
{
"fileName": "sample string 1",
"base64": "sample string 2"
}
],
"fileJson": {
"status": "sample string 1"
}
}
application/xml, text/xml
Sample:
<ValuesController.PostForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HededanmarkLinuxAPI.Controllers">
<data>
<aufteilen>sample string 8</aufteilen>
<aushaltung>sample string 9</aushaltung>
<baumart>
<ValuesController.PostForm.ArrayType>
<procent>2</procent>
<type>sample string 1</type>
</ValuesController.PostForm.ArrayType>
<ValuesController.PostForm.ArrayType>
<procent>2</procent>
<type>sample string 1</type>
</ValuesController.PostForm.ArrayType>
</baumart>
<bsa>sample string 4</bsa>
<fa>sample string 2</fa>
<gesamtPolterA>sample string 13</gesamtPolterA>
<gesamtPolterB>sample string 14</gesamtPolterB>
<los>sample string 6</los>
<mas>sample string 5</mas>
<module>sample string 10</module>
<nicht>sample string 12</nicht>
<polter>sample string 7</polter>
<polterunterlagen>sample string 11</polterunterlagen>
<revier>sample string 3</revier>
<sektionsPolterA xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</sektionsPolterA>
<sektionsPolterB>sample string 15</sektionsPolterB>
<sorteI>
<ValuesController.PostForm.ArrayType>
<procent>2</procent>
<type>sample string 1</type>
</ValuesController.PostForm.ArrayType>
<ValuesController.PostForm.ArrayType>
<procent>2</procent>
<type>sample string 1</type>
</ValuesController.PostForm.ArrayType>
</sorteI>
<sorteIS>
<ValuesController.PostForm.ArrayType>
<procent>2</procent>
<type>sample string 1</type>
</ValuesController.PostForm.ArrayType>
<ValuesController.PostForm.ArrayType>
<procent>2</procent>
<type>sample string 1</type>
</ValuesController.PostForm.ArrayType>
</sorteIS>
<vermesser>sample string 1</vermesser>
</data>
<date>2025-12-06T04:34:08.3411846+01:00</date>
<fileJson>
<status>sample string 1</status>
</fileJson>
<files>
<ValuesController.PostForm.File>
<base64>sample string 2</base64>
<fileName>sample string 1</fileName>
</ValuesController.PostForm.File>
<ValuesController.PostForm.File>
<base64>sample string 2</base64>
<fileName>sample string 1</fileName>
</ValuesController.PostForm.File>
</files>
<lat>1</lat>
<lon>1</lon>
<token>sample string 1</token>
</ValuesController.PostForm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>