Post Downtime Entry

Allows the user to post a Downtime Entry.

Uri

POST /api/dynaway/eam/beta/companies({{CompanyID}})/downtimeEntries

Parameters

CompanyID
- ID of the Company.
Asset_No.
- Length: <= 50 characters.
Starting_Date
- Format: "YYYY-MM-DDTHH:MM:SSZ" Example: "2020-12-23T09:12:40Z"
Ending_Date
- Format: "YYYY-MM-DDTHH:MM:SSZ" Example: "2020-12-23T09:12:40Z"
Business_Hours
Description
- Length: <= 250 characters.
Priority_Code
- Length: <= 20 characters. Used priority must exist in the database.

Form Data

{
    "assetNo": "Asset_No.",
    "startingDateTime": "Starting_Date",
    "endingDateTime": "Ending_Date",
    "outsideBusinessHours": Business_Hours,
    "description": "Description",
    "priorityCode": "Priority_Code"
}

JSON Response

{
    "entryNo": 4,
    "id": "b64c3efa-744e-eb11-89f8-0022481ff96a",
    "assetNo": "A000004",
    "startingDateTime": "2020-12-23T09:13:20Z",
    "endingDateTime": "2020-12-23T09:13:20Z",
    "outsideBusinessHours": false,
    "description": "Created Via API",
    "closed": false,
    "priorityCode": "LOW",
    "reportedBy": "",
    "reportedDateTime": "0001-01-01T00:00:00Z"
}
Copyright Dynaway A/S