You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Next »
You can create a new asset using the following API Request with Asset Master parameters.
To authenticate the below API, see API Authentication and Authorization.
AM_AddAsset_Details (Denali SP1 HF06, SIERRA SP1 HF20, DENALI HF13, DENALI SP1 HF13, DENALI SP3 HF08 onwards)
AM_AddAsset
POST
Notes:
Sample Request
{ "ServiceName": "AM_AddAsset_Details", "objCommonParameters": { "_ProxyDetails": { "ProxyID": 0, "ReturnType": "JSON", "APIKey": "VCzYxzanmTiGn5Ry9i6rPgsUgn9IBEtXJqnw0S380FQ=", "AuthType": "APIKEY" }, "oAM_Asset_MasterParam": { "_Instance": "IT", "_Category_ID": "Laptop", "_Stores": "Thailand\\Chamchuree building" }, "oAM_Asset_DetailsParam_items": { "items": [ { "_Attribute_Name": "Fix Asset ID", "_Attribute_Value": "234242" }, { "_Attribute_Name": "Date of Purchase", "_Attribute_Value": "2021-07-02" }, { "_Attribute_Name": "Serial Number", "_Attribute_Value": "8766HGFHG11" }, { "_Attribute_Name": "LifeTime of asset", "_Attribute_Value": "3" }, { "_Attribute_Name": "Warranty/AMC Start Date", "_Attribute_Value": "2021-06-01" }, { "_Attribute_Name": "Warranty/AMC End Date", "_Attribute_Value": "2023-06-01" }, { "_Attribute_Name": "PO Number", "_Attribute_Value": "29898/987" }, { "_Attribute_Name": "PO Date", "_Attribute_Value": "2021-06-01" } ], "hasMore": true } } }
{ "_ProxyDetails": { "ProxyID": 0, "ReturnType": "JSON", "APIKey": "fVDxr5l/mZqmcdPOeGY4EQue7bCQjIth0jOiOMBu/mY=", "AuthType": "APIKEY" }, "oAM_Asset_MasterParam":{"_Instance":"ITG","_Category_ID":"Laptop","_Stores":"India\\Bangalore\\ Mylasandra\\Mylasandra Store"}, "oAM_Asset_DetailsParam":[ { "_Attribute_Name": "Serial Number", "_Attribute_Value": "SR0001" }, { "_Attribute_Name": "Bond No.", "_Attribute_Value": "100/2015-16" }, { "_Attribute_Name": "GRN no.", "_Attribute_Value": "GRN-305" } ]}
For more information, see Status and Error Messages.