Skip to main content

routePlanningTeamDay

Requires permission visits:journey-plan:manage.

Returns the team board for one day: a row for every field rep in the caller's team, including reps with no plan, with their stops, progress, orders and changes, plus totals and the latest planning run. Requires permission to manage journey plans.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query RoutePlanningTeamDay {
routePlanningTeamDay {
currencyCode
date
nextRunAt
timeZone
today
changes {
id
actorName
partnerName
reassignedByName
reassignedToRepName
salesRepName
}
}
}

Response:

{
"data": {
"routePlanningTeamDay": {
"currencyCode": "string",
"date": "2025-01-15T00:00:00Z",
"nextRunAt": "2025-01-15T00:00:00Z",
"timeZone": "string",
"today": "2025-01-15T00:00:00Z",
"changes": [
{
"id": "id",
"actorName": "string",
"partnerName": "string",
"reassignedByName": "string",
"reassignedToRepName": "string",
"salesRepName": "string"
}
]
}
}
}
routePlanningTeamDay(
date: DateTime
): RoutePlanningTeamDay!

Arguments​

routePlanningTeamDay.date ● DateTime scalar​

The day to show. Omit it for the organization's today.

Type​

RoutePlanningTeamDay object​

The team board for one day: every field rep in the caller's scope.