Skip to main content

Get an Asset

Returns details for a specific asset.

Query String Parameters

NameTypeDescriptionRequired
ActionStringAssetDetailRequired
AssetIdIntThe unique identifier of the asset which can be retrieved using Asset List.Optional - See Tip
AssetRegistrationStringThe registration number of the asset.Optional - See Tip
AssetReferenceStringThe internal reference of the asset.Optional - See Tip
IncludeCustomFieldsBoolInclude custom fields in the response.Optional

tip
Any combination of the AssetID, Registration or Reference parameter can be provided. You only need to provide one of the three parameters.

If multiple parameters are provided, the method will use AssetId over Registration, over Reference.

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
2Asset not found
2Invalid format - AssetId, AssetRegistration or AssetReference is required
2Invalid format - AssetGroupId
2There are no assets setup in JobWatch

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=AssetDetail&AssetId=226330