Request: GET
Signature: /api/v1/getasset?id=1234
Retrieves the asset based on the ID provided.
The token must be passed as a Header in the request.
Query parameters:
ID: The ID of the asset
Sample Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 0,
"Scalar": null,
"Identity": 0,
"RetInfo": {
"AssetID": 123,
"AssetName": "ZE5857",
"TypeID": 2,
"AssetSerial": "Z0038",
"Remarks": "Not linked to a prime mover",
"Value": 0.00,
"OwnerID": 0,
"Added": "2020-11-26T22:39:00.687",
"LinkedTo": 0,
"LinkedName": null,
"CatID": 2,
"GPSVendorCode": null,
"GPSVendorName": null,
"Resp": "JOHN",
"RespName": "John Smith",
"LinkTime": null,
"Active": false,
"OfficeID": 1,
"SecOffID": null,
"CountryName": null,
"GetAddr": null,
"UserLoc": null,
"ULocFullName": null,
"Updated": "0001-01-01T00:00:00",
"UpdatedBy": null,
"UpdatedByName": null,
"EntName": null,
"CatName": "General",
"AddedBy": "JOHN",
"AddedByName": "John Smith",
"LinkedTypeName": null,
"OfficeName": "Logistics Company Ltd",
"SubCount": 0,
"LinkedAsset": null,
"TypeName": "Trailer",
"HasGPS": false,
"YardMove": false,
"AssetData": []
}
}