Skip to main content
POST
One level of the work order explorer: the groups below where the reader has got to, with each group's work order counts.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

One level of the work order explorer: the groups below where the reader has got to, with each group's work order counts.

p_by is the view the explorer opened in. SITE goes from sites to the locations inside each, a level at a time; TEAM from teams to each team's lead assignees; PRIORITY from priorities to sites; TYPE from work order types to the types under them. p_filter is the path walked so far, in the keys api.work_order_drilldown_rows takes, and decides the level; a path that has reached the work orders themselves returns no rows. Each row's filter is that path with the row's own key added, to pass back for the next level or to list its work orders, and can_drill is false where the next level is the work orders. A location or type with work recorded against itself as well as below it has its own row, with is_self true. A group with no value (no team, no location) has a null group_id. SLA met and breached are the resolution clock; response met and breached are the response clock. by_priority is the count per priority in rank order. Counts are of the work orders the caller can already see.

p_by
string<text>
required
p_filter
string<jsonb>
p_from
string<timestamp with time zone>
p_to
string<timestamp with time zone>

Response

200

OK