POST api/Geofence/get

Request Information

URI Parameters

None.

Body Parameters

FilterGeofence
NameDescriptionTypeAdditional information
SiteId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteId": "sample string 1"
}

application/xml, text/xml

Sample:
<FilterGeofence xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Harshita.Model.EmployeeModal">
  <SiteId>sample string 1</SiteId>
</FilterGeofence>

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

Response Information

Resource Description

GeofenceViewResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

TDS

GeofenceView

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "TDS": {
    "GeofencePath": "sample string 1",
    "SiteName": "sample string 2",
    "SiteId": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<GeofenceViewResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Harshita.Model.EmployeeModal">
  <StatusCode>1</StatusCode>
  <TDS>
    <GeofencePath>sample string 1</GeofencePath>
    <SiteId>sample string 3</SiteId>
    <SiteName>sample string 2</SiteName>
  </TDS>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</GeofenceViewResponse>