Function
The Customer Tax Delete API is used to remove tax information from a customer's records.
URL
{Root URL}/API/Customer/TaxDelete/{API Key} |
Parameter
Parameter | Description | Required | Comment | |
1 | Custno | Customer number | Y |
Example Strings
Delete Tax Information
URL
?CustNo=0000000011 |
JSON
{ "CustNo","0000000011" } |
A successful delete request should result in:
{ "$id": "1", "Code": "200", "Message": "ShipTax deleted successfully.", "SessionId": "null", "IsValidUser": "true", "ResponseObject": "null" } |
Common Error
API Key Error
If there is a problem with the used 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 issue with the entered URL, the system will return an HTTP error:
{ "$id": "1", "Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/ShipTax/Delete/23456789'.", "MessageDetail": "No action was found on the controller 'ShipTax' that matches the request." } |
Missing Required Parameter
If a required parameter is missing, the system will return an error message specifying which parameter is missing:
{ "$id": "1", "Code": "403", "Message": "Customer number or customer name not provided.", "SessionId": "null", "IsValidUser": "true", "ResponseObject": "null" } |