FieldRoutes API docs logoFieldRoutes API

Scheduling

group

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

Write · 2

Read operations

get/group/getTry it

get group

Get Bulk data for group. Accepts an array of groupIDs. Returns a max of 1000 records.

Parameters

groupIDsarray

No description in the upstream reference.

Returns

groupIDinteger

No description in the upstream reference.

Request

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

Response

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

Fetch by id group

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

Parameters

No parameters beyond authentication.

Returns

groupIDinteger

No description in the upstream reference.

Request

/group/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/group/{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
groupID:1709
}
}

Write operations

create/group/createTry it

create group

create a group

Parameters

datestring

Date to create for

templateIDinteger

templateID from office software

titlestring

Title string (30 character limit)

Returns

Returns a success acknowledgement.

Request

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

Response

success:true
groupID:4821
}
update/group/updateTry it

update group

Update group details

Parameters

titlestring

Title string (30 character limit) groupID - integer - required Primary key to the group table.

Returns

Returns a success acknowledgement.

Request

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

Response

success:true
groupID:4821
}