POST api/mastergeofence/updatepolygon

Request Information

URI Parameters

None.

Body Parameters

MasterGeofence
NameDescriptionTypeAdditional information
GeofenceId

integer

None.

GeofenceCode

string

None.

GeofenceName

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

RadiusMeters

integer

None.

LocationType

string

None.

Address

string

None.

IsActive

boolean

None.

PolygonCoordinates

string

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "GeofenceId": 1,
  "GeofenceCode": "sample string 2",
  "GeofenceName": "sample string 3",
  "Latitude": 4.0,
  "Longitude": 5.0,
  "RadiusMeters": 6,
  "LocationType": "sample string 7",
  "Address": "sample string 8",
  "IsActive": true,
  "PolygonCoordinates": "sample string 10",
  "CreatedDate": "2026-07-03T11:45:40.0266371+00:00"
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.