POST api/Meldungen/{gipedgecategory}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gipedgecategory

string

None.

Body Parameters

Meldung
NameDescriptionTypeAdditional 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:40:33.9129748+01:00",
  "Kommentare": [
    {
      "Id": 1,
      "FKMeldung": 2,
      "Beschreibung": "sample string 3",
      "Zeitstempel": "2024-11-23T19:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:40:33.9129748+01:00","Kommentare":[{"Id":1,"FKMeldung":2,"Beschreibung":"sample string 3","Zeitstempel":"2024-11-23T19:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:40:33.9129748+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:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'GIP_Communicator_Server.DomainObjects.SimpleRule' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'GIP_Communicator_Server.DomainObjects.SimpleRule' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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 'Meldung'.

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.