POST api/GeoZonen?benutzername={benutzername}&passwort={passwort}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| benutzername | string |
Required |
|
| passwort | string |
Required |
Body Parameters
GeoZoneDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| FirmaId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Lat | decimal number |
None. |
|
| Lon | decimal number |
None. |
|
| Radius | integer |
None. |
|
| IsGelöscht | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ea6f098f-85f0-4049-b49b-6fa5021c4dba",
"FirmaId": "0520d9c5-7110-417b-8588-f0b3719a5230",
"Name": "sample string 3",
"Lat": 4.1,
"Lon": 5.1,
"Radius": 6,
"IsGelöscht": true
}
application/xml, text/xml
Sample:
<GeoZoneDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDZeiterfassungCommonComponents.Dto"> <FirmaId>0520d9c5-7110-417b-8588-f0b3719a5230</FirmaId> <Id>ea6f098f-85f0-4049-b49b-6fa5021c4dba</Id> <IsGelöscht>true</IsGelöscht> <Lat>4.1</Lat> <Lon>5.1</Lon> <Name>sample string 3</Name> <Radius>6</Radius> </GeoZoneDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Alerts | Collection of Alert |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Alerts": null
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDZeiterfassungCommonComponents.Helpers"> <Alerts i:nil="true" /> <Success>true</Success> </Result>