WebAPI - Creating a follow-up report in a work order

WebAPI - Creating a follow-up report in a work order

This method allows you to create a follow-up report in a work order in a simplified way.

The method used to create a follow-up report in a work order is:

POST {{url}}/api/{{tenant}}/{{organization}}//maintenance/workOrders/{Company}}/{WorkOrderKey}}/WorkOrderNotes

 Json example to create a follow-up report in a work order:

{

                "workOrderId": "fd04cd96-68e8-4681-af04-3447ed87d2d3",

                "message": "Teste enviado pelo postman -> gonçalo 13-01-2022",

                "userId": "d658ec2b-e58d-4e0d-b4ac-e162d0562fe8",

                "visibleTo": 1

}

This method allows to create a WO follow-up record according to the parameters filled in:


  • workOrderId: Work order id. Mandatory field.
  • message: The message being sent on the follow-up. Mandatory field.
  • userId: Id. of the user that is sending the follow-up. Mandatory field.
  • visibleTo: Who can view the follow-up. Mandatory field.
  • 1 - All
  • 2 - Maintenance Managers

When this method is executed successfully, it returns HttpStatusCode.204NoContent.

 


    • Related Articles

    • Webapi - Creating a work order assignment report

      This method allows you to create a work order assignment report in a simplified way.   The method used to create a work order assignment report is:   POST {{url}}/api/{{tenant}}/{{organization}}/maintenance/workorderassignments   Json example to ...
    • WebAPI - Creating a tool

      This method allows to create a tool in a simplified manner. The method to be used when creating a tool is: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Json example for creating a tool: 1.     {     "equipmentKey": "PCR", ...
    • WebAPI - Creating an equipment

      This method allows to create an equipment in a simplified manner. The method to be used when creating an equipment: POST url/api/mytenant/myorganization/assetmanagementcore/equipmentItems Json example for creating an equipment: 1.       { ...
    • Webapi - Creating a consumption report in a work order

      This method allows you to create a consumption report in a work order in a simplified way.   The method used to create a consumption report in a work order is:   POST {{url}}/api/{{tenant}}/{{organization}}/maintenance/workOrderReportConsumptions   ...
    • Webapi - Creating a task verification report for a work order

      This method allows you to create a task verification report for a work order in a simplified way. The method used to create a task verification report for a work order is:     ...