Skip to navigation

Refresh lists from FieldRoutes

Queues a worker job and returns immediately; the worker is the only caller of the FieldRoutes API. Refreshing route groups from the Scheduling page is also allowed with sched_routes:edit.

Authentication

AuthorizationBearer

API session token from POST /v1/admin/session (8 hours). Sign-in itself is Google Workspace; see research R2.

Request

This endpoint expects an object.
kindslist of enumsRequired
Allowed values:
officeIdstringOptional<=255 characters
Omit for all offices.

Response

Queued
idstringRead-only<=255 characters

Server-generated.

typeenum
Allowed values:
statusenum
Allowed values:
createdAtdatetimeOptionalRead-only
finishedAtdatetimeOptionalRead-only
createdBystringOptionalRead-only<=255 characters
User ID that started the job.
errorobjectOptional
resultobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error