def delete(self, role_id): return RequestResource.delete(role_id, RoleData)
def delete(self, schedule_id): return RequestResource.delete(schedule_id, ScheduleData)
def put(self, role_id): altered_data = RequestResource.put(role_id, RoleData, parser.parse_args()) db.session.commit() return jsonify(altered_data.serialize())
def put(self, permission_id): altered_data = RequestResource.put(permission_id, PermissionData, parser.parse_args()) db.session.commit() return jsonify(altered_data.serialize())
def delete(self, permission_id): return RequestResource.delete(permission_id, PermissionData)
def delete(self, supplier_id): return RequestResource.delete(supplier_id, SupplierData)
def put(self, supplier_id): altered_data = RequestResource.put(supplier_id, SupplierData, parser.parse_args()) db.session.commit() return jsonify(altered_data.serialize())
def delete(self, journey_id): return RequestResource.delete(journey_id, JourneyData)
def delete(self, journey_version_id): return RequestResource.delete(journey_version_id, JourneyVersionData)
def put(self, journey_version_id): altered_data = RequestResource.put(journey_version_id, JourneyVersionData, parser.parse_args()) db.session.commit() return jsonify(altered_data.serialize())