FieldRoutes API docs logoFieldRoutes API

Configuration & Audit

note

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

Write · 2

Read operations

get/note/getTry it

get note

Get Bulk data for note. Accepts an array of noteIDs. Returns a max of 1000 records.

Parameters

noteIDsarray

No description in the upstream reference.

Returns

noteIDinteger

Unique Identifier

officeIDsinteger

No description in the upstream reference.

customerIDinteger

Customer ID

customerNamestring

Customer Name

customerSpousestring

Spouse Field

companyNamestring

Company Name

employeeIDinteger

Employee ID that created the note

employeeNamestring

Employee name that created the note

Request

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

Response

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

Fetch by id note

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

Parameters

No parameters beyond authentication.

Returns

noteIDinteger

Unique Identifier

officeIDsinteger

No description in the upstream reference.

customerIDinteger

Customer ID

customerNamestring

Customer Name

customerSpousestring

Spouse Field

companyNamestring

Company Name

employeeIDinteger

Employee ID that created the note

employeeNamestring

Employee name that created the note

Request

/note/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/note/{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
noteID:1600
officeIDs:2
customerID:2124
customerName:"Quarterly Perimeter"
customerSpouse:"sample-customerSpouse"
companyName:"Quarterly Perimeter"
employeeID:5916
employeeName:"Quarterly Perimeter"
date:"2026-05-06 00:00:00"
showCustomer:0
showTech:0
cancellationReasonID:3989
cancellationReason:"sample-cancellationReason"
typeID:8552
type:0
notes:"Sample value returned by the mock engine."
referenceID:4185
dateAdded:"2026-08-10 00:00:00"
dateUpdated:"2026-04-07 00:00:00"
}
}

Write operations

create/note/createTry it

create note

Parameters

employeeIDinteger

Foreign key to employees table. contactType - integer - required Foreign key to contactTypes table found via Admin > Preference > Note Types notes - string - required Arbitrary comment string

sendTostring

System field? showOnInvoice - boolean - required 1 to display this note on invoices, 0 to hide

cancellationReasoninteger

Foreign key to cancellationReasons table found via Admin > Preference > Cancellation Reasons

showTechboolean

Note will be displayed to Tech can see on TechRoutes

showCustomerboolean

Note will be displayed to the customer in some service notifications

referenceIDinteger

Subscription ID this note relates to.

Returns

Returns a success acknowledgement.

Request

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

Response

success:true
noteID:4821
}
update/note/updateTry it

update note

Parameters

employeeIDinteger

Foreign key to employees table. contactType - integer - required Foreign key to contactTypes table found via Admin > Preference > Note Types

notesstring

Arbitrary comment string

sendTostring

System field? showOnInvoice - boolean - required 1 to display this note on invoices, 0 to hide

cancellationReasoninteger

Foreign key to cancellationReasons table found via Admin > Preference > Cancellation Reasons

showTechboolean

Note will be displayed to Tech can see on TechRoutes

showCustomerboolean

Note will be displayed to the customer in some service notifications

referenceIDinteger

Subscription ID this note relates to. contactID - integer - required Primary key to the notes table.

Returns

Returns a success acknowledgement.

Request

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

Response

success:true
noteID:4821
}