List Assets

Get Assets [GET]

Authorization: Admin, Web, Mobile

  • /assets

    Returns a list of all assets

  • /folders/{id}/assets

    Get a list of assets that are within the same account as the given folder.

Parameters

  • orderyBy oData (optional) Example: $orderBy=id1 desc

    order the forms by given value in given direction.

  • classificationIds list (optional) Example: classificationIds[]=186

    filter the list of assets to only include asset’s within the given classifications.

  • assetStatusIds list (optional) Example: assetStatusIds[]=19

    filter the list of assets to only include asset’s with the given statuses.

  • noAssetStatus boolean (optional) Default:falseExample: noAssetStatus=true

    filter the list of assets to only include asset’s with no status.

  • notInFolder boolean (optional) Default:falseExample: notInFolder=true

    (only available for assets list for folder) filter the list of assets to not display assets that are already on a form within the folder

Response 200

Body
{
  "page": 1,
  "pages": 1,
  "count": 2,
  "items": [
    {
		"id": 1037405111,
		"guid": "036a4311-cdeb-4705-b3ad-7c9e5e419xxx",
		"id1": "CPP-025",
		"id2": null,
		"accountId": 98501010,
		"locationId": 2044085435,
		"description": null,
		"createdAt": "2018-02-26T18:28:23.390Z",
		"createdBy": {
			"id": 666113,
			"firstName": "Bob",
			"lastName": "Burger",
			"fullName": "Bob Burger"
		},
		"lat": null,
		"lon": null,
		"latLonDate": null,
		"latLonAccuracyInMeters": null,
		"urgentNote": null,
		"statusId": null,
		"status": null,
		"rowStatus": 1,
		"areaName": null,
		"modifiedAt": "2018-02-26T18:35:58.450Z",
		"imageUrlLarge": null,
		"imageUrlMedium": null,
		"imageUrlSmall": null,
		"account": {
			"id": 98501010,
			"num": "10388",
			"name": "CONCRETE PIPE",
			"nameNum": "CONCRETE PIPE, NE:10388",
			"rowStatus": 1
		},
		"location": {
			"id": 2044085435,
			"name": "Concrete Pipe Site",
			"num": "CPP5"
		},
		"classification": {
			"id": 1337388,
			"name": "Below the Hook Devices",
			"rowStatus": 1,
			"imageUrlSmall": "https://archive.inspectall.com/images/class/...",
			"categoryId": 522803,
			"id1Name": "Identifier",
			"id1Required": false,
			"id2Name": "TagID",
			"id2Active": true,
			"statusActive": true,
			"urgentNoteActive": true
		},
		"classificationId": 1337388,
		"areaId": ""
	}, {
		"id": 1036328,
		"guid": "1cadcd0c-bb18-e811-a731-a7a45c75dzzz",
		"id1": "FMH-006137xxx",
		"id2": "01E00061536600",
		"accountId": 1148750987,
		"locationId": 2038880987,
		"description": null,
		"createdAt": "2018-02-23T17:00:41.927Z",
		"createdBy": {
			"id": 543109878,
			"firstName": "Fred",
			"lastName": "Simmons",
			"fullName": "Fred Simmons"
		},
		"lat": null,
		"lon": null,
		"latLonDate": null,
		"latLonAccuracyInMeters": null,
		"urgentNote": null,
		"statusId": 173452,
		"status": "In Service",
		"rowStatus": 1,
		"areaName": null,
		"modifiedAt": "2018-02-26T18:38:27.210Z",
		"imageUrlLarge": null,
		"imageUrlMedium": null,
		"imageUrlSmall": null,
		"account": {
			"id": 1148753534,
			"num": "955K",
			"name": "VDOT",
			"nameNum": "VDOT: 955K",
			"rowStatus": 1
		},
		"location": {
			"id": 20388856456,
			"name": "Main Shop",
			"num": null
		},
		"classification": {
			"id": 1533226655,
			"name": "Mobile",
			"rowStatus": 1,
			"imageUrlSmall": "https://archive.inspectall.com/images/class/....",
			"categoryId": 5233346,
			"id1Name": "Equipment ID",
			"id1Required": false,
			"id2Name": "Serial Number",
			"id2Active": true,
			"statusActive": true,
			"urgentNoteActive": true
		},
		"classificationId": 1533226655,
		"areaId": ""
	}

  ]
}

Still need help? Contact Us Contact Us