Post New Request

Allows the user to post a new request.

Uri

POST api/dynaway/eam/beta/companies({{Company_ID}})/openRequests

Parameters

CompayID
- ID of the Company.
Description
- Length: <=100 charactes.
Priority_Code
- Length: <=20 charactes. Used Priority Code must exist in the database.
Request_Type
- Length: <=20 charactes. Used Request Type must exist in the database.
Group_Code
- Length: <=20 charactes. Used Group Code must exist in the database. If Group Code is used with Asset Number - Asset must be a part of used Group.
Request_Date
- Format: "YYYY-MM-DD".
Asset_Number
- Length: <=50 charactes. Used Asset Number must exist in the database. If Group Code is used with Asset Number - Asset must be a part of used Group.

Form Data

{
    "description": "Description",
    "priorityCode": "Priority_Code",
    "requestType": "Request_Type",
    "groupCode": "Group_Code",
    "requestDate": "Request_Date"
}

OR

{
    "description": "Description",
    "priorityCode": "Priority_Code",
    "requestType": "Request_Type",
    "assetNo": "Asset_Number",
    "requestDate": "Request_Date"
}

OR

{
    "description": "Description",
    "priorityCode": "Priority_Code",
    "groupCode": "Group_Code",
    "requestType": "Request_Type",
    "assetNo": "Asset_Number",
    "requestDate": "Request_Date"
}

JSON Response

{
    "id": "74e162dd-3462-eb11-8f55-db6b6298c0c1",
    "number": "MR_00047",
    "description": "Please do something with this noise.",
    "priorityCode": "LOW",
    "requestType": "NOISE",
    "assetNo": "A000004",
    "groupCode": "LAMPS",
    "assignedTo": "",
    "requestor": "RATMI",
    "requestDate": "2021-01-25",
    "remarks": "",
    "SystemCreatedAt": "2021-01-29T13:21:22.397Z"
}
Copyright Dynaway A/S