Skip to content

GetChangeIds

Lists the IDs of the work orders or entities your key may see, in ID order. Use it with doc to load your first copy, then follow the changes from the asOf cursor of the first page, as Typical flow describes.

GET /api/public/changes/ids?type=WO&status=open&after=0&limit=1000
APIKey: your-api-key
Parameter Meaning
type The object type. Required. WO for work orders, ENT for entities.
status open, the default: work orders that are not closed or cancelled, entities that are active and not disabled. all: every one.
after Return IDs above this one: the next of the previous page. The default is 0, the first page.
limit IDs per page, from 1 to 5000. The default is 1000.
{
"type": "WO",
"ids": [773284, 773285, 773286],
"hasMore": true,
"asOf": "6f1c0e9a2b7d4f3c8e5a1b2c3d4e5f60:1521",
"next": 773286
}
Field Meaning
ids The IDs on this page.
hasMore true when there are more IDs: call again with after set to next.
next The last ID on this page. Left out when the page is empty.
asOf The newest change when the page was read. Keep the one from the first page and follow changes from it once your copy is loaded.
Rule Reply when it fails
type is given, known, the key has its permission and the key’s user may read it. 400 invalid_parameter, or 403 permission_denied without the permission or when the user may not read entities
status is open or all. 400 invalid_parameter
after is zero or more. 400 invalid_parameter
limit is at most 5000. 400 invalid_parameter

The errors that apply to every endpoint are on Change feed.