FieldEx Developer
developer notes

Get Asset by ID

The AssetGetByID API allows you to retrieve an existing Asset by its ID.

Method API Endpoint
GET {{endpoint}}/api/ext/assets/{id}

Headers

Key Value
Content-Type application/json
Authorization Bearer {{token}}

API Query Example

Method API Call
GET api/ext/assets/106

Example Response

//status - 200
{
    "id": 2931,
    "name": "Asset Load",
    "installationDate": null,
    "serialNo": null,
    "brand": null,
    "customer": {
        "id": 3,
        "name": "1 Load Test [DO NOT DELETE]"
    },
    "customerLocation": null,
    "assetsLocation": {
        "building": null,
        "floor": null,
        "room": null
    },
    "warrantyStartDate": null,
    "warrantyEndDate": null,
    "description": null,
    "notes": null,
    "status": null,
    "condition": null,
    "createdBy": {
        "id": 1,
        "login": "load.test1@trial.custella.com",
        "firstName": "Test",
        "lastName": "User MS 123",
        "imageUrl": null,
        "email": "preeti@fieldex.com",
        "fullName": "Test User MS 123"
    },
    "modifiedBy": {
        "id": 1,
        "login": "load.test1@trial.custella.com",
        "firstName": "Test",
        "lastName": "User MS 123",
        "imageUrl": null,
        "email": "preeti@fieldex.com",
        "fullName": "Test User MS 123"
    },
    "createdDate": "2023-05-31T10:54:58Z",
    "lastModifiedDate": "2023-05-31T10:54:58Z",
    "runningNo": "Asset Load 002931",
    "street": "KLIA Terminal 2 - International Arrival Hall, Kuala Lumpur International Airport",
    "city": "Sepang",
    "state": "Selangor",
    "postCode": "64000",
    "country": "Malaysia",
    "latitude": 2.7447148,
    "longitude": 101.6851931,
    "majorServiceFreq": null,
    "minorServiceFreq": null,
    "nextMaintenanceDate": null,
    "nextMaintenanceType": null,
    "maintenanceStatus": "OVERDUE",
    "equipmentNumber": null,
    "equipmentMeterReading": null,
    "manufacturer": null,
    "manufactureYear": null,
    "engineModel": null,
    "engineNumber": null,
    "model": null,
    "attachments": [],
    "product": null,
    "assetsType": {
        "createdBy": "system",
        "createdDate": "2023-04-30T23:25:44Z",
        "lastModifiedBy": "load.test1@trial.custella.com",
        "lastModifiedDate": "2023-05-23T09:18:40Z",
        "id": 3,
        "name": "Component",
        "label": null,
        "isDefault": null,
        "active": null,
        "systemValue": null,
        "code": null,
        "order": 1
    },
    "assetsStatus": {
        "createdBy": "load.test1@trial.custella.com",
        "createdDate": "2023-05-16T21:11:03Z",
        "lastModifiedBy": "load.test1@trial.custella.com",
        "lastModifiedDate": "2023-05-16T21:11:03Z",
        "id": 11,
        "name": "tqroncigvx",
        "label": null,
        "order": 2,
        "isDefault": false,
        "active": true,
        "systemValue": false,
        "code": "ahrrntyfij",
        "colorCode": "#008000"
    },
    "custodian": {
        "id": 1,
        "login": "load.test1@trial.custella.com",
        "firstName": "Test",
        "lastName": "User MS 123",
        "imageUrl": null,
        "email": "preeti@fieldex.com",
        "fullName": "Test User MS 123"
    },
    "location": null,
    "acquisitionDate": null,
    "externalId": null,
    "assetsCode": "123",
    "equipmentType": null,
    "nextMaintenanceItem": null,
    "engineMake": null,
    "engineNumber2": null,
    "serviceZone": {
        "createdBy": "load.test1@trial.custella.com",
        "createdDate": "2023-05-04T13:11:45Z",
        "lastModifiedBy": "load.test1@trial.custella.com",
        "lastModifiedDate": "2023-05-04T13:11:45Z",
        "id": 4,
        "name": "Johor",
        "isDefault": false,
        "active": true,
        "order": 0,
        "code": "Johor",
        "label": "Johor",
        "systemValue": false
    },
    "assetsJsonField": {
        "mccbMake": null,
        "mccbType": null,
        "mccbRelatedAMPS": null,
        "mccbSerialNumber": null,
        "elrMake": null,
        "elrType": null,
        "elrRelatedAMPS": null,
        "elrSerialNumber": null,
        "engineOilCapacity": null,
        "engineFuelTankCapacity": null,
        "engineFuelConsumption": null,
        "engineRpm": null,
        "engineRatedNetOutput": null,
        "engineRatedFrequency": null,
        "engineCoolingSystem": null,
        "engineCoolantCapacity": null,
        "overallHeight": null,
        "overallWidth": null,
        "overallLength": null,
        "dryWeight": null,
        "wetWeight": null,
        "rigSaver": null,
        "zoneToMachine": null,
        "offshoreSpecification": null,
        "compressorTankCapacity": null,
        "compressorTankSerialNumber": null
    },
    "placeId": null,
    "site": null,
    "project": null
}