POST api/PUNCH_IN_PUNCH_OUT

Request Information

URI Parameters

None.

Body Parameters

PUNCHIN_PUNCHOUT
NameDescriptionTypeAdditional information
USER_ID

string

None.

VEHICLE_ID

string

None.

ODOMETER_READING

string

None.

WORK_SUMMARY

string

None.

LATITUDE

string

None.

LONGITUDE

string

None.

TYPE

string

None.

ODOMETER_PHOTO

Collection of byte

None.

EXTRA1

string

None.

EXTRA2

string

None.

EXTRA3

string

None.

Request Formats

application/json, text/json

Sample:
{
  "USER_ID": "sample string 1",
  "VEHICLE_ID": "sample string 2",
  "ODOMETER_READING": "sample string 3",
  "WORK_SUMMARY": "sample string 4",
  "LATITUDE": "sample string 5",
  "LONGITUDE": "sample string 6",
  "TYPE": "sample string 7",
  "ODOMETER_PHOTO": "QEA=",
  "EXTRA1": "sample string 8",
  "EXTRA2": "sample string 9",
  "EXTRA3": "sample string 10"
}

application/xml, text/xml

Sample:
<PUNCHIN_PUNCHOUT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DevakiNandan_Agro.Models">
  <EXTRA1>sample string 8</EXTRA1>
  <EXTRA2>sample string 9</EXTRA2>
  <EXTRA3>sample string 10</EXTRA3>
  <LATITUDE>sample string 5</LATITUDE>
  <LONGITUDE>sample string 6</LONGITUDE>
  <ODOMETER_PHOTO>QEA=</ODOMETER_PHOTO>
  <ODOMETER_READING>sample string 3</ODOMETER_READING>
  <TYPE>sample string 7</TYPE>
  <USER_ID>sample string 1</USER_ID>
  <VEHICLE_ID>sample string 2</VEHICLE_ID>
  <WORK_SUMMARY>sample string 4</WORK_SUMMARY>
</PUNCHIN_PUNCHOUT>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.