The PUT method is used to update resources in MiX Fleet Manager and works in similar to that of a POST method.
In the example, the description of an asset will be updated using this method.
Example method in Swagger:
- Click on the endpoint to expand and see what the endpoint expects:
- In Postman, change the method type to PUT.
- Supply the relevant URL and complete the “Request body” with the required information as shown above so the API knows which asset needs to be updated and with what information. Note that you must complete the authorization within Postman and make sure the token is stored in the request header.
- Note that nothing will be indicated in the Response Body, but the status indicates that the asset has been updated in MiX Fleet Manager.