POST api/Kontakte/{gipedgecategory}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gipedgecategory

string

None.

Body Parameters

Kontakt
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Email

string

None.

Telefonnummer

string

None.

Defaultmassstab

integer

None.

MapCenterLat

decimal number

None.

MapCenterLng

decimal number

None.

CustomLayers

string

None.

IsValid

boolean

None.

Error

string

None.

Item

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Telefonnummer": "sample string 4",
  "Defaultmassstab": 5,
  "MapCenterLat": 6.1,
  "MapCenterLng": 7.1,
  "CustomLayers": "sample string 8",
  "IsValid": false,
  "Error": "Email ist ungültig.\r\nZoomlevel ist ungültig."
}

text/html

Sample:
{"Id":1,"Name":"sample string 2","Email":"sample string 3","Telefonnummer":"sample string 4","Defaultmassstab":5,"MapCenterLat":6.1,"MapCenterLng":7.1,"CustomLayers":"sample string 8","IsValid":false,"Error":"Email ist ungültig.\r\nZoomlevel ist ungültig."}

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

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.