def METHOD_NAME(self, request, pk=None, **kwargs):
    job = self.get_object()
    try:
        start_task(job)
    except ValueError as exc:
        error_message = str(exc)
        response = {"success": False, "error": error_message, "data": self.get_serializer().data}
        return Response(response, status=status.HTTP_400_BAD_REQUEST)
    job.refresh_from_db()
    serializer = self.get_serializer(instance=job)
    response = {"success": True, "error": None, "data": serializer.data}
    return Response(response)