Get a List of Assets
Retrieve all Assets
This service lists all resources, with the option of providing an asset group as a filter.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | Assets | Required |
AssetGroupId | Int | The unique identifier of the asset group which can be retrieved using Asset Groups. | Required |
IncludeCustomFields | Bool | Include custom fields in the response. | Optional |
Response Codes
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=Assets&AssetGroupId=1046
Response Data
{ "Code": 0, "Result": [ { "Registration": "XXX 123Z", "Assetid": 226330, "AssetTypeid": 1, "AssetType": "Vehicle", "AssetRegistration": "XXX 123Z", "AssetResourceId": 36230, "AssetReference": "AAABBBCCC", "AssetCostPerKm": 0, "AssetCostCurrencyKm": "GBP", "AssetCostPerDay": 0, "AssetCostCurrencyDay": "GBP", "AssetGroupId": 1046, "AssetGroupName": "Car" }, { "Registration": "CGP7V9", "Assetid": 66545, "AssetTypeid": 1, "AssetType": "Vehicle", "AssetRegistration": "CGP7V9", "AssetReference": "", "AssetCostPerKm": 0, "AssetCostCurrencyKm": "GBP", "AssetCostPerDay": 0, "AssetCostCurrencyDay": "GBP", "AssetOdometer": 1, "AssetOdometerDate": "2021-03-20 19:03:12", "AssetOdometerEstimated": 1, "AssetGroupId": 1046, "AssetGroupName": "Car" } ] }