FieldRoutes API docs logoFieldRoutes API

Field Operations

insect

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

Read operations

get/insect/getTry it

get insect

Get Bulk data for insect. Accepts an array of insectIDs. Returns a max of 1000 records.

Parameters

insectIDsarray

No description in the upstream reference.

Returns

insectIDinteger

No description in the upstream reference.

officeIDinteger

No description in the upstream reference.

namestring

No description in the upstream reference.

familystring

No description in the upstream reference.

threatstring

No description in the upstream reference.

factstring

No description in the upstream reference.

about1string

No description in the upstream reference.

about2string

No description in the upstream reference.

Request

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

Response

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

Fetch by id insect

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

Parameters

No parameters beyond authentication.

Returns

insectIDinteger

No description in the upstream reference.

officeIDinteger

No description in the upstream reference.

namestring

No description in the upstream reference.

familystring

No description in the upstream reference.

threatstring

No description in the upstream reference.

factstring

No description in the upstream reference.

about1string

No description in the upstream reference.

about2string

No description in the upstream reference.

Request

/insect/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/insect/{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
insectID:6678
officeID:2602
name:"Quarterly Perimeter"
family:"sample-family"
threat:"sample-threat"
fact:"sample-fact"
about1:"sample-about1"
about2:"sample-about2"
aboutBlurb:"sample-aboutBlurb"
funFacts:"sample-funFacts"
factBlurb:"sample-factBlurb"
image:"sample-image"
visible:0
system:2
}
}