Webapi - Creating a work order assignment report

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 create a work order assignment report:
  1. {
        "workOrderAssignmentKey""002",
        "remarks"null,
        "workOrder""OT000001",
        "parties": [
            {
                "partyKey""0019"
            }
        ],
        "company""DEMO"
    }

This method allows to create a work order assignment report, according to the parameters filled in:

  1. workorderAssignmentKey: The key of the WO assignment. Mandatory field.
  2. remarks: Remarks.
  3. workOrder: The key of the work order of the assignment. Mandatory field.
  4. parties: The key of the employee(s) the WO will be assigned to. Mandatory field.
  5. company: The company's key. Mandatory field.

 

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



    • Related Articles

    • 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 ...
    • 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:     ...
    • 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 ...