eQuipAPI

<back to all web services

DeleteAssetByID

Deletes an existing asset. Requires a valid userid to authorize the caller to complete this request.

The following routes are available for this service:
DELETE/assets/{AssetIDInternal}Deletes an existing asset.
All Verbs/DeleteAssetByID/{UserID}/{AssetIDInternal}
DeleteAssetByID Parameters:
NameParameterData TypeRequiredDescription
UserIDqueryGuidYesThe Api key that authorizes the caller to complete the request. Contact your eQuip admin.
AssetIDInternalpathGuidYesThe internal ID of an asset.

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/DeleteAssetByID HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: application/xml
Content-Length: length

<DeleteAssetByID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
  <AssetIDInternal>String</AssetIDInternal>
  <UserID>String</UserID>
</DeleteAssetByID>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>