POST api/OnTheGo/EmpTracking/SendTimecardLog

Request Information

URI Parameters

None.

Body Parameters

TimecardLogInfo
NameDescriptionTypeAdditional information
EmployeeID

integer

None.

ActionProviderID

integer

None.

ActionTypeID

integer

None.

UTCActionTimeStamp

date

None.

GPSLat

decimal number

None.

GPSLong

decimal number

None.

GPSAddress

string

None.

Velocity

decimal number

None.

IsGPSFineGrain

boolean

None.

IsDelivered

boolean

None.

PhotoID

string

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeID": 1,
  "ActionProviderID": 2,
  "ActionTypeID": 3,
  "UTCActionTimeStamp": "2025-05-02T12:06:42.191Z",
  "GPSLat": 5.0,
  "GPSLong": 6.0,
  "GPSAddress": "sample string 7",
  "Velocity": 8.1,
  "IsGPSFineGrain": true,
  "IsDelivered": true,
  "PhotoID": "sample string 11",
  "Comment": "sample string 12"
}

application/xml, text/xml

Sample:
<EmployeeTrackingModel.TimecardLogInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appsvc.rapidappsinc.com.Areas.OnTheGo.Models">
  <ActionProviderID>2</ActionProviderID>
  <ActionTypeID>3</ActionTypeID>
  <Comment>sample string 12</Comment>
  <EmployeeID>1</EmployeeID>
  <GPSAddress>sample string 7</GPSAddress>
  <GPSLat>5</GPSLat>
  <GPSLong>6</GPSLong>
  <IsDelivered>true</IsDelivered>
  <IsGPSFineGrain>true</IsGPSFineGrain>
  <PhotoID>sample string 11</PhotoID>
  <UTCActionTimeStamp>2025-05-02T12:06:42.1910354+00:00</UTCActionTimeStamp>
  <Velocity>8.1</Velocity>
</EmployeeTrackingModel.TimecardLogInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.