WebAPI - Creating a task

WebAPI - Creating a task

This method allows to create a task in a simplified manner.

The method to be used when creating a task is:

 OST url/api/mytenant/myorganization/maintenancecore/activities

 Json example for creating a task: 

 

1.         {

        "taskKey""T_009",

        "description""Verificação do oleo",

        "remarks"null,

        "picture"null,

        "pictureThumbnail"null,

        "verification""VER"

    }

This method allows to create a task according to the parameters filled in:

  1. taskKey: The task key. This field is mandatory.
  2. description: Short description of the task. This field is mandatory.
  3. picture: Image.
  4. remarks: Remarks.
  5. verification: The verification key.

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

 



    • Related Articles

    • Webapi - Creating a type of task verification

      This method allows to create a type of task verification in a simplified manner.  The method to be used when creating a type of task verification is:   POST url/api/mytenant/myorganization/maintenancecore/verificationtypes  Json example for creating ...
    • 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 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 – How do I create work orders?

      This method offers a simple way of creating a Work Order for a specific Asset, Location, Tool or Route. The method to be used to create a work order is: POST /api/mytenant/myorganization/maintenance/workorders/newWorkOrderInfo Json example to create ...
    • 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 ...