FieldEx Developer
developer notes

Patch Asset

The PartialUpdate API allows you to update a subset of the fields in the asset record. This is useful in cases where you need to update an asset without having to update all of the fields.

Method API Endpoint
PATCH {{endpoint}}/api/ext/assets

Headers

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

Example Request

{
    "name": "assest1",
    "serialNo": null,
    "assetsStatus": {
        "id": 4
    },
    "assetsType": {
        "id": 1
    },
    "installationDate": null,
    "warrantyStartDate": null,
    "warrantyEndDate": null,
    "brand": null,
    "maintenanceStatus": "",
    "externalId": "efefg",
    "newBrand": "",
    "description": "",
    "custodian": null,
    "customer": null,
    "customerLocation": "",
    "assetsLocation": {
        "building": null,
        "newBuilding": null,
        "floor": null,
        "newFloor": null,
        "room": null,
        "newRoom": null
    },
    "serviceZone": null,
    "assetsJsonField": {},
    "site": null,
    "nextMaintenanceDate": "",
    "attachments": []
}