GET api/Asset/{id}

Retrieves specified asset

Request Information

Parameters

NameDescriptionAdditional information
id
Asset id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "asset_category_id": 1,
  "contact_ids": [
    1,
    2,
    3
  ],
  "customer_id": 2,
  "provider_id": 3,
  "values": [
    {
      "custom_field_id": 1,
      "date_last_modified": "2019-06-27T06:33:05.6510775-04:00",
      "value": "sample string 3"
    },
    {
      "custom_field_id": 1,
      "date_last_modified": "2019-06-27T06:33:05.6510775-04:00",
      "value": "sample string 3"
    },
    {
      "custom_field_id": 1,
      "date_last_modified": "2019-06-27T06:33:05.6510775-04:00",
      "value": "sample string 3"
    }
  ],
  "id": 1
}

application/xml, text/xml

Sample:
<asset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Business">
  <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
  <asset_category_id>1</asset_category_id>
  <contact_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
    <d2p1:long>3</d2p1:long>
  </contact_ids>
  <customer_id>2</customer_id>
  <provider_id>3</provider_id>
  <values>
    <asset_value>
      <custom_field_id>1</custom_field_id>
      <date_last_modified>2019-06-27T06:33:05.6510775-04:00</date_last_modified>
      <value>sample string 3</value>
    </asset_value>
    <asset_value>
      <custom_field_id>1</custom_field_id>
      <date_last_modified>2019-06-27T06:33:05.6510775-04:00</date_last_modified>
      <value>sample string 3</value>
    </asset_value>
    <asset_value>
      <custom_field_id>1</custom_field_id>
      <date_last_modified>2019-06-27T06:33:05.6510775-04:00</date_last_modified>
      <value>sample string 3</value>
    </asset_value>
  </values>
</asset>