> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://open-api-docs.dice.tech/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://open-api-docs.dice.tech/_mcp/server.

# Get FarItem Asset Details

GET https://heimdall.eka.io/apis/external/far/19620/getAsset.Details

## Get Asset Details

This endpoint retrieves detailed information about a specific asset identified by its unique identifier.

### Request

* **Method**: GET

* **Endpoint**: `{{host}}/apis/external/far/19620/getAsset.Details`

### Response

On a successful request (HTTP Status 200), the response will be returned in JSON format with the following structure:

* **id**: Unique identifier for the asset.

* **farId**: Identifier associated with the FAR (Financial Asset Record).

* **product**: Object containing details about the product associated with the asset.

  * **id**: Product identifier.

  * **title**: Title of the product.

  * **desc**: Description of the product.

  * **productId**: Unique product ID.

  * **attrs**: Attributes related to the product, including:

    * **po\_generated**: Indicates if a purchase order was generated.

    * **lastPurchasePrice**: The last recorded purchase price.

    * **gl**: General ledger information.

    * **partialOnboard**: Indicates if the onboarding is partial.

    * **taggable**: Indicates if the product is taggable.

    * **tax**: Tax information.

  * **category**: Category of the product.

  * **categoryAttrs**: Additional attributes related to the product category.

* **createdAt**: Timestamp of when the asset was created.

* **updatedAt**: Timestamp of the last update to the asset.

* **acquiredType**: Type of acquisition for the asset.

* **assetTypes**: List of types associated with the asset.

* **data**: Additional data related to the asset.

* **assetDescription**: Description of the asset.

* **assetTitle**: Title of the asset.

* **serialNo**: Serial number of the asset.

* **barcodeId**: Barcode identifier for the asset.

* **quantity**: Quantity of the asset.

* **tax**: Tax amount associated with the asset.

* **price**: Price of the asset.

* **total**: Total cost of the asset.

* **grn**: Goods Receipt Note details, including:

  * **grnDate**: Date of the GRN.

  * **deliveryDate**: Date of delivery.

  * **id**: Identifier for the GRN.

  * **grnNo**: GRN number.

  * **data**: Additional details related to the GRN.

  * **item**: List of items associated with the GRN.

* **owner**: Information about the owner of the asset.

* **invoice**: Invoice details related to the asset.

* **order**: Order details associated with the asset.

* **billTo**: Billing `information`.

* **integrationData**: Data related to integration status.

* **vendor**: Information about the vendor associated with the asset.

* **attrs**: Additional attributes related to the asset.

* **putToUseDate**: Date when the asset was put to use.

### Notes

* Ensure that the asset ID in the URL is valid to retrieve the correct asset details.

* The response will contain various nested objects and arrays, providing comprehensive information about the asset and its associated entities.

```json
{
    "id": 19620,
    "farId": "FAR-KARANDEVENV-00001",
    "product": {
        "id": 37324,
        "title": "diya-lighting set",
        "desc": "erg",
        "productId": "diya-lighting set",
        "attrs": {
            "po_generated": "YES",
            "lastPurchasePrice": "1.0",
            "gl": "wefrg",
            "partialOnboard": "no",
            "taggable": "no",
            "tax": "18.0"
        },
        "category": "Corporate Assets",
        "categoryAttrs": {
            "blockPoLineItem": "no",
            "virtual.payout": "20102030",
            "enable_invoice_create_asn": "true",
            "non_po_invoice": "yes",
            "enabled_payout": "yes",
            "enable_gin": "no",
            "po_invoice": "yes"
        }
    },
    "createdAt": 1722495559310,
    "updatedAt": 1722495559310,
    "acquiredType": "PURCHASED",
    "assetTypes": [],
    "data": [],
    "assetDescription": "erg",
    "assetTitle": "diya-lighting set",
    "serialNo": "vfd",
    "barcodeId": "wfve",
    "quantity": 1.0,
    "tax": 180.0,
    "price": 100.0,
    "total": 10.0,
    "grn": {
        "grnDate": 1722495466750,
        "deliveryDate": 1722450600000,
        "id": 7199,
        "grnNo": "GRN-KARANDEVENV-00147",
        "data": {
            "ownerType": "EMPLOYEE",
            "po.service": "Corporate Assets",
            "po.admin.id": "6147",
            "po.admin.email": "karanshrm44@dice.tech",
            "office": "74551",
            "po.amount": "1770",
            "ownerId": "0007",
            "vendor-grn": "wf",
            "po.workflow.current": "1722495368701",
            "workflow.current": "1722495474989",
            "reference": "GRN-KARANDEVENV-00147",
            "last_approver_name": "srinivas QR",
            "last_approver_time": "1722495474970",
            "po.last_approver_email": "srinivas@yopmail.com",
            "po.admin.name": "Admin",
            "po.ownerId": "0007",
            "workflow.start": "1722495563296",
            "po.address": "74551",
            "po.office_name": "atlanta",
            "address": "74551",
            "po.currency_amount": "1770",
            "po.office": "74551",
            "po.document": "https://static.eka.io/v2/KARANDEVENV/orders/PO-KARANDEVENV-00169.pdf",
            "amend": "no",
            "po.last_approver_time": "1722495368636",
            "po.workflow.start": "1722495368691",
            "po.last_approver_name": "srinivas qa",
            "po.budgeted": "no",
            "last_approver_email": "srinivasqr@yopmail.com",
            "po.stage": "Grn",
            "po.grn.start": "1722495368704",
            "po.last_approver_code": "0007",
            "office_name": "atlanta",
            "stage": "test",
            "last_approver_code": "0008",
            "po.admin": "karanshrm44@dice.tech",
            "partial": "no",
            "po.po_released": "1722495368707",
            "po.ownerType": "EMPLOYEE"
        },
        "item": [
            {
                "name": "diya-lighting set",
                "address": "atlanta",
                "id": 87405,
                "orderId": "PO-KARANDEVENV-00169",
                "qtty": 10.0,
                "rejectedQty": 0.0,
                "invoiceQty": 10.0,
                "invoiceIds": [],
                "attrs": {}
            },
            {
                "name": "laptop",
                "address": "atlanta",
                "id": 87406,
                "orderId": "PO-KARANDEVENV-00169",
                "qtty": 5.0,
                "rejectedQty": 0.0,
                "invoiceQty": 5.0,
                "invoiceIds": [],
                "attrs": {}
            }
        ]
    },
    "owner": {
        "id": 843309,
        "code": "0007",
        "departmentId": 38397,
        "email": "srinivas@yopmail.com",
        "name": "srinivas qa",
        "officeId": 75195,
        "departmentName": "Engineering"
    },
    "invoice": {
        "id": 291912,
        "invoiceId": "dvfd",
        "amount": 1770.0,
        "currency": "INR",
        "date": 1722450600000,
        "categoryName": "Corporate Assets"
    },
    "order": {
        "id": 28720,
        "orderId": "PO-KARANDEVENV-00169",
        "currency": "INR",
        "poDate": 1722495349716
    },
    "billTo": {
        "name": "1111- atlanta .",
        "gstIn": "27AAACT2803M1ZB",
        "officeId": 74551,
        "registeredName": "atlanta",
        "registeredAddress": "pune",
        "currency": "INR",
        "tags": {
            "zone": "SOUTH",
            "tesst ar": "234",
            "ro": "BANGLORE"
        }
    },
    "integrationData": {
        "attrs": {},
        "postingTriggered": false,
        "paymentTriggered": false,
        "postingFailed": false,
        "paymentFailed": false,
        "postingSynced": false,
        "paymentSynced": false,
        "attempt": 0
    },
    "vendor": {
        "id": 239117,
        "name": "TATA MOTORS LIMITED",
        "email": "tatadevvendor@yopmail.com",
        "registeredId": "CONTACT-KARANDEVENV-0000001",
        "pan": "ghj"
    },
    "attrs": {},
    "putToUseDate": 1722450600000
}

```

Reference: https://open-api-docs.dice.tech/dice-standardized-ap-is-v-2-copy/far/get-far-item-asset-details

## Servers

- `https://heimdall.eka.io` (https://heimdall.eka.io, default)
- `https://heimdall.eka.ioapis` (https://heimdall.eka.ioapis)

## Request

### Headers

- `DICE-APP-ID` (string, optional)
- `X-CLIENT-ID` (string, optional)
- `X-CLIENT-SECRET` (string, optional)
- `status` (string, optional)

## Response

### 200

OK

## Examples

**Response**

```json
{}
```

**SDK Code**

```python
import requests

url = "https://heimdall.eka.io/apis/external/far/19620/getAsset.Details"

headers = {
    "DICE-APP-ID": "{{Company Code}}",
    "X-CLIENT-ID": "{{API Client ID}}",
    "X-CLIENT-SECRET": "{{API Client Secret}}",
    "status": "completed"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://heimdall.eka.io/apis/external/far/19620/getAsset.Details';
const options = {
  method: 'GET',
  headers: {
    'DICE-APP-ID': '{{Company Code}}',
    'X-CLIENT-ID': '{{API Client ID}}',
    'X-CLIENT-SECRET': '{{API Client Secret}}',
    status: 'completed'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://heimdall.eka.io/apis/external/far/19620/getAsset.Details"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("DICE-APP-ID", "{{Company Code}}")
	req.Header.Add("X-CLIENT-ID", "{{API Client ID}}")
	req.Header.Add("X-CLIENT-SECRET", "{{API Client Secret}}")
	req.Header.Add("status", "completed")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://heimdall.eka.io/apis/external/far/19620/getAsset.Details")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["DICE-APP-ID"] = '{{Company Code}}'
request["X-CLIENT-ID"] = '{{API Client ID}}'
request["X-CLIENT-SECRET"] = '{{API Client Secret}}'
request["status"] = 'completed'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://heimdall.eka.io/apis/external/far/19620/getAsset.Details")
  .header("DICE-APP-ID", "{{Company Code}}")
  .header("X-CLIENT-ID", "{{API Client ID}}")
  .header("X-CLIENT-SECRET", "{{API Client Secret}}")
  .header("status", "completed")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://heimdall.eka.io/apis/external/far/19620/getAsset.Details', [
  'headers' => [
    'DICE-APP-ID' => '{{Company Code}}',
    'X-CLIENT-ID' => '{{API Client ID}}',
    'X-CLIENT-SECRET' => '{{API Client Secret}}',
    'status' => 'completed',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://heimdall.eka.io/apis/external/far/19620/getAsset.Details");
var request = new RestRequest(Method.GET);
request.AddHeader("DICE-APP-ID", "{{Company Code}}");
request.AddHeader("X-CLIENT-ID", "{{API Client ID}}");
request.AddHeader("X-CLIENT-SECRET", "{{API Client Secret}}");
request.AddHeader("status", "completed");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "DICE-APP-ID": "{{Company Code}}",
  "X-CLIENT-ID": "{{API Client ID}}",
  "X-CLIENT-SECRET": "{{API Client Secret}}",
  "status": "completed"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://heimdall.eka.io/apis/external/far/19620/getAsset.Details")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```