POST api/PoctLogin/poctPunchOutDoneApi2

Request Information

URI Parameters

None.

Body Parameters

mypunchoutdata2
NameDescriptionTypeAdditional information
locationtimeOut

string

None.

achievment

string

None.

empcode

string

None.

gpslat

string

None.

gpslong

string

None.

distance

integer

None.

userdistance

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "locationtimeOut": "sample string 1",
  "achievment": "sample string 2",
  "empcode": "sample string 3",
  "gpslat": "sample string 4",
  "gpslong": "sample string 5",
  "distance": 6,
  "userdistance": 7
}

application/xml, text/xml

Sample:
<Login.mypunchoutdata2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models">
  <achievment>sample string 2</achievment>
  <distance>6</distance>
  <empcode>sample string 3</empcode>
  <gpslat>sample string 4</gpslat>
  <gpslong>sample string 5</gpslong>
  <locationtimeOut>sample string 1</locationtimeOut>
  <userdistance>7</userdistance>
</Login.mypunchoutdata2>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.