(Quick Reference)
Service: Delete a report
Description: This web service is used in order to delete a report object from the database
URL:
https://BASE_URL/api/v1.0/reports/{id}
Method: DELETE
Parameters:
Name | Description | Type | Required | Examples values |
---|
id | Id of the desired report to delete | Long | Yes | 777 |
Success Output
Success case: response.status=200
{
"success": "true",
"success_description": "Instance deleted successfully"
}
Failure Output
Failure case:response.status = 400
{
"error": "invalid_param_type",
"error_description": "The type of parameter id you provided is not valid for this request."
}
Failure case:response.status = 404
{
"error": "not_found",
"error_description": "The report with the id 1 doesn't exist."
}
Failure case:response.status = 500
{
"error": "server_error",
"error_description": "Oops! Something went wrong..."
}