Create Asset
- Enterprise IT
Owned by Enterprise IT
May 10, 2024
Loading data...
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.
Service Name | HTTP Method |
---|---|
AM_AddAsset_Details (Denali SP1 HF06, SIERRA SP1 HF20, DENALI HF13, DENALI SP1 HF13, DENALI SP3 HF08 onwards) AM_AddAsset | POST |
Notes:
- To access AM_AddAsset_Details (Json format), refer the URL: <customer domain name>REST/Summit_RESTWCF.svc/RESTService/CommonWS_JsonObjCall_json.
- To access AM_AddAsset (String format), refer the URL: <customer domain name>REST/Summit_RESTWCF.svc/RESTService/AM_AddAsset.
- At UI configuration level, if the attribute is configured as mandatory then the Attribute Name and Attribute Value fields should be mandatory.
Sample Request
Json Format
{ "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 } } }
5377802d-fafc-4f95-a4aa-25618d7ce4bc
true
Create Asset Details
Sample Request
String Format
{ "_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" } ]}
2d5db426-3073-4805-82e7-5377ce67ce2d
true
Create Asset
Status and Error Codes
For more information, see Status and Error Messages.
Confluence Cloud Migration Alert: Please refer to known issues you may encounter in Confluence Cloud: https://eitdocs.atlassian.net/wiki/x/wDGwAQ