ctkXnatAPI class (former qXnatAPI from the qRestAPI project)