POST api/m/Meldungen/PostMeldungen
Request Information
URI Parameters
None.
Body Parameters
MeldungName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
hash | string |
None. |
|
LatLng | LatLng |
None. |
|
Titel | string |
None. |
|
Abschnittskategorie | integer |
None. |
|
Subnetz | integer |
None. |
|
RegionalCode | string |
None. |
|
SqlError | string |
None. |
|
FKQuellsystem | integer |
None. |
|
Zeitstempel | date |
None. |
|
Kommentare | Collection of Kommentar |
None. |
|
IsValid | boolean |
None. |
|
Error | string |
None. |
|
Item | string |
None. |
|
_RegionalCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "_RegionalCode": "sample string 1", "Id": 1, "hash": "1_2", "LatLng": { "Lat": 1.1, "Lng": 2.1 }, "Titel": "sample string 2", "Abschnittskategorie": 3, "Subnetz": 1, "RegionalCode": "sample string 1", "SqlError": "sample string 5", "FKQuellsystem": 6, "Zeitstempel": "2024-11-23T19:57:18.0313639+01:00", "Kommentare": [ { "Id": 1, "FKMeldung": 2, "Beschreibung": "sample string 3", "Zeitstempel": "2024-11-23T19:57:18.0313639+01:00", "FKBenutzer": 5, "EnableCtrls": false, "ReadOnlyTextbox": true, "BenutzerEmail": "sample string 6", "FKPrioritaet": 7, "FehlertypenAnzahl": 2, "FKFehlertypen": [ 1, 2 ], "FKStatus": 9, "FKSchliessungsGrund": 1, "FKZustaendiger": 10, "ZustaendigerName": "sample string 11", "ZustaendigerEmail": "sample string 12", "ZustaendigerMassstab": 13, "ZustaendigerTelefon": "sample string 14", "Attachments": [ { "FullName": "sample string 1", "Name": "sample string 2", "Size": 3, "Id": 4, "MeldungsId": 5, "KommentarId": 6, "ContentType": "sample string 7", "Zeitstempel": "2024-11-23T19:57:18.0313639+01:00" }, { "FullName": "sample string 1", "Name": "sample string 2", "Size": 3, "Id": 4, "MeldungsId": 5, "KommentarId": 6, "ContentType": "sample string 7", "Zeitstempel": "2024-11-23T19:57:18.0313639+01:00" } ], "Skizzen": [ { "id": 1, "mid": 2, "kid": 3, "info": "sample string 4", "coordinates": [ [ 1.1, 2.1 ], [ 1.1, 2.1 ] ] }, { "id": 1, "mid": 2, "kid": 3, "info": "sample string 4", "coordinates": [ [ 1.1, 2.1 ], [ 1.1, 2.1 ] ] } ], "SqlError": "sample string 15", "IsValid": false, "Error": "Melder Email ist ungültig.\r\nVerantwortlicher Email ist ungültig." }, { "Id": 1, "FKMeldung": 2, "Beschreibung": "sample string 3", "Zeitstempel": "2024-11-23T19:57:18.0313639+01:00", "FKBenutzer": 5, "EnableCtrls": false, "ReadOnlyTextbox": true, "BenutzerEmail": "sample string 6", "FKPrioritaet": 7, "FehlertypenAnzahl": 2, "FKFehlertypen": [ 1, 2 ], "FKStatus": 9, "FKSchliessungsGrund": 1, "FKZustaendiger": 10, "ZustaendigerName": "sample string 11", "ZustaendigerEmail": "sample string 12", "ZustaendigerMassstab": 13, "ZustaendigerTelefon": "sample string 14", "Attachments": [ { "FullName": "sample string 1", "Name": "sample string 2", "Size": 3, "Id": 4, "MeldungsId": 5, "KommentarId": 6, "ContentType": "sample string 7", "Zeitstempel": "2024-11-23T19:57:18.0313639+01:00" }, { "FullName": "sample string 1", "Name": "sample string 2", "Size": 3, "Id": 4, "MeldungsId": 5, "KommentarId": 6, "ContentType": "sample string 7", "Zeitstempel": "2024-11-23T19:57:18.0313639+01:00" } ], "Skizzen": [ { "id": 1, "mid": 2, "kid": 3, "info": "sample string 4", "coordinates": [ [ 1.1, 2.1 ], [ 1.1, 2.1 ] ] }, { "id": 1, "mid": 2, "kid": 3, "info": "sample string 4", "coordinates": [ [ 1.1, 2.1 ], [ 1.1, 2.1 ] ] } ], "SqlError": "sample string 15", "IsValid": false, "Error": "Melder Email ist ungültig.\r\nVerantwortlicher Email ist ungültig." } ], "IsValid": false, "Error": "Kein Kommentar oder ungültiges Kommentar eingegeben.\r\nKein gültiger Längen- und/oder Breitengrad." }
text/html
Sample:
{"_RegionalCode":"sample string 1","Id":1,"hash":"1_2","LatLng":{"Lat":1.1,"Lng":2.1},"Titel":"sample string 2","Abschnittskategorie":3,"Subnetz":1,"RegionalCode":"sample string 1","SqlError":"sample string 5","FKQuellsystem":6,"Zeitstempel":"2024-11-23T19:57:18.0313639+01:00","Kommentare":[{"Id":1,"FKMeldung":2,"Beschreibung":"sample string 3","Zeitstempel":"2024-11-23T19:57:18.0313639+01:00","FKBenutzer":5,"EnableCtrls":false,"ReadOnlyTextbox":true,"BenutzerEmail":"sample string 6","FKPrioritaet":7,"FehlertypenAnzahl":2,"FKFehlertypen":[1,2],"FKStatus":9,"FKSchliessungsGrund":1,"FKZustaendiger":10,"ZustaendigerName":"sample string 11","ZustaendigerEmail":"sample string 12","ZustaendigerMassstab":13,"ZustaendigerTelefon":"sample string 14","Attachments":[{"FullName":"sample string 1","Name":"sample string 2","Size":3,"Id":4,"MeldungsId":5,"KommentarId":6,"ContentType":"sample string 7","Zeitstempel":"2024-11-23T19:57:18.0313639+01:00"},{"FullName":"sample string 1","Name":"sample string 2","Size":3,"Id":4,"MeldungsId":5,"KommentarId":6,"ContentType":"sample string 7","Zeitstempel":"2024-11-23T19:57:18.0313639+01:00"}],"Skizzen":[{"id":1,"mid":2,"kid":3,"info":"sample string 4","coordinates":[[1.1,2.1],[1.1,2.1]]},{"id":1,"mid":2,"kid":3,"info":"sample string 4","coordinates":[[1.1,2.1],[1.1,2.1]]}],"SqlError":"sample string 15","IsValid":false,"Error":"Melder Email ist ungültig.\r\nVerantwortlicher Email ist ungültig."},{"Id":1,"FKMeldung":2,"Beschreibung":"sample string 3","Zeitstempel":"2024-11-23T19:57:18.0313639+01:00","FKBenutzer":5,"EnableCtrls":false,"ReadOnlyTextbox":true,"BenutzerEmail":"sample string 6","FKPrioritaet":7,"FehlertypenAnzahl":2,"FKFehlertypen":[1,2],"FKStatus":9,"FKSchliessungsGrund":1,"FKZustaendiger":10,"ZustaendigerName":"sample string 11","ZustaendigerEmail":"sample string 12","ZustaendigerMassstab":13,"ZustaendigerTelefon":"sample string 14","Attachments":[{"FullName":"sample string 1","Name":"sample string 2","Size":3,"Id":4,"MeldungsId":5,"KommentarId":6,"ContentType":"sample string 7","Zeitstempel":"2024-11-23T19:57:18.0313639+01:00"},{"FullName":"sample string 1","Name":"sample string 2","Size":3,"Id":4,"MeldungsId":5,"KommentarId":6,"ContentType":"sample string 7","Zeitstempel":"2024-11-23T19:57:18.0313639+01:00"}],"Skizzen":[{"id":1,"mid":2,"kid":3,"info":"sample string 4","coordinates":[[1.1,2.1],[1.1,2.1]]},{"id":1,"mid":2,"kid":3,"info":"sample string 4","coordinates":[[1.1,2.1],[1.1,2.1]]}],"SqlError":"sample string 15","IsValid":false,"Error":"Melder Email ist ungültig.\r\nVerantwortlicher Email ist ungültig."}],"IsValid":false,"Error":"Kein Kommentar oder ungültiges Kommentar eingegeben.\r\nKein gültiger Längen- und/oder Breitengrad."}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |