TrakIT API‎ > ‎Asset‎ > ‎

Add Asset

The below API is used to add an asset in Asset Management.

Request: POST 




Sample: /api/mobile/AddAsset?Token=VomYEMiECFFyAQ3==


"Category":"Class 1 - Heavy Trucks", 
"OwnerName":"Ailx Transporters Ltd.", 
"Remarks":"Added on 20th Nov 2018" 


"Code": 1,
"Info": "Asset created successfully",
"RowsAffected": 1,
"Scalar": null,
"Identity": 001,
"RetInfo": null

Things to know about this API:
  1. Login Token - You can use Login API to get token under Info

  2. Asset_Category (You can get the category using GetAssetCategories API) 

  3. These fields are mandatory while sending request body: 

    • Name 
    • Serial 
    • Category 

  4. Possible Values for BelongsTo

    • Carrier 
    • Customer 
    • Transporter 
    • Bond Agent [or alternative name thereof]
    • Clearing Agent [or alternative name thereof]
    • Bank 
    • Authority 
    • Other Vendor

  5. OwnerName: Entity Name

  6. Identity in Response is newly created AssetID.