Un-Link Asset from WO

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

Request: POST

Signature: /api/mobile/UnLinkWOAsset?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 unlinked successfully",
"RowsAffected": 1,
"Scalar": null,
"Identity": 0,
"RetInfo": null
}

Things to know about this API:

    1. Token - You can use Login API to get token displayed under Info
    2. These fields are mandatory while sending request body:
      • WONum
      • AssetSerial