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 warehouse

      This method allows to create a warehouse in a simplified manner. The method to be used when creating a warehouse: POST url/api/mytenant/myorganization/inventorycore/warehouses Json example for creating a warehouse: 1. { "warehouseKey": "W2", ...
    • WebAPI - Creating a request

      This method allows to create a request in a simplified manner. The method to be used when creating a request: POST url/api/mytenant/myorganization/Requests/requests Json example for creating a request: { "requestKey": "00001", "description": "Vidro ...
    • 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 - Creating a requisition type

      This method allows creating a type of requisition in a simplified manner. The method to be used to create a requisition type is: POST url/api/mytenant/myorganization/requisitionscore/requisitiontypes Json example for creating a type of requisition:  ...
    • 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/ ...