FieldRoutes API docs logoFieldRoutes API

Field Operations

timeClock

3 endpoints. Start at search to collect IDs, then resolve them through get.

Read operations

get/timeClock/getTry it

get timeClock

Get Bulk data for timeClock. Accepts an array of entryIDs. Returns a max of 1000 records.

Parameters

entryIDsarray

No description in the upstream reference.

Returns

entryIDinteger

Unique ID

employeeIDinteger

EmployeeID time clock entry applied to

officeIDinteger

officeID the time clock entry was made on

timeInstring

Clock-in time in server time (PST)

timeOutstring

Clock-Out time in server time (PST)

clockCategoryIDinteger

Clock category ID that was used for this entry

paidinteger

0 - time clock category is specified as unpaid, 1 - time clock category is specified as paid. If time clock category is specified as 0 or does not exist it is considered a paid entry.

Request

/timeClock/get
curl -X POST 'https://{subdomain}.pestroutes.com/api/timeClock/get' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Accept: application/json' \
  --data-urlencode 'entryIDs=value' \
  --data-urlencode 'authenticationKey=<your-key>' \
  --data-urlencode 'authenticationToken=<your-token>'

Response

success:true
]
count:2
}
by id/timeClock/{id}Try it

Fetch by id timeClock

Get timeClock data for single ID -- please provide a specific record ID in the URL structure.

Parameters

No parameters beyond authentication.

Returns

entryIDinteger

Unique ID

employeeIDinteger

EmployeeID time clock entry applied to

officeIDinteger

officeID the time clock entry was made on

timeInstring

Clock-in time in server time (PST)

timeOutstring

Clock-Out time in server time (PST)

clockCategoryIDinteger

Clock category ID that was used for this entry

paidinteger

0 - time clock category is specified as unpaid, 1 - time clock category is specified as paid. If time clock category is specified as 0 or does not exist it is considered a paid entry.

Request

/timeClock/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/timeClock/{id}' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Accept: application/json' \
  --data-urlencode 'authenticationKey=<your-key>' \
  --data-urlencode 'authenticationToken=<your-token>'

Response

success:true
entryID:6624
employeeID:5916
officeID:2602
timeIn:"2026-03-27 00:00:00"
timeOut:"2026-01-05 00:00:00"
clockCategoryID:5626
paid:2175
}
}