Testsuit execuition in katalon and pass fail result will show in TestLink

I have successfully run the testcases in Katalon and result is showing in Testlink pass/fail. But now I wants to connect TestSuits and result must show in Testlink. But i am not able to do it. Here is my code and console log:

class ClickOnNextButtonListener {

public static String DEVKEY="e07a92432a43ebe74c68d6a960b866f9";
public static String URL="http://localhost/testlink/lib/api/xmlrpc/v1/xmlrpc.php";
String testProject="Workilo";
String testPlan="Workilo Test Plan";
//String testCase="click on Next button without changing date and time";
String testSuite="Book services with valid inputs";
String build="Beta Testing";

public static void reportResult(String TestProject,String TestPlan,String TestSuite,String Build,String Notes,String Result) throws TestLinkAPIException{
	TestLinkAPIClient api=new TestLinkAPIClient(DEVKEY, URL);
	api.reportTestCaseResult(TestProject, TestPlan, TestSuite, Build, Notes, Result);


def beforetestcase(TestCaseContext testCaseContext) {
	println testCaseContext.getTestCaseId()
	//println testCaseContext.getTestCaseVariable()
	println testCaseContext.getTestCaseStatus()


	def sampleAfterTestSuite(TestSuiteContext testSuiteContext)throws Exception {
		String result = "";
		//String exception = "";
		String notes="";
		//String result=null;
		result= TestLinkAPIResults.TEST_PASSED;
		notes="Executed successfully";
		catch(Exception e){
		System.out.println("Error: " + e.getMessage());
		notes="Execution failed";
			ClickOnNextButtonListener a=new ClickOnNextButtonListener();
			a.reportResult(testProject, testPlan,testSuite, build, notes, result);


Console log error:
org.codehaus.groovy.runtime.InvokerInvocationException: testlink.api.java.client.TestLinkAPIException: The test case identifier null was not found and the test case Book services with valid inputs could not be accessed to report a test result to test plan Workilo Test Plan.

Could you please print out all arguments of the statement api.reportTestCaseResult(TestProject, TestPlan, TestSuite, Build, Notes, Result)?

Hey Devalex88,
I think the problem is api.reportTestCaseResult is not recognizable, and its shoiwng null because I am not using Testcase anywhere. so when I write api.reportTestSuitResult its showing error. another thing I found that Testsuit may be write within no of arrays or may be using hashmap because it will consist no of test cases. though i am not sure. Please guide me on the above problem.