FieldRoutes API docs logoFieldRoutes API

Configuration & Audit

accessControl

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

Read operations

get/accessControl/getTry it

get accessControl

Get Bulk data for accessControl. Accepts an array of employeeIDs. Returns a max of 1000 records.

Parameters

employeeIDsarray

No description in the upstream reference.

Returns

employeeIDinteger

Employee ID of custom Access Control Profile

accessControlProfileIDinteger

0: Custom Access Control Profile per user. Otherwise, ID of defined Access Control Profiles

admininteger

Administrator

adminMessageinteger

Admin Messages

editPreferencesinteger

Adjust Preferences

viewOwnRoutesinteger

View Own Routes

viewOtherRoutesinteger

View Other's Routes

editOwnRoutesinteger

Edit Own Routes

Request

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

Response

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

Fetch by id accessControl

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

Parameters

No parameters beyond authentication.

Returns

employeeIDinteger

Employee ID of custom Access Control Profile

accessControlProfileIDinteger

0: Custom Access Control Profile per user. Otherwise, ID of defined Access Control Profiles

admininteger

Administrator

adminMessageinteger

Admin Messages

editPreferencesinteger

Adjust Preferences

viewOwnRoutesinteger

View Own Routes

viewOtherRoutesinteger

View Other's Routes

editOwnRoutesinteger

Edit Own Routes

Request

/accessControl/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/accessControl/{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
employeeID:5916
accessControlProfileID:3966
admin:2
adminMessage:1
editPreferences:1
viewOwnRoutes:2
viewOtherRoutes:2
editOwnRoutes:1
editOtherRoutes:2
createRoutes:1
deleteRoutes:2
lockUnlockRoutes:2
scheduleOnLockedRoutes:1
scheduleOwn:2
cancelOwn:0
editOthers:0
canUnlockAppointments:1
intelligentRouting:1
editMap:0
viewProdValue:0
useTechRoutesStructures:0
viewUsers:0
editUsers:2
viewTechs:1
editTechs:0
viewSalesmen:1
editSalesmen:1
viewOwnTimeSheet:2
viewOtherTimeSheet:0
editOwnTimeSheet:0
editOtherTimeSheet:1
overrideTimeClockRestrictions:2
canSpyOnReps:2
editTeams:0
viewEmployeeFinancialSettings:1
editEmployeeFinancialSettings:2
viewOwnTasks:2
viewOtherTasks:0
editOwnTasks:1
editOtherTasks:1
viewAlerts:0
viewTransactions:2
addCharge:0
applyPayment:1
editTransactions:0
processRefunds:1
deleteInvoice:2
createCoupon:0
invoiceNegativeItem:1
closedMonthAppointmentCompletion:0
createCustomers:1
viewOwnCustomers:1
viewOtherCustomers:2
editOwnCustomers:2
editOtherCustomers:0
toggleCustomerStatus:1
editCancellationDates:0
toggleSubscriptionStatus:1
viewOwnSubscriptions:2
viewOtherSubscriptions:1
editOwnSubscriptions:2
editOtherSubscriptions:0
accessSentricon:0
editOwnSalesRep:2
editOtherSalesRep:0
viewLeaderBoardsAllOffices:1
createCustomersFromMobile:2
viewOwnLeads:1
viewOtherLeads:2
editOwnLeads:0
editOtherLeads:0
assignBillingAccount:1
viewOwnBilling:0
viewOtherBilling:0
editOwnBilling:1
editOtherBilling:1
addOwnBilling:1
addOtherBilling:2
approveForms:2
viewOwnInvoices:0
viewOtherInvoices:0
editTaxable:0
hideCommercialPricing:0
hideResidentialPricing:2
ignoreMinInitial:1
ignoreMinRecurring:1
ignoreMinContractValue:2
viewSalesmanReports:0
viewDetailedSalesReports:0
viewOfficeReports:2
viewCustomReports:0
viewCustomerReport:1
viewDashboard:0
salesroutesBaseballRevenue:0
serviceNotificationApproval:2
activeCustomersWidget:2
subscriptionTypesWidget:1
cancelReasonsWidget:1
monthlyServicesWidget:0
starRatingWidget:0
collectionsWidget:0
completionPercentageWidget:2
regularStopsPerRouteWidget:1
aPayCustomersWidget:0
accountAgeWidget:2
paymentBreakdownWidget:1
averageRatesWidget:1
averageContractValuesWidget:1
customerAgeWidget:2
customerSourcesWidget:0
extraCardsWidget:1
monthlyBillingWidget:0
debitBalanceWidget:2
revenueByServiceTypeWidget:0
revenueByMonthWidget:1
recurringAnnualRevenueWidget:0
accessControlProfileName:"Quarterly Perimeter"
}
}