POST api/GeoFences
Request Information
URI Parameters
None.
Body Parameters
GeoFenceName | Description | Type | Additional information |
---|---|---|---|
GeoFenceID | globally unique identifier |
None. |
|
SiteID | integer |
None. |
|
Description | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Radius | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "GeoFenceID": "f3931041-745b-434a-8950-67b98f37ef3d", "SiteID": 2, "Description": "sample string 3", "Latitude": 4.0, "Longitude": 5.0, "Radius": 6.0 }
application/xml, text/xml
Sample:
<GeoFence xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Description>sample string 3</Description> <GeoFenceID>f3931041-745b-434a-8950-67b98f37ef3d</GeoFenceID> <Latitude>4</Latitude> <Longitude>5</Longitude> <Radius>6</Radius> <SiteID>2</SiteID> </GeoFence>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |