Post Downtime Entry

Allows the user to post a Downtime Entry.

Uri

POST /api/dynaway/eam/v1.0/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.
Category_Code
- Length: <= 20 characters. Used category must exist in the database.
Problem_Code
- Length: <= 20 characters. Used problem must exist in the database.
Reason_Code
- Length: <= 20 characters. Used reason must exist in the database.
Action_Code
- Length: <= 20 characters. Used action must exist in the database.

Form Data

{
    "assetNo": "Asset_No.",
    "startingDateTime": "Starting_Date",
    "endingDateTime": "Ending_Date",
    "outsideBusinessHours": Business_Hours,
    "description": "Description",
    "priorityCode": "Priority_Code",
    "categoryCode": "Category_Code",
    "priorityCode": "LOW",
    "problemCode": "Problem_Code",
    "reasonCode": "Reason_Code",
    "actionCode": "Action_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",
    "categoryCode": "DAMAGED",
    "reportedBy": "",
    "reportedDateTime": "0001-01-01T00:00:00Z",
    "problemCode": "PROBLEM_CODE",
    "reasonCode": "REASON_CODE",
    "actionCode": "ACTION_CODE",
    "assetLocationCode": "H1.O.001",
    "assetStatusCode": "INSTALLED",
    "assetConditionCode": "5-VERY GOOD"
}

Copyright Dynaway A/S

Privacy Policy