POST api/geofence/editgeofence
Request Information
URI Parameters
None.
Body Parameters
EditGeofenceViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GeofenceId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| GeofencePerimeterTypeId | integer |
None. |
|
| CreatedDateTime | date |
None. |
|
| Diameter | integer |
None. |
|
| Coordinates | Collection of Coordinates |
None. |
Request Formats
application/json, text/json
Sample:
{
"GeofenceId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"GeofencePerimeterTypeId": 4,
"CreatedDateTime": "2026-02-06T00:52:15.3711977+00:00",
"Diameter": 6,
"Coordinates": [
{
"Latitude": 1.1,
"Longitude": 2.1
},
{
"Latitude": 1.1,
"Longitude": 2.1
}
]
}
application/xml, text/xml
Sample:
<EditGeofenceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fintrak.Process.Geofencing.Models">
<Coordinates xmlns:d2p1="http://schemas.datacontract.org/2004/07/FinTrak.Geofencing">
<d2p1:Coordinates>
<d2p1:Latitude>1.1</d2p1:Latitude>
<d2p1:Longitude>2.1</d2p1:Longitude>
</d2p1:Coordinates>
<d2p1:Coordinates>
<d2p1:Latitude>1.1</d2p1:Latitude>
<d2p1:Longitude>2.1</d2p1:Longitude>
</d2p1:Coordinates>
</Coordinates>
<CreatedDateTime>2026-02-06T00:52:15.3711977+00:00</CreatedDateTime>
<Description>sample string 3</Description>
<Diameter>6</Diameter>
<GeofenceId>1</GeofenceId>
<GeofencePerimeterTypeId>4</GeofencePerimeterTypeId>
<Name>sample string 2</Name>
</EditGeofenceViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.