Deactivate an Asset

You can deactivate an existing asset using the following API Request that are lost, damaged, decommissioned, or not usable due to end of life.

To authenticate the below API, see API Authentication and Authorization.

Service NameHTTP Method
AM_DeActivateAsset

POST


Sample Request
{
 "ServiceName": "AM_DeActivateAsset",
 "objCommonParameters": {
 "_ProxyDetails": {
 "ProxyID": 0,
 "ReturnType": "JSON",
 "APIKey": "VCzYxzanmTiGn5Ry9i6rPgsUgn9IBEtXJqnw0S380FQ=",
 "AuthType": "APIKEY"
 },
 "oAM_Asset_MasterParam": {
 
 "_Asset_ID": "46",
 "_Category_ID": "Laptop", 
 "_Instance": "IT"
 },
 "Reason": "CPU problem",
 "Remarks": "Testing to deactivate"
 }
} 

Request Parameters

Parameter NameTypeDescriptionMandatory

_Asset_ID

STRING

Unique identification number of an asset.

TRUE

_Category_ID

STRING

The category name of an asset.

TRUE

_Instance

STRING

Instance Name.

For Example: IT

TRUE

Reason

STRING

The reason for de-activating asset.

Example of deactivate reason values are:

  • CPU problem
  • Damaged
  • End of Life
  • Lost
  • Mother Board Issue
  • Asset Buyout
  • Asset Lost/Stolen
  • Non-Repairable

TRUE

Remarks

STRING

Specify the remark.

TRUE

Sample Response
{"Errors":"","Input":null,"Message":"","OrgID":0,"Output":"Successfully completed the 
deactivation.","OutputID":0,"OutputObject":null,"TokenID":"77E8BFBAA67B723C663387713E71E3
BD840F18E4A4BBED850CA89C247E4298A0591C205568EA177D6585C0FDC40A853D1AB5AC9E38D
91D930A1A3B02EF9ECFA77672E4CD2C2A5757656243654F601F41B7C4D5B400F060001FD9716283
5F99CDF6B028232ABE64ABFCE9E881F428AB0BA2814AC1B66A0D257F395A2A5DF1013D5BB68051
C36C89343D974BA5C8E54D9C455E3D396FE21DAB2104E8832951C85115B453B1"}

Status and Error Codes

For more information, see: Status and Error Messages.