FieldRoutes API docs logoFieldRoutes API

Configuration & Audit

office

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

Read operations

get/office/getTry it

get office

Get Bulk data for office. Accepts an array of officeIDs. Returns a max of 1000 records.

Parameters

officeIDsarray

No description in the upstream reference.

Returns

officeIDinteger

Primary Key

officeNamestring

Description of the product

companyIDinteger

companyID of the office

Request

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

Response

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

Fetch by id office

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

Parameters

No parameters beyond authentication.

Returns

officeIDinteger

Primary Key

officeNamestring

Description of the product

companyIDinteger

companyID of the office

Request

/office/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/office/{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
officeID:2602
officeName:"Quarterly Perimeter"
companyID:1291
}
}