Query tasks in WOs

Through this API you can query the information of the work orders and the tasks that are associated to the work order.

It can be queried for a given date range.

Input parameters

The information can be filtered using the following query_params:

ParameterTypeRequiredDescription
folioTextOptionalWO ID. Can be consulted in this same endpoint (field wo_folio)
ot_statusTextOptionalStatus of WO. 1: In process, 2: Review, 3: Completed, 4: Cancelled
code_assetTextOptionalCode of the asset that has the task associated with it (the asset can be a location, equipment or tool). Can be consulted here. (field code)
sinceTextOptionalInitial date of the query. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Example:'2016-07-12T20:00:00-03′. By default, no date filter is applied.
untilTextOptionalQuery end date. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Example:'2016-07-12T20:00:00-03′. By default, no date filter is applied
type_dateTextOptionalDate type to make the query. Values: creation_date (WO creation date - default), date_maintenance (Maintenance date), cal_date_maintenance (Calculated maintenance date), initial_date (Initial date), final_date (End date), review_date (Review submission date), wo_final_date (WO completion date)
code_locationTextOptionalLocation code. Can be consulted here. (field code)
id_work_order_taskIntegerOptionalTask ID in the work order. Can be consulted in this same endpoint (field id_work_order_tasks)
startIntegerOptionalNumber of records from which you want to start the query. Default 0. All queries are limited to 100 records, when there are more than that amount you must use this parameter for pagination.
limitIntegerOptionalNumber of records that the request will show. Default value is 100.
id_items_availabilityIntegerOptionalOut of service ID
task_noteTextOptionalTask notes
include_signatureBooleanOptionalTrue to bring available information in the following fields: signature, personnel_path_image, responsible_path_signature and validator_path_signature; false otherwise. Default value is false

Note: All dates returned by Fracttal web services are in UTC-0.

Output parameters

ParameterTypeDescription
id_work_orderTextWO ID
wo_folioTextWO folio
creation_dateTextDate of creation of the WO
initial_dateTextWO start date
durationIntegerDuration of the work order
id_works_ordes_taskIntegerTask ID in the WO
id_taskIntegerTask ID
id_itemIntegerItem ID
id_status_work_orderNumber1: WO in Process 2: WO under Revision 3: WO Completed 4: WO cancelled
final_dateTextEnd date of task
completed_percentageTextPercentage of work order completed
created_byTextWork Order Generator Name
signatureBase64Signature (accepted by)
personnel_descriptionTextPersonnel description
personnel_path_imageTextImage path
codeTextAsset code
items_log_descriptionTextDescription of asset
doneTextTrue if the task is already completed and False if the task is not completed.
descriptionTextTask description
id_requestTextId of the request, if the task comes from an application
stop_assetsTextTrue if the asset is stopped and False if the asset is NOT stopped.
stop_assets_secIntegerAsset stop time (seconds)
tasks_log_task_type_mainTextType of task
parent_descriptionTextLocation of the asset
resources_hoursTextSum of hours of human resources used
trigger_descriptionTextActivator Type
resources_inventoryTextInventory-type resources in the task
resources_human_resourcesTextHuman Resources in the task
resources_servicesTextService-type resources in the task
cal_date_maintenanceTextCalculated task date
real_durationIntegerActual task duration
date_maintenanceDateTask scheduling date
user_assignedTextAssigned User
noteTextWork Order Note
details_signatureTextWork order signature details
responsible_path_signatureTextResponsible signature path
validator_path_signatureTextValidator signature path
first_date_taskTextStart date of the task nearest to completion
costs_center_descriptionTextAsset cost center
tasks_durationTextEstimated task duration
total_cost_taskTextTotal cost of WO
requested_byTextRequesting an unscheduled task
groups_descriptionTextAsset 'Type' information
groups_1_descriptionTextAsset classification 1
groups_2_descriptionTextAsset classification 2
task_noteTextTask notes
id_parent_woTextParent WO ID
has_childrenTextTrue if the work order has child work orders
real_stop_assets_secTextActual asset downtime
wo_final_dateTextWork order end date
is_offlineTextOffline
tasks_log_types_descriptionTextTask Classification 1
tasks_log_types_2_descriptionTextTask Classification 2
code_create_byTextCreator code by
event_dateTextEvent date
ratingTextWO qualification
enable_budgetTextBudget enabled
code_responsibleTextCode of the person responsible for the WO
id_parentIntegerParent ID
id_failure_typeIntegerFailure type ID
work_orders_status_custom_descriptionTextReason for cancellation
review_dateTextReview date
types_descriptionTextType of failure
id_failure_causeIntegerFailure cause ID
causes_descriptionTextCause of failure
id_failure_detection_methodIntegerFailure detection method ID
detection_method_descriptionTextMethod of fault detection
id_failure_severityIntegerFailure severity ID
severiry_descriptionTextSeverity of failure
id_damage_typeIntegerDamage type ID
damages_types_descriptionTextType of damage caused
caused_damageTextCause of damage caused
id_group_taskIntegerGroup task ID
id_items_availabilityIntegerItem availability ID
validated_by_descriptionTextValidated by description
id_personnel_logIntegerPersonnel log ID
id_contacts_logIntegerContact log ID
annotationsTextAnnotations
id_prioritiesIntegerTask priority ID
priorities_descriptionTextPriority description
id_personnelIntegerHuman resource ID
id_contactIntegerContact ID
id_status_work_order_taskIntegerTask status ID: 0 - Not started, 1 - In progress, 2 - Paused, 3 - Completed
task_statusTextTask status description
childrenText ArrayChild work order folios
labelsJson arrayStructure:

Labels Structure

ParameterTypeDescription
colorTextHTML code for the label color
enabledBooleanIndicates whether the label is active or not. Values: true or false.
assigned_byIntegerID of the user who assigned the label to the WO
descriptionTextTag name
assigned_dateDateDate the label was assigned to the WO
ParameterTypeDescription
id_companyIntegerCompany ID

Example:

Request: (GET)https://app.fracttal.com/api/work_orders/OT-29050

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id_work_order": 26379866,
            "id_work_orders_tasks": 41747676,
            "id_task": 15537608,
            "id_item": 3,
            "id_status_work_order": 1,
            "wo_folio": "OT-29050",
            "creation_date": "2025-08-21T13:09:27.058237+00:00",
            "duration": 600,
            "initial_date": null,
            "id_priorities": 3,
            "priorities_description": "MEDIUM",
            "final_date": null,
            "completed_percentage": 0,
            "created_by": "Adri Z",
            "signature": null,
            "personnel_description": "Adri Z ",
            "personnel_path_image": "classic/resources/images/background-img.png",
            "code": "",
            "items_log_description": "TERCEROS VARIOS CABA  CABA ARGENTINA",
            "done": false,
            "description": "Prueba rrhh",
            "id_request": null,
            "stop_assets": false,
            "stop_assets_sec": null,
            "tasks_log_task_type_main": "MANT. CORRECTIVO",
            "parent_description": "// VEOLIA ARGENTINA/ Servicios Publicos/ Aesa Buenos Aires/ BASE INFRAESTRUCTURA/ ",
            "trigger_description": "NO_SCHEDULE_TASK",
            "resources_hours": 14,
            "resources_inventory": null,
            "resources_human_resources": "David  Basualdo; Jorge Omar Muñoz",
            "resources_services": null,
            "cal_date_maintenance": "2025-08-21T13:17:54.732+00:00",
            "real_duration": null,
            "date_maintenance": "2025-08-21T13:17:54.732+00:00",
            "user_assigned": "Adri Z ",
            "note": null,
            "details_signature": null,
            "responsible_path_signature": "classic/resources/images/background-img.png",
            "validator_path_signature": null,
            "first_date_task": "2025-08-21T13:17:54.732+00:00",
            "costs_center_description": "E38400C00033 (  )",
            "tasks_duration": 600,
            "total_cost_task": 33179.3,
            "requested_by": "Adri Z ",
            "groups_description": "INMUEBLE",
            "groups_1_description": null,
            "groups_2_description": null,
            "task_note": null,
            "id_parent_wo": null,
            "has_children": false,
            "real_stop_assets_sec": null,
            "wo_final_date": null,
            "is_offline": null,
            "tasks_log_types_description": null,
            "tasks_log_types_2_description": null,
            "code_create_by": null,
            "event_date": "2025-08-21T13:07:54.732+00:00",
            "rating": null,
            "enable_budget": false,
            "work_orders_status_custom_description": null,
            "review_date": null,
            "code_responsible": null,
            "id_parent": 1,
            "id_failure_type": null,
            "types_description": null,
            "id_failure_cause": null,
            "causes_description": null,
            "id_failure_detection_method": null,
            "detection_method_description": null,
            "id_failure_severity": null,
            "severiry_description": null,
            "id_damage_type": null,
            "damages_types_description": null,
            "caused_damage": null,
            "id_group_task": null,
            "id_items_availability": null,
            "validated_by_description": null,
            "id_personnel_log": 232256,
            "id_contacts_log": null,
            "annotations": null,
            "id_personnel": 655428,
            "id_contact": null,
            "task_status": "NO_STARTED",
            "id_status_work_order_task": 0,
            "labels": [
                {
                    "id": 23,
                    "color": "203df7",
                    "enabled": true,
                    "assigned_by": 5,
                    "description": "REQUIERE APROBACIÓN ADMINISTRATIVA",
                    "assigned_date": "2025-08-21T15:37:15.233337+00:00"
                }
            ],
            "id_company": 1190
        }
    ],
    "total": 1
}
Language