case DELETE: {
if ("".equals(_id)) {
ApplicationException e = new DocumentException(ErrorCodes.DOCUMENT_DOES_NOT_EXIST, "Document Data Missing in Request Body");
result = formErrorResponse(logger, e);
} else {
result = documentService.deleteDocument(dbName, collectionName, _id);
}
break;
}
case POST: {
if ("".equals(_id) || "".equals(keys)) {