Delete Geofence

The /Geofence{fenceID} DELETE request allows you to delete an existing geofence from a geofence set.

Request

DELETE https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/Geofence/{geofenceId}

URL Parameters

Required parameters are highlighted in yellow.

Data ElementDescriptionData TypeValue/Example
geofenceIdThe Id of the geofence to deleteinteger

Response

The return from this operation is 1 for success or an error on failure.

1

Errors

Data ElementDescriptionData TypeValue/Example
TypeIndicates whether the error is an exception or warningEnumWarning
Exception
CodeError codeEnumPlease refer to Appendix for complete list
LegacyErrorCodeThe legacy error code with is an integer valued code that would have been returned in PC*MILER Web Services v25 and earlier.Int
DescriptionThe detailed error description.string