WebAPI - Creating a failure action

WebAPI - Creating a failure action

This method allows to create a failure action in a simplified manner.

The method to be used when creating a failure action:

 POST url/api/mytenant/myorganization/maintenancecore/failureactions

 Json example for creating a failure action: 


1.        {

        "failureActionKey""A06",

        "description""Verificar painel eléctrico",

        "remarks"null

    }

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


  1. failureActionKey: The failure action's key. Mandatory field.
  2. description: Short description of the failure action. This field is mandatory.
  3. remarks: Remarks.

When this method is executed successfully, it returns HttpStatusCode.OK.



    • 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 failure cause

      This method allows to create a failure cause in a simplified manner. The method to be used when creating a failure cause: POST url/api/mytenant/myorganization/maintenancecore/failurecauses Json example for creating a failure cause:  1.          { ...
    • Webapi - Deleting a failure action

      This method allows to delete a failure action in a simplified manner. The method to be used when deleting a failure action is: DELETE  url/api/mytenant/myorganization/maintenance/failureactions/{{failureActionKey}}  The parameters being replaced on ...
    • Webapi - Creating a failure

      This method allows to create a failure in a simplified manner.  The method to be used when creating a failure is:   POST url/api/mytenant/myorganization/maintenancecore/failures  Json example for creating a failure: {         "failureKey": "001", ...