Viewing an asset

To view a created asset, use a GET request. In Postman, select GET from the request type drop-down list in the upper-left corner and paste this URL: https://predix-asset.run.aws-usw02-pr.ice.predix.io/locomotives/1. As a result, you will see this JSON syntax:

[    {        "uri": "/locomotives/1",        "type": "Diesel-electric",        "model": "ES44AC",        "serial_no": "001",        "emission_tier": "0+",        "fleet": "/fleets/up-1",        "manufacturer": "/manufacturers/GE",        "engine": "/engines/v12-1",        "installedOn": "01/12/2005",        "dateIso": "2005-12-01T13:15:31Z",        "hqLatLng": {            "lat": 33.914605,            "lng": -117.253375        }    }]

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.