Skip to navigation

Get FarItem Asset Details

View as Markdown

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.

{
"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
}

Headers

DICE-APP-IDstringOptional
X-CLIENT-IDstringOptional
X-CLIENT-SECRETstringOptional
statusstringOptional

Response

OK