CompanyDeleteFailureReason
Why a company in a bulk delete request was not deleted
enum CompanyDeleteFailureReason {
COMPANY_NOT_FOUND_ERROR
COMPANY_MULTIPLE_FOUND_ERROR
COMPANY_DELETE_WITH_CONTACTS_ERROR
COMPANY_LOOKUP_INVALID
COMPANY_DELETE_ERROR
}
Values
CompanyDeleteFailureReason.COMPANY_NOT_FOUND_ERROR
No company matched that key for this tenant. Retrying will not change that.
CompanyDeleteFailureReason.COMPANY_MULTIPLE_FOUND_ERROR
The key matched more than one company, so it does not identify which to delete. Nothing was deleted for it.
CompanyDeleteFailureReason.COMPANY_DELETE_WITH_CONTACTS_ERROR
The company still has contacts attached. Reassign or delete those contacts first; there is no override.
CompanyDeleteFailureReason.COMPANY_LOOKUP_INVALID
The key could not be used for the requested lookup at all — a non-numeric key for an id lookup. Fix the request rather than retrying it.
CompanyDeleteFailureReason.COMPANY_DELETE_ERROR
The company was found and allowed to go, but the delete itself did not complete. The id is safe to retry.
Member Of
CompanyDeleteFailure object