Introducing changes to an asset

To introduce a change to an asset, we will need to use a PUT request. To create it in Postman, proceed as follows:

  1. Change the hqLatLng parameter as indicated in the following screenshot.
  2. Using the drop-down button in the upper-left corner, change the request type to PUT.

  1. On the Body tab, paste the asset data from the previous example (item 4):
Creating a PUT request in Postman

If you have a lot of assets to change, you can use a PATCH request instead of the PUT one.

For a PATCH request, use the body content shown here:

Creating a PATCH request in Postman

Get Industrial Internet Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.