Function


The Item Master Delete API is used to delete items from the database. 


  

URL


URL-{Root URL}/api/ItemMaster/Delete/{API KEY}

  

 

Parameter

   


ParameterDescriptionRequiredComment
1uniqkey Item unique identifier key YUsed to select the part.  


     

Example Strings

  

Edit Part Description

   

URL


?uniqkey=UNIQUEKEY



JSON

  

{

"uniqkey":"UNIQUEKEY"

}



A successful request should result in


  

Common Errors

 

API Key Error

  

If there is an error with the entered API key, the system will return an error describing it:

  

{

"$id": "1",

"Code": "403",

"Message": "Invalid API Key.",

"SessionId": "null",

"IsValidUser": "false",

"ResponseObject": "null"

}


   

URL Error

   

If there is an error within the URL, the system will return an HTTP error:

  

{

"$id": "1",

"Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/InventoryHandling/Delet/123456789'.",

"MessageDetail": "No action was found on the controller 'InventoryHandling' that matches the name 'Delet'."

}

  


Missing Required Parameter

    

If a required parameter is missing, the system will return an error describing the incorrect parameter:  

  

{

"$id": "1",

"Code": "403",

"Message": "Inventor edit failed.Unique_key required.",

"SessionId": "null",

"IsValidUser": "true",

"ResponseObject": "null"

}