|
Http Verb |
GET |
|---|---|
|
Url |
/work-orders/execution/r1/resources-interventions |
|
Permissions required |
|
|
Personally Identifiable Information (PII) |
No |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
2024 W3 (FSM 18.0) |
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
PAGINATION ORDERING-SERVER-SIDE |
Business Logic
This API returns a list of interventions assigned to resources filtered by input criteria.
-
Resource ID [not null][not empty] (list)
-
with the resources and the dates ranges, search the workshifts → WorkShiftSearchEvent (date, risorse)
-
with the workshift search all its schedulings → collect
interventionId→ SchedulingSearchEvent (turni)
-
-
Team Leader [not null] (Yes/No → Any)
-
Dates ranges
-
Expected/Actual [not null] → expected =
interventionId.startDate/interventionId.endDate, actual =interventionId.outcome.startDate/interventionId.outcome.endDate -
Start/end date range [not null] (limited to <= N days: ~ 7 days → configurable via company properties) → property on execution module
-
Start date and end date are the Intervention start and end date. We do not consider the take in charge and arrival dates. We can add these later if needed.
-
The Intervention end date may also be NULL in case of Actual dates.
-
-
Intervention status ID (list) – Document status sets that represent a functional status of the Intervention
-
Work Order ID (list) → call the wo operation search with the headers with integration services, and use the retrieved operations as filter
-
Work Order Operation ID (list)
Query String Parameters
Filter ℹ️
|
Field |
Validations |
Note |
|---|---|---|
|
resourceId |
Not null |
Collection of Ids |
|
teamLeader |
Not null |
|
|
interventionRangeType |
Not null |
EXPECTED, ACTUAL |
|
dateRange |
Not null |
|
|
statusId |
|
Collection of Ids |
|
workOrderId |
|
Collection of Ids |
|
workOrderOperationId |
|
Collection of Ids |
Order ℹ️
Default Order
Default.
Possible order values
No other ordering options available.
Page ℹ️
Default.
Fields ℹ️
Default.
Header Parameters
Default.
Response documentation
Response payload fields
|
Field |
Note |
|---|---|
|
id |
|
Response error codes
BASE_0003, WORKORDERS_ORCHESTRATOR_007, WORKORDERS_ORCHESTRATOR_008, WORKORDERS_ORCHESTRATOR_009