FieldRoutes API docs logoFieldRoutes API

Customers & Sales

form

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

Read operations

get/form/getTry it

get form

Get Bulk data for form. Accepts an array of contractIDs. Returns a max of 1000 records.

Parameters

contractIDsarray

No description in the upstream reference.

includeDocumentLinkinteger

Send as 1 to retrieve a link to the document on AWS with a 15 day TTL.

Returns

formIDinteger

No description in the upstream reference.

customerIDinteger

No description in the upstream reference.

dateSignedstring

The date the form was signed.

dateAddedstring

The date the form was added.

unitIDinteger

The unitID associated with the form.

employeeIDinteger

The employeeID who created the form.

documentStateinteger

State of the document e.g. WIP, COMPLETED

formTemplateIDinteger

ID of the template this form was created from

Request

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

Response

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

Fetch by id form

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

Parameters

includeDocumentLinkinteger

Send as 1 to retrieve a link to the document on AWS with a 15 day TTL.

Returns

formIDinteger

No description in the upstream reference.

customerIDinteger

No description in the upstream reference.

dateSignedstring

The date the form was signed.

dateAddedstring

The date the form was added.

unitIDinteger

The unitID associated with the form.

employeeIDinteger

The employeeID who created the form.

documentStateinteger

State of the document e.g. WIP, COMPLETED

formTemplateIDinteger

ID of the template this form was created from

Request

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

Response

success:true
formID:8498
customerID:2124
dateSigned:"2026-04-08 00:00:00"
dateAdded:"2026-08-10 00:00:00"
unitID:8850
employeeID:5916
documentState:1
formTemplateID:8076
formDescription:"Sample value returned by the mock engine."
}
}