Get Work Order Plans (All extended Fields)

Allows the user to get the list of Work Order Plans with extended fields.

Uri

GET api/dynaway/eamAnalytics/v1.0/companies({{Company_ID}})/workOrderPlans?$expand=woassets,wopfrequencies,wopresourcelines,wopitemlines,wopexpenselines

Parameters

CompanyID
- ID of the Company.

Form Data

JSON Response

{
    "value": [
        {
            "id": "6c38ee5e-2579-ec11-bf26-000d3a74601f",
            "planNo": "WOP.000001",
            "categoryCode": "DAILY CLEANING",
            "priorityCode": "LOW",
            "status": "Open",
            "lastDoneDate": "2020-10-02",
            "plannedDate": "2020-10-03",
            "woassets": [
                {
                    "id": "f9fdf94c-2579-ec11-bf26-000d3a74601f",
                    "assetNo": "A000002",
                    "assetCategoryCode": "UV LAMPS",
                    "assetStatusCode": "INSTALLED",
                    "assetConditionCode": "4-GOOD",
                    "assetActive": true,
                    "assetCritical": false
                }
            ],
            "wopfrequencies": [
                {
                    "id": "9cc60fca-2479-ec11-bf26-000d3a74601f",
                    "frequencyType": "Calendar",
                    "correctiveMaintenance": false,
                    "description": "Recurring Daily starting 10/02/20",
                    "frequencyPlannedDate": "2020-10-03",
                    "closed": false
                }
            ],
            "wopresourcelines": [
                {
                    "id": "5edac86a-2579-ec11-bf26-000d3a74601f",
                    "number": "",
                    "workTypeCode": "CLEANING",
                    "description": "Cleaning",
                    "estimatedQty": 0.5,
                    "unitOfMeasureCode": "HOUR"
                }
            ],
            "wopitemlines": [],
            "wopexpenselines": []
        },
...
    ]
}
Copyright Dynaway A/S