FieldRoutes API docs logoFieldRoutes API

Field Operations

timeClockCategory

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

Read operations

get/timeClockCategory/getTry it

get timeClockCategory

Get Bulk data for timeClockCategory. Accepts an array of clockCategoryIDs. Returns a max of 1000 records.

Parameters

clockCategoryIDsarray

No description in the upstream reference.

Returns

clockCategoryIDinteger

Primary key.

officeIDinteger

No description in the upstream reference.

visibleinteger

Visible to staff

allowOnClockIninteger

time clock category is allowed on initial clock in.

systemReservedinteger

1 = system reserved category (cannot be deleted or changed)

paidinteger

0 for unpaid categories, 1 for paid categories. Clock entries with no category association are considered paid.

dateUpdatedstring

Date this category was last changed

descriptioninteger

Description associated with the clock category

Request

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

Response

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

Fetch by id timeClockCategory

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

Parameters

No parameters beyond authentication.

Returns

clockCategoryIDinteger

Primary key.

officeIDinteger

No description in the upstream reference.

visibleinteger

Visible to staff

allowOnClockIninteger

time clock category is allowed on initial clock in.

systemReservedinteger

1 = system reserved category (cannot be deleted or changed)

paidinteger

0 for unpaid categories, 1 for paid categories. Clock entries with no category association are considered paid.

dateUpdatedstring

Date this category was last changed

descriptioninteger

Description associated with the clock category

Request

/timeClockCategory/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/timeClockCategory/{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
clockCategoryID:5626
officeID:2602
visible:0
allowOnClockIn:0
systemReserved:1
paid:2175
dateUpdated:"2026-04-07 00:00:00"
description:1
}
}