Skip to content

Get asset grid list

Request

Returns a filtered and paginated grid list of general assets.

Behavior:

  • Applies portfolio filtering criteria
  • Supports pagination using the start parameter
  • Retrieves general assets for the account
  • Returns structured asset grid response data
  • Logs the action as equipment grid view
Query
startstring
Body
siteIdsArray of strings or null, (uuid)
buildingIdsArray of strings or null, (uuid)
levelIdsArray of strings or null, (uuid)
roomIdstring or null
assetClassIdstring or null
assetTypeIdstring or null
assignedboolean
unassignedboolean
datafieldIdsArray of strings or null
selectedIdsArray of strings or null
statusArray of strings or null
isEquipmentWithSpaceHandleboolean
includeFurnitureboolean or null
levelNamestring or null
levelPositioninteger, (int32)
fieldValuesArray of objects or null(zLink.Business.zOne.Base.Common.EntityDataFieldValue)
isAdvancedSearchboolean or null
isLinkAssetboolean
assetClassIdsArray of strings or null, (uuid)
assetTypeIdsArray of strings or null, (uuid)
keywordstring or null
sortColumnstring or null
sortColumnIdstring or null, (uuid)
sortOrderstring or null
filterstring or null
curl -i -X POST \
  'https://demozone.zlinkfm.com/RND/api/v1/assets/general/basic/list?start=string' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "siteIds": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
    "buildingIds": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
    "levelIds": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
    "roomId": "string",
    "assetClassId": "string",
    "assetTypeId": "string",
    "assigned": true,
    "unassigned": true,
    "datafieldIds": [
      "string"
    ],
    "selectedIds": [
      "string"
    ],
    "status": [
      "string"
    ],
    "isEquipmentWithSpaceHandle": true,
    "includeFurniture": true,
    "levelName": "string",
    "levelPosition": 0,
    "fieldValues": [
      {
        "dataFieldId": "b6507240-6286-4e43-b3da-bd23ecf1c322",
        "dataFieldValue": "string",
        "dataFieldlabel": "string",
        "dataFieldValueIds": [
          "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        ],
        "fromDate": "string",
        "toDate": "string",
        "dataFieldValueRangeType": "string"
      }
    ],
    "isAdvancedSearch": true,
    "isLinkAsset": true,
    "assetClassIds": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
    "assetTypeIds": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
    "keyword": "string",
    "sortColumn": "string",
    "sortColumnId": "0f49f070-9ddb-4e23-bac3-3a9c7797ab4e",
    "sortOrder": "string",
    "filter": "string"
  }'

Responses

OK

Body
dataobject(zLink.Business.zOne.Portfolio.ResponseModels.GeneralAssetListResponseModel)
messagestring or null
isErrorboolean
messageCodeinteger, (int32)
statusstring or null
errorTypestring or null
traceidstring or null
responseDescriptionstring or null
Response
{
  "data": {
    "generalProperties": [
      {
        "name": "string",
        "alias": "string",
        "dataType": "string",
        "propertyType": "string",
        "isKeyData": true,
        "visibility": true,
        "dataFieldId": "b6507240-6286-4e43-b3da-bd23ecf1c322",
        "uiProperties": {
          "fullWidth": true,
          "columnWidth": "string",
          "columnSpan": 0
        }
      }
    ],
    "data": [
      {
        "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",
        "assetIdentifier": "string",
        "assetDescription": "string",
        "assetType": {
          "assetTypeId": "8b5111d6-fc22-4841-bf1b-479a403efd40",
          "assetTypeName": "string"
        },
        "assetClass": {
          "assetClassId": "612ce5f5-12bc-4349-bd22-8eec5b4bdcd6",
          "assetClassName": "string",
          "assetType": {
            "assetTypeId": "8b5111d6-fc22-4841-bf1b-479a403efd40",
            "assetTypeName": "string"
          },
          "assetClassSymbol": {
            "symbolId": "6dee67fb-8a48-4652-be83-66515f0780d3",
            "symbolName": "string",
            "gisSymbolIcon": "string",
            "symbolColorCode": "string",
            "dwgSymbolMode": true
          },
          "responseDescription": "string"
        },
        "status": {
          "statusId": "e900225c-0629-4e96-be6e-86a17a309645",
          "statusCode": "string",
          "statusName": "string",
          "statusColor": "string"
        },
        "expiryDate": "string",
        "manufactureDate": "string",
        "assetImage": "string",
        "locationInfo": {
          "location": "string",
          "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54",
          "building": "string",
          "buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",
          "level": "string",
          "levelId": "a70368c7-b12e-43a9-9830-ab2485710b95",
          "room": "string",
          "roomId": "c3631f02-ff67-42b8-8775-18c47f52a678",
          "workspace": "string",
          "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c",
          "spaceKey": "string",
          "spaceAssignedOn": "string",
          "spaceCategory": {
            "spaceCategoryId": "809d6029-69b4-43c2-a738-11abe5eaf804",
            "spaceCategoryName": "string",
            "spaceCategoryCode": "string"
          },
          "roomFunction": {
            "roomFunctionId": "21215e30-d522-4a6e-b350-1cf0e9b3df3c",
            "roomFunctionName": "string"
          },
          "spaceArea": 0.1,
          "levelPlanHandle": "string",
          "employeeLocationId": "2e9ca96c-a4c6-4bdb-b2bb-33d9e60c3f1c",
          "rollBackInfo": {
            "isRollBack": true,
            "rollBackType": "string",
            "employeeLocationId": "2e9ca96c-a4c6-4bdb-b2bb-33d9e60c3f1c",
            "comments": "string"
          },
          "levelPlanId": "0f5a21ff-233b-4dbc-8296-4521bcd60dc1",
          "planFile": {
            "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc",
            "fileName": "string",
            "fileSize": "string",
            "currentRevisionNumber": 0,
            "createdOn": "string",
            "fileSizeInBytes": 0,
            "createdDate": "2019-08-24T14:15:22Z",
            "createdBy": "string",
            "isLatest": true
          },
          "cadPlanCoordinates": [
            0.1
          ],
          "spaceAssignedOnDateTimeFormat": "string",
          "svgPlanAdded": true
        },
        "additionalInfo": [
          {
            "dataField": "string",
            "dataFieldId": "b6507240-6286-4e43-b3da-bd23ecf1c322",
            "dataIds": [
              "497f6eca-6276-4993-bfeb-53cbbbba6f08"
            ],
            "dataFieldValue": null,
            "dataFieldName": "string",
            "dataValueFormated": "string"
          }
        ],
        "isAssigned": true,
        "yearofInstallation": 0,
        "replacementYear": 0,
        "purchaseCost": 0.1,
        "assetSymbol": {
          "symbolId": "6dee67fb-8a48-4652-be83-66515f0780d3",
          "symbolName": "string",
          "gisSymbolIcon": "string",
          "symbolColorCode": "string",
          "dwgSymbolMode": true
        },
        "locationDetails": {
          "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54",
          "locationName": "string",
          "status": {
            "statusId": "e900225c-0629-4e96-be6e-86a17a309645",
            "statusCode": "string",
            "statusName": "string",
            "statusColor": "string"
          },
          "buildings": [
            {
              "buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",
              "buildingName": "string",
              "levels": [
                null
              ],
              "buildingPlans": [
                null
              ],
              "buildingType": "string",
              "cadPlans": [
                null
              ],
              "location": {
                "features": []
              },
              "spaceDetail": {},
              "status": {},
              "responseDescription": "string",
              "latLong": [
                null
              ],
              "latitude": 0.1,
              "longitude": 0.1
            }
          ],
          "buildingPlans": [
            {
              "planId": "b3f60ba2-c1fd-4b3a-a23d-8e876e0ef75d",
              "planType": {},
              "planDescription": "string",
              "planModel": {},
              "planFile": {},
              "revisions": [
                null
              ],
              "locationInfo": {
                "cadPlanCoordinates": []
              },
              "assetIds": [
                null
              ],
              "svgPlanAdded": true,
              "responseDescription": "string",
              "hasAnyRevisions": true,
              "isPlanRemoved": true,
              "responseMessage": "string",
              "isCadPlanExist": true
            }
          ],
          "location": {
            "type": "string",
            "features": [
              {
                "properties": {},
                "geometry": {}
              }
            ]
          },
          "cadPlans": [
            {
              "planId": "b3f60ba2-c1fd-4b3a-a23d-8e876e0ef75d",
              "planType": {},
              "planDescription": "string",
              "planModel": {},
              "planFile": {},
              "revisions": [
                null
              ],
              "locationInfo": {
                "cadPlanCoordinates": []
              },
              "assetIds": [
                null
              ],
              "svgPlanAdded": true,
              "responseDescription": "string",
              "hasAnyRevisions": true,
              "isPlanRemoved": true,
              "responseMessage": "string",
              "isCadPlanExist": true
            }
          ],
          "spaceDetail": {
            "numberOfDepartments": 0,
            "totalArea": 0.1,
            "usableArea": 0.1,
            "occupied": 0,
            "vacant": 0
          },
          "responseDescription": "string",
          "latitude": 0.1,
          "longitude": 0.1
        },
        "barcode": "string",
        "purchaseCostString": "string",
        "parentAssetType": {
          "assetTypeId": "8b5111d6-fc22-4841-bf1b-479a403efd40",
          "assetTypeName": "string"
        },
        "parentAssetClass": {
          "assetClassId": "612ce5f5-12bc-4349-bd22-8eec5b4bdcd6",
          "assetClassName": "string",
          "assetType": {
            "assetTypeId": "8b5111d6-fc22-4841-bf1b-479a403efd40",
            "assetTypeName": "string"
          },
          "assetClassSymbol": {
            "symbolId": "6dee67fb-8a48-4652-be83-66515f0780d3",
            "symbolName": "string",
            "gisSymbolIcon": "string",
            "symbolColorCode": "string",
            "dwgSymbolMode": true
          },
          "responseDescription": "string"
        },
        "parentAssetIdentifier": {
          "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",
          "assetIdentifier": "string"
        },
        "isGrouped": true,
        "lotNumber": "string",
        "quantity": 0,
        "manufacturer": {
          "manufcturerId": "0437b219-b394-4045-9952-a8a1a1d07f76",
          "manufacturerName": "string"
        },
        "model": "string",
        "installationDate": "string",
        "expiryDateTime": "2019-08-24T14:15:22Z",
        "replacementCost": 0.1,
        "repairCost": 0.1,
        "remainingUsefulLife": 0.1,
        "estimatedUsefulLife": 0.1,
        "facilityConditionIndex": 0.1,
        "assetWarrantyMinDate": "string",
        "responseDescription": "string"
      }
    ],
    "listProperties": {
      "totalCount": 0,
      "currentStart": 0,
      "currentLength": 0,
      "pageCount": 0
    },
    "responseDescription": "string"
  },
  "message": "string",
  "isError": true,
  "messageCode": 0,
  "status": "string",
  "errorType": "string",
  "traceid": "string",
  "responseDescription": "string"
}