Skip to main content

JobAssetModel

Asset profile.

Breaking Changes

No breaking changes.

Examples

Fill this template out with real values.

{
"asset_type": "[JobAssetTypeModel](/docs/data_types/JobAssetTypeModel)",
"asset_type_id": "Integer",
"cluster": "Integer",
"customer_id": "Integer",
"description": "String",
"dispatched_on": "String",
"id": "Integer",
"is_returned": "Boolean",
"last_activity_on": "String",
"last_rental_invoice_on": "String",
"latitude": "Float",
"location": "[LocationAddressModel](/docs/data_types/LocationAddressModel)",
"location_id": "Integer",
"longitude": "Float",
"number": "String",
"quantity": "Integer",
"returned_on": "String"
}

Fields

asset_type Object, Required

JobAssetTypeModel


asset_type_id Integer, Required

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


cluster Integer, Required

Cluster id.


customer_id Integer, Required

Customer identifier.


description String, Required

Free-form text description.

  • At least 0 and no more than 2048 characters.

dispatched_on String, Required

Time the asset was dispatched.

  • Date in an ISO 8601 compatible format.

id Integer, Required

Resource identifier.


is_returned Boolean, Required

Is asset returned.

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

last_activity_on String, Required

Last activity time.

  • Date in an ISO 8601 compatible format.

last_rental_invoice_on String, Required

Last rental invoice time.

  • Date in an ISO 8601 compatible format.

latitude Float, Required

Latitude.

  • Less than or equal to 90.
  • Greater than or equal to -90.

location Object, Required

LocationAddressModel


location_id Integer, Required

Location identifier.


longitude Float, Required

longitude.

  • Less than or equal to 180.
  • Greater than or equal to -180.

number String, Required

Phone number (free text).

  • At least 7 characters, not more than 15.

quantity Integer, Required

Asset quantity.

  • Greater than or equal to 0.

returned_on String, Required

Time the asset was returned.

  • Date in an ISO 8601 compatible format.