Create One-Off

Allows the user to get the list of Work Order Categories.

Uri

POST api/dynaway/eam/v1.0/companies({{Company_ID}})/assetOneOffWorkOrders('{{Asset_No}}')/Microsoft.NAV.createOneOff

Parameters

CompanyID
- ID of the Company.
Asset_No
- Length <= 20 Given number must represent existing asset in the database.
categoryCode
- Length <= 20 Used Category must exist in the database.
priorityCode
- Length <= 20 Used Priority must exist in the database.
description
- Length <= 100
instructions
- Length <= 2048
nextPlannedDate
- Format: "YYYY-MM-DD".
downtimeEntryNo
- Given downtime must exist in the database
isMaintenanceCorrective
maintenanceRequestNo
- Length <= 20 Used Miantenance Request must exist in the database.

Form Data

{
    "categoryCode": "categoryCode",
    "priorityCode": "priorityCode",    
    "description": "description",
    "instructions": "instructions",
    "actualNextPlannedDate": "nextPlannedDate",
    "downtimeEntryNo": downtimeEntryNo,
    "correctiveMaintenance": isMaintenanceCorrective,
    "maintenanceRequestNo": "maintenanceRequestNo"
}

JSON Response

{
    "value": "CREATED WORK ORDER NO."
}

Copyright Dynaway A/S

Privacy Policy