Get a recurring work order's totals
Returns how much work one schedule has produced: how many work orders it has raised and where they stand, when it first and last ran, and what it has cost in bills. Requires the work_orders:read permission.
Authorization
AuthorizationstringrequiredPath parameters
recurringWorkOrderIdstringrequiredThe recurring work order to act on. A Snowflake id, sent as a decimal string.
Response
200 · The totals.
workOrderCountintegerrequiredHow many work orders this schedule has raised in total.
openCountintegerrequiredHow many of them are still open.
completedCountintegerrequiredHow many were completed.
cancelledCountintegerrequiredHow many were cancelled.
futureWorkOrderCountintegerrequiredHow many already-raised work orders are due on a date still to come.
firstCreatedOnstring · dateThe date the first work order was raised from this schedule, in the company's timezone. Absent when none has been.
lastCreatedOnstring · dateThe date the most recent one was raised. Absent when none has been.
nextDueDatestring · dateThe date of the next occurrence still to be raised. Absent when the schedule has finished.
draftBillCountintegerrequiredHow many draft bills sit on this schedule's work orders.
draftBillTotalnumberrequiredWhat those draft bills add up to, for example 1850.00.
billCountintegerrequiredHow many draft bills have been turned into real vendor bills.
billTotalnumberrequiredWhat those real bills add up to.