TrakIT API‎ > ‎Asset‎ > ‎

Get Asset Type

The below API is used to get asset types in Asset Management.


Request: GET

Signature:
 trakit.XXX.com/api/mobile/GetAssetTypes?Token={Login_Token}


Sample: xyz.trakit.com/api/mobile/GetAssetTypes?Token=3cLQUDTT7KcADj-pBKqyCHg%3D

Response: 

{
 "Code": 1,
"Info": "",
"RowsAffected": 3,
"Scalar": 25928,
"Identity": 0,
"RetInfo": 
    [
        {
            "TYPEID": 3,
            "TYPENAME": "Driver",
            "CODE": null,
            "CREATEDBY": "TOM",
            "CREATED": "2018-03-27T10:30:43.897",
            "DISABLED": false,
            "HASGPS": false,
            "USERNAME": "Tom Admin"
        },
        {
            "TYPEID": 2,
            "TYPENAME": "Trailer",
            "CODE": null,
            "CREATEDBY": "TOM",
            "CREATED": "2018-03-27T10:30:21.723",
            "DISABLED": false,
            "HASGPS": false,
            "USERNAME": "Tom Admin"
        },
        {
            "TYPEID": 1,
            "TYPENAME": "Truck",
            "CODE": "",
            "CREATEDBY": "TOM",
            "CREATED": "2018-12-13T10:01:41.15",
            "DISABLED": false,
            "HASGPS": true,
            "USERNAME": "Tom Admin"
        }
    ]
}
Comments