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/eam/beta/companies({{Company_ID}})/workOrderPlans?$expand=woassets,wopfrequencies,wopresourcelines,wopitemlines,wopexpenselines

Parameters

CompanyID
- ID of the Company.

Form Data

JSON Response

{
    "value": [
        {
            "id": "0a659318-6c43-eb11-8f4d-903112d154fd",
            "planNo": "WOP.000001",
            "categoryCode": "DAILY CLEANING",
            "priorityCode": "LOW",
            "status": "Open",
            "lastDoneDate": "2020-10-02",
            "plannedDate": "0001-01-01",
            "woassets": [
                {
                    "id": "eb21890c-6c43-eb11-8f4d-903112d154fd",
                    "assetNo": "A000002",
                    "assetCategoryCode": "UV LAMPS",
                    "assetStatusCode": "INSTALLED",
                    "assetConditionCode": "4-GOOD",
                    "assetActive": true,
                    "assetCritical": false
                }
            ],
            "wopfrequencies": [
                {
                    "id": "23659318-6c43-eb11-8f4d-903112d154fd",
                    "frequencyType": "Measurement",
                    "correctiveMaintenance": true,
                    "description": "",
                    "frequencyPlannedDate": "0001-01-01",
                    "closed": false
                }
            ],
            "wopresourcelines": [
                {
                    "id": "3f659318-6c43-eb11-8f4d-903112d154fd",
                    "number": "",
                    "workTypeCode": "CLEANING",
                    "description": "Cleaning",
                    "estimatedQty": 0.5,
                    "unitOfMeasureCode": "HOUR"
                }
            ],
            "wopitemlines": [],
            "wopexpenselines": []
        },
...
    ]
}
Copyright Dynaway A/S