GET AssetDriver?assetId={assetId}

Get all single AssetDriver.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
assetId

integer

Required

Body Parameters

None.

Response Information

Resource Description

An enumeration of AssetDriverRestResult objects.

AssetDriverRestResult
NameDescriptionTypeAdditional information
AssetDriverRestItems

Collection of AssetDriverRestItem objects.

Dictionary of integer [key] and Collection of AssetDriverRestItem [value]

None.

LookupDate

DateTime for the request

date

None.

Response Formats

application/json, text/json

Sample:
{
  "AssetDriverRestItems": {
    "1": [
      {
        "AssetDriverId": 1,
        "FkAssetId": 2,
        "FkDriverId": 3,
        "DateStart": "2025-01-05T02:56:43.6978533+01:00",
        "DateEnd": "2025-01-05T02:56:43.6978533+01:00",
        "Source": 0
      },
      {
        "AssetDriverId": 1,
        "FkAssetId": 2,
        "FkDriverId": 3,
        "DateStart": "2025-01-05T02:56:43.6978533+01:00",
        "DateEnd": "2025-01-05T02:56:43.6978533+01:00",
        "Source": 0
      }
    ],
    "2": [
      {
        "AssetDriverId": 1,
        "FkAssetId": 2,
        "FkDriverId": 3,
        "DateStart": "2025-01-05T02:56:43.6978533+01:00",
        "DateEnd": "2025-01-05T02:56:43.6978533+01:00",
        "Source": 0
      },
      {
        "AssetDriverId": 1,
        "FkAssetId": 2,
        "FkDriverId": 3,
        "DateStart": "2025-01-05T02:56:43.6978533+01:00",
        "DateEnd": "2025-01-05T02:56:43.6978533+01:00",
        "Source": 0
      }
    ]
  },
  "LookupDate": "2025-01-05T01:56:43.6983824Z"
}

application/xml, text/xml

Sample:
<AssetDriverRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models">
  <AssetDriverRestItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintArrayOfAssetDriverRestItemh64X7_PNE>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>
        <AssetDriverRestItem>
          <AssetDriverId>1</AssetDriverId>
          <DateEnd>2025-01-05T02:56:43.6978533+01:00</DateEnd>
          <DateStart>2025-01-05T02:56:43.6978533+01:00</DateStart>
          <FkAssetId>2</FkAssetId>
          <FkDriverId>3</FkDriverId>
          <Source>Unknown</Source>
        </AssetDriverRestItem>
        <AssetDriverRestItem>
          <AssetDriverId>1</AssetDriverId>
          <DateEnd>2025-01-05T02:56:43.6978533+01:00</DateEnd>
          <DateStart>2025-01-05T02:56:43.6978533+01:00</DateStart>
          <FkAssetId>2</FkAssetId>
          <FkDriverId>3</FkDriverId>
          <Source>Unknown</Source>
        </AssetDriverRestItem>
      </d2p1:Value>
    </d2p1:KeyValueOfintArrayOfAssetDriverRestItemh64X7_PNE>
    <d2p1:KeyValueOfintArrayOfAssetDriverRestItemh64X7_PNE>
      <d2p1:Key>2</d2p1:Key>
      <d2p1:Value>
        <AssetDriverRestItem>
          <AssetDriverId>1</AssetDriverId>
          <DateEnd>2025-01-05T02:56:43.6978533+01:00</DateEnd>
          <DateStart>2025-01-05T02:56:43.6978533+01:00</DateStart>
          <FkAssetId>2</FkAssetId>
          <FkDriverId>3</FkDriverId>
          <Source>Unknown</Source>
        </AssetDriverRestItem>
        <AssetDriverRestItem>
          <AssetDriverId>1</AssetDriverId>
          <DateEnd>2025-01-05T02:56:43.6978533+01:00</DateEnd>
          <DateStart>2025-01-05T02:56:43.6978533+01:00</DateStart>
          <FkAssetId>2</FkAssetId>
          <FkDriverId>3</FkDriverId>
          <Source>Unknown</Source>
        </AssetDriverRestItem>
      </d2p1:Value>
    </d2p1:KeyValueOfintArrayOfAssetDriverRestItemh64X7_PNE>
  </AssetDriverRestItems>
</AssetDriverRestResult>