WebAPI– How to add an attachment to a Request?

WebAPI– How to add an attachment to a Request?

This method allows adding an attachment to a request.

 The method to be used when adding an attachment to a request is: 

 PUT {{url}}/api/{{tenant}}/{{organization}}/requests/requests/{{companyKey}}/{{requestKey}}/Attachment

 

The parameters on the method are the following:

  1. companyKey: company key;
  2. requestKey: request key;

The attachment file must be "form-data", type "file".

The file must be less than 4 mb



    • Related Articles

    • 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 - Record and Maintenance of Parts and Services

      This method allows to manage the record and maintenance of parts and services. For the inventory (parts), besides recording the part, it is also possible to classify it in terms of inventory, by identifying: the default warehouse, the minimum and ...
    • WebAPI - How does the OAUTH 2.0 authorization work?

      OAuth 2.0 is a standard authorization protocol that allows applications to access a user's account in a web service (HTTP) such as the Valuekeep CMMS Web API. The protocol delegates user authentication to the service that holds the user's account and ...
    • WebAPI – Get requests created by an employee

      This method returns the list of internal requests created by employees. The method to be used to get the filtered list of requests created by employee is: GET ...
    • WebAPI - Deleting the request

      This method allows you to delete a request. The method to be used when deleting a request: DELETE  url/api/mytenant/myorganization/requests/requests/{{companyKey}}/{{RequestKey}} The parameters being replaced on the method are: companyKey: company ...