Skip to main content

AssetModel

Asset model.

Breaking Changes

No breaking changes.

Examples

Fill this template out with real values.

{
"asset_type_id": "Integer",
"asset_type_name": "String",
"condition": "Integer",
"is_anonymous": "Boolean",
"last_incident_id": "Integer",
"last_job_id": "Integer",
"last_serviced_on": "String",
"location": "[AssetLocationModel](/docs/data_types/AssetLocationModel)",
"number": "String",
"provider_location_id": "Integer"
}

Fields

asset_type_id Integer, Required

Selected asset for the job (job types 'D', 'L', 'E').


asset_type_name String, Required

Asset type name.

  • At least 1 and no more than 200 characters.

condition Integer, Required

Asset condition id.

  • Less than or equal to 10000.
  • Greater than or equal to 0.

is_anonymous Boolean, Required

Indicates whether this asset has a user-assigned asset id.

  • One of 0, 1, True, False (case insensitive).

last_incident_id Integer, Required

Resource identifier.


last_job_id Integer, Required

Job id for this asset.


last_serviced_on String, Required

Scheduled job completion date.

  • Date in an ISO 8601 compatible format.

location Object, Required

AssetLocationModel


number String, Required

Asset identifier.

  • At least 1 and no more than 50 characters.

provider_location_id Integer, Required

Provider location id for this asset.