POST api/geofence/create
Request Information
URI Parameters
None.
Body Parameters
CreateCustomGeofenceViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GeofenceId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| GeofencePerimeterType | string |
None. |
|
| GeofencePerimeterTypeId | integer |
None. |
|
| CreatedDateTime | date |
None. |
|
| Diameter | integer |
None. |
|
| Coordinates | Collection of Coordinates |
None. |
|
| DealershipId | integer |
None. |
|
| ClientId | integer |
None. |
|
| GeofenceType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"GeofenceId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"GeofencePerimeterType": "sample string 4",
"GeofencePerimeterTypeId": 5,
"CreatedDateTime": "2026-02-06T00:53:37.407113+00:00",
"Diameter": 7,
"Coordinates": [
{
"Latitude": 1.1,
"Longitude": 2.1
},
{
"Latitude": 1.1,
"Longitude": 2.1
}
],
"DealershipId": 1,
"ClientId": 1,
"GeofenceType": 5
}
application/xml, text/xml
Sample:
<CreateCustomGeofenceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fintrak.Process.Geofencing.Models">
<ClientId>1</ClientId>
<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:53:37.407113+00:00</CreatedDateTime>
<DealershipId>1</DealershipId>
<Description>sample string 3</Description>
<Diameter>7</Diameter>
<GeofenceId>1</GeofenceId>
<GeofencePerimeterType>sample string 4</GeofencePerimeterType>
<GeofencePerimeterTypeId>5</GeofencePerimeterTypeId>
<Name>sample string 2</Name>
</CreateCustomGeofenceViewModel>
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.