Get all assets
GET
OAuth Scope Required: eq1
Request URI
GET https://sandboxapi.deere.com/platform/organizations/{orgId}/assets
Accept: application/vnd.deere.axiom.v3+json
Parameters
Parameter | Type | Description & Example | In |
---|---|---|---|
orgId Required | string | The ID of the organization Example: 1234 | path |
embed | string | Additional data to embed in the response. For example embed=lastKnownLocation will return assets with their lastKnownLocation included. Example: lastKnownLocation | query |
x-deere-signature | string | See eTags for more information. Example: 927392615e4b4e1c12458026f47109bb | header |
Headers
Key | Type | Description & Example |
---|---|---|
x-deere-signature | string | See eTags for more information. Example: 5b5392615e4b4e1c92013026f47109bb |
Response Details
Field | Type | Description & Example |
---|---|---|
links | array | Links to related resources in the Deere ecosystem. Example: See "Available Links" below |
total | number | Count of Assets in response Example: 3 |
values | Asset array | The primary resource listing. Example: --- |
Asset Details | --- | --- |
id | GUID | The ID of the asset. Example: ab2c95d0-48ec-47f9-9fce-9ff42107c662 |
title | string | The name of the asset. Example: Water sensor |
assetCategory | string | Asset Category Example: DEVICE |
assetType | string | Asset Type Example: SENSOR |
assetSubType | string | Asset Sub Type Example: OTHER |
lastModifiedDate | datetime | A timestamp of the date and time the last operation was performed on this item. All timestamps follow the ISO 8601 standard format. Example: 2015-04-30T10:23:50.000Z |
lastKnownLocation | Location object | The Asset Location with the most recent timestamp. Included if embed is requested. Example: See sample response below |
Sample Response [JSON]
Content-Type: application/vnd.deere.axiom.v3+json
x-deere-signature: 5b5392615e4b4e1c92013026f47109bb
{ "links": [ { "rel": "self", "uri": "https://sandboxapi.deere.com/platform/organizations/ORG_ID/assets" } ], "total": 1, "values": [ { "@type": "ContributedAsset", "title": "AgThing Water Device", "assetCategory": "DEVICE", "assetType": "SENSOR", "assetSubType": "OTHER", "lastModifiedDate": "2018-01-31T20:36:16.727Z", "id": "ASSET_ID", "links": [ { "@type": "Link", "rel": "self", "uri": "https://sandboxapi.deere.com/platform/assets/ASSET_ID" }, { "@type": "Link", "rel": "contributionDefinition", "uri": "https://sandboxapi.deere.com/platform/contributionDefinitions/DEFINITION_ID" }, { "@type": "Link", "rel": "organization", "uri": "https://sandboxapi.deere.com/platform/organizations/ORG_ID" }, { "@type": "Link", "rel": "locations", "uri": "https://sandboxapi.deere.com/platform/assets/ASSET_ID/locations" } ] } ] }