Webapi - Creating a task verification report for a work order

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:
   
POST {{url}}/api/{{tenant}}/{{organization}}/maintenance/workordertaskverifications
Example to create a verification report for a work order:
  1. {
        "reportDate""2021-08-16T12:03:10.0759257+00:00",
        "verificationDate""2021-08-16T12:03:10+00:00",
        "remarks""verificar",
        "remarksRequired"true,
        "workOrder""000002",
        "company""DEMO",
        "assetType"2,
        "location"null,
        "equipment""ATC01"
        "tool"null,
        "employee""0019",
        "verificationType""NAO",
        "workOrderMaintenancePlan""MP-000001_1",
        "task""T_00001", "wOMaintenancePlanTaskId""d5bd3a71-0886-ea11-99e5-28187861004a"
    }

This method allows to create a WO task verification, according to the parameters filled in:
  1. reportDate: The report date. Mandatory field.
  2. verificationDate: The verification date. Mandatory field.
  3. remarks: Remarks.
  4. remarksRequired: Fill in this field with true or false. When, on the verification type, the option "mandatory remarks" is active, we must fill in the field with true.
  5. workOrder: The key of the work order the misc cost will be recorded to. Mandatory field.
  6. company: The company's key. Mandatory field.
  7. assetType: The asset type (2- equipment; 3- tool). Mandatory field.
  8. location: The location's key.
  9. equipment: The equipment key.
  10. tool: The tool's key.
  11. employee: Employee key. Mandatory field.
  12. verificationType: The verification type key. Mandatory field.
  13. workorderMaintenancePlan: The maintenance plan key.
  14. task: The task key.
  15. WOMaintenancePlanTaskID: The ID of the task of the work order's maintenance plan. Mandatory field.

When this method is executed successfully, it returns HttpStatusCode.201Created.


 




    • Related Articles

    • WebAPI – How do I update the task verification record?

      This method allows you to change the task verification record of a work order. The method to be used for changing the work order task verification record is: POST /api/mytenant/myorganization/maintenance/ ...
    • Webapi - Creating a misc cost report in a work order

      This method allows you to create a misc cost report in a work order in a simplified way. The method used to create a misc cost report in a work order is: POST {{url}}/api/{{tenant}}/{{organization}}/maintenance/workOrderReportmisccosts Json example ...
    • Webapi - Creating a labor report in a work order

      This method allows you to create a labor report in a work order in a simplified way. The method used to create a labor report in a work order is:   POST {{url}}/api/{{tenant}}/{{organization}}/maintenance/workOrderReportLabors   Json example to ...
    • 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 – How do I update the material consumption report?

       This method allows to change a material consumption. The method to be used when changing the work order material consumption ...