Function

 

The Item Master InvtmfSp Delete API is used to remove supplier information from parts in the database. 



URL 


{Root URL}/api/ItemMaster/InvtmfSpDelete/{API KEY}


   

Parameter

  


ParameterDescriptionRequiredComment
1uniqmfsp
YThe uniqmfsp is used to select the part a user wants to view information for.

  

  

Example Strings

  

Example invtmfSp Delete String


URL


?uniqmfsp=UNIQMFSP


 

JSON

  

{

"uniqmfsp":"UNIQMFSP",

}

  

  

A successful delete should result in:

   

{

"$id": "1",

"Code": "200",

"Message": "Invtmfsp deleted successfully.",

"SessionId": "null",

"IsValidUser": "true",

"ResponseObject": "null"

}

  

  

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/ItemMaster/InvtmfSpDelet/123456789'.",

"MessageDetail": "No action was found on the controller 'ItemMaster' that matches the name 'InvtmfSpDelet'."

}

  

    

Incorrect Parameter

   

If an incorrect parameter value is used, the system will return an error describing the incorrect parameter:

   

{

"$id": "1",

"Code": "403",

"Message": "Uniqmfsp not provided.",

"SessionId": "null",

"IsValidUser": "true",

"ResponseObject": "null"

}