POST api/Geofence?token={token}

This api is used to specify whether entering or leaving the terminal.

Request Information

Parameters

NameDescriptionAdditional information
token
generated token on login

Define this parameter in the request URI.

terminalInOut
To enter in terminal send 'IN' and for leave terminal send 'OUT'

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Terminal": "sample string 1",
  "Status": "sample string 2"
}

application/xml, text/xml

Sample:
<TerminalInOutStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PardDriverWebService.Models">
  <Status>sample string 2</Status>
  <Terminal>sample string 1</Terminal>
</TerminalInOutStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.