POST api/geofencetype/add

Request Information

URI Parameters

None.

Body Parameters

GeoFence_TypeAdd
NameDescriptionTypeAdditional information
TypeId

string

None.

TypeHead

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TypeId": "sample string 1",
  "TypeHead": "sample string 2"
}

application/xml, text/xml

Sample:
<GeoFence_TypeAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPSTracking.Model">
  <TypeHead>sample string 2</TypeHead>
  <TypeId>sample string 1</TypeId>
</GeoFence_TypeAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GeoFence_TypeResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

StatusText

string

None.

Msg

string

None.

DL

Collection of GeoFence_TypeView

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "StatusText": "sample string 2",
  "Msg": "sample string 3",
  "DL": [
    {
      "TypeId": "sample string 1",
      "TypeHead": "sample string 2",
      "IsActive": true
    },
    {
      "TypeId": "sample string 1",
      "TypeHead": "sample string 2",
      "IsActive": true
    }
  ]
}

application/xml, text/xml

Sample:
<GeoFence_TypeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPSTracking.Model">
  <DL>
    <GeoFence_TypeView>
      <IsActive>true</IsActive>
      <TypeHead>sample string 2</TypeHead>
      <TypeId>sample string 1</TypeId>
    </GeoFence_TypeView>
    <GeoFence_TypeView>
      <IsActive>true</IsActive>
      <TypeHead>sample string 2</TypeHead>
      <TypeId>sample string 1</TypeId>
    </GeoFence_TypeView>
  </DL>
  <Msg>sample string 3</Msg>
  <Status>true</Status>
  <StatusText>sample string 2</StatusText>
</GeoFence_TypeResponse>