FieldRoutes API docs logoFieldRoutes API

Billing

glAccount

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

Read operations

get/glAccount/getTry it

get glAccount

Get Bulk data for glAccount. Accepts an array of glAccountIDs. Returns a max of 1000 records.

Parameters

glAccountIDsarray

No description in the upstream reference.

Returns

glAccountIDinteger

No description in the upstream reference.

glNumberinteger

No description in the upstream reference.

officeIDinteger

No description in the upstream reference.

titlestring

No description in the upstream reference.

descriptionstring

No description in the upstream reference.

visibleinteger

No description in the upstream reference.

Request

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

Response

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

Fetch by id glAccount

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

Parameters

No parameters beyond authentication.

Returns

glAccountIDinteger

No description in the upstream reference.

glNumberinteger

No description in the upstream reference.

officeIDinteger

No description in the upstream reference.

titlestring

No description in the upstream reference.

descriptionstring

No description in the upstream reference.

visibleinteger

No description in the upstream reference.

Request

/glAccount/{id}
curl -X POST 'https://{subdomain}.pestroutes.com/api/glAccount/{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
glAccountID:1590
glNumber:0
officeID:2602
title:"sample-title"
description:"Sample value returned by the mock engine."
visible:0
}
}