TrakIT API‎ > ‎Asset‎ > ‎

Link Asset

The below API is used to link an asset to the Work Order.

Request: POST

Signature: /api/mobile/LinkWOAsset?Token={Login_Token}

Body: 


"WONum":WORK_ORDER_ID,
"AssetSerial":"ASSET_SERIAL"


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

Body: 


"WONum":1111, 
"AssetSerial": "ASSET1111"

Response:

{
"Code": 1,
"Info": "Asset linked successfully",
"RowsAffected": 1,
"Scalar": null,
"Identity": 0,
"RetInfo": null
}


Things to know about this API: 
  1. Login_Token (You can get the Login_Token using Login API) 

  2. These fields are mandatory while sending request body: 

    • WONum
    • AssetSerial
Comments