Get an asset

get

/services/rest/connect/v1.4/assets/{id}

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : assets
Type: object
The product or service associated with an organization's customers.
Show Source
Nested Schema : assets-price
Type: object
The monetary value that consists of currency, exchange rate, and value.
Show Source
Nested Schema : assets-sLAInstances
Type: object
The instance of a Service Level Agreement (SLA). An instance is created when a SLA is associated with a contact or organization.
Show Source
Nested Schema : assets-statusWithType
Type: object
The current status and associated status type of an asset.
Show Source
Nested Schema : namedIDs-assets-price-currency
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-assets-price-exchangeRate
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-assets-sLAInstances-nameOfSLA
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-assets-sLAInstances-stateOfSLA
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-assets-statusWithType-status
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-assets-statusWithType-statusType
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Back to Top

Examples

Use GET with the following syntax to retrieve data for an asset object:

https://your_site_interface/services/rest/connect/version/assets/asset_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/assets/1

Response body example

{
  "id": 1,
  "lookupName": "Blizzard",
  "contact": null,
  "customFields": {},
  "description": "9-HP, 26-inch snowthrower",
  "installedDate": null,
  "name": "Blizzard",
  "organization": null,
  "price": {
    "currency": {
      "id": 1,
      "lookupName": "USD"
    },
    "exchangeRate": null,
    "value": 750
  },
  "product": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4"
      },
      {
        "rel": "canonical",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4"
      },
      {
        "rel": "describedby",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/salesProducts",
        "mediaType": "application/schema+json"
      }
    ]
  },
  "purchasedDate": "2016-02-12",
  "retiredDate": null,
  "serialNumber": "SN0001",
  "sLAInstances": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/assets/1/sLAInstances"
      }
    ]
  },
  "statusWithType": null,
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/assets/1"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/assets/1"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/assets",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top