PUT api/GeoZonen/{id}?benutzername={benutzername}&passwort={passwort}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| benutzername | string |
Required |
|
| passwort | string |
Required |
|
| id | globally unique identifier |
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": "8e9a4675-b66b-4516-87bf-78dbc6fc1ce1",
"FirmaId": "5f2d4e34-e918-41a8-82b7-871f0fe5fbc3",
"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>5f2d4e34-e918-41a8-82b7-871f0fe5fbc3</FirmaId> <Id>8e9a4675-b66b-4516-87bf-78dbc6fc1ce1</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>