{"id":485,"date":"2024-12-11T11:24:09","date_gmt":"2024-12-11T11:24:09","guid":{"rendered":"https:\/\/linqur.com\/docs\/?post_type=ht_kb&#038;p=485"},"modified":"2024-12-11T11:24:11","modified_gmt":"2024-12-11T11:24:11","slug":"api-endpoint-documentation","status":"publish","type":"ht_kb","link":"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/","title":{"rendered":"API endpoint documentation"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>A comprehensive description of all end points.<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Method<\/strong><\/td><td><strong>HTTP request<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>courseAdd()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/add<\/td><td>Create a new course<\/td><\/tr><tr><td>courseDelete()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/delete<\/td><td>Delete an existing course by its ID<\/td><\/tr><tr><td>courseLearningObjectDelete()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/learningobject\/delete<\/td><td>Delete a specific learning object<\/td><\/tr><tr><td>courseLearningObjectScormAdd()<\/td><td><strong>POST<\/strong>&nbsp;\/course\/learningobject\/scrom\/add<\/td><td>Add an SCORM package to a course<\/td><\/tr><tr><td>courseLearningObjectList()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/learningobject\/list<\/td><td>Get learning objects for a course<\/td><\/tr><tr><td>courseLearningObjectScormUpdate()<\/td><td><strong>POST<\/strong>&nbsp;\/course\/learningobject\/scrom\/update<\/td><td>Update SCORM Learning Object<\/td><\/tr><tr><td>courseList()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/list<\/td><td>Retrieve all courses<\/td><\/tr><tr><td>courseLtiRegistrationsByDay()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/lti\/registrations_by_day<\/td><td>Get LTI registrations by day<\/td><\/tr><tr><td>courseLtiRegistrationsSumByCourse()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/lti\/registrations_sum_by_course<\/td><td>Get total LTI registrations per course<\/td><\/tr><tr><td>courseToolAdd()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/tool\/add<\/td><td>Add new tool to a course<\/td><\/tr><tr><td>courseToolDelete()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/tool\/delete<\/td><td>Delete a specific course tool<\/td><\/tr><tr><td>courseToolList()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/tool\/list<\/td><td>List all LTI tools within a course<\/td><\/tr><tr><td>courseToolUpdate()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/tool\/update<\/td><td>Update a specific course tool<\/td><\/tr><tr><td>courseUpdate()<\/td><td><strong>GET<\/strong>&nbsp;\/course\/update<\/td><td>Update an existing course<\/td><\/tr><tr><td>tokenAdd()<\/td><td><strong>GET<\/strong>&nbsp;\/token\/add<\/td><td>Add a new API token<\/td><\/tr><tr><td>tokenDelete()<\/td><td><strong>GET<\/strong>&nbsp;\/token\/delete<\/td><td>Delete an API token<\/td><\/tr><tr><td>tokenList()<\/td><td><strong>GET<\/strong>&nbsp;\/token\/list<\/td><td>Get list of API tokens<\/td><\/tr><tr><td>userDelete()<\/td><td><strong>GET<\/strong>&nbsp;\/user\/delete<\/td><td>Delete a user by ID<\/td><\/tr><tr><td>userDeleteBulk()<\/td><td><strong>GET<\/strong>&nbsp;\/user\/delete_bulk<\/td><td>Delete multiple users by IDs<\/td><\/tr><tr><td>userList()<\/td><td><strong>GET<\/strong>&nbsp;\/user\/list<\/td><td>Get list of users in a tool<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">courseAdd()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseAdd($coursename, $coursenameshort): \\LtiSaasApi\\Model\\CourseAdd200Response<\/code><\/pre>\n\n\n\n<p><strong>Create a new course<\/strong><\/p>\n\n\n\n<p>This endpoint allows you to create a new course. The course name should be passed as a query parameter.<\/p>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$coursename = 'coursename_example'; \/\/ string | The name of the course to be created\n$coursenameshort = 'coursenameshort_example'; \/\/ string | The shortname of the course to be created\n\ntry {\n    $result = $apiInstance-&gt;courseAdd($coursename, $coursenameshort);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseAdd: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p><strong>Parameters<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>coursename<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name of the course to be created<\/td><td><\/td><\/tr><tr><td><strong>coursenameshort<\/strong><\/td><td><strong>string<\/strong><\/td><td>The shortname of the course to be created<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Return type<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p>\\LtiSaasApi\\Model\\CourseAdd200Response<\/p>\n\n\n\n<p>Authorization: token<a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP request headers<a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseDelete()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseDelete($courseid): \\LtiSaasApi\\Model\\CourseDelete200Response<\/code><\/pre>\n\n\n\n<p><strong>Delete an existing course by its ID<\/strong><\/p>\n\n\n\n<p>This endpoint allows you to delete an existing course by providing its unique identifier (course ID).<\/p>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$courseid = 56; \/\/ int | The unique identifier of the course to be deleted\n\ntry {\n    $result = $apiInstance-&gt;courseDelete($courseid);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseDelete: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p><strong>Parameters<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-1\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>courseid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The unique identifier of the course to be deleted<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Return type<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-1\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseDelete200Response<\/strong><\/p>\n\n\n\n<p>Authorization: token<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-1\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>HTTP request headers<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-1\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseLearningObjectDelete()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseLearningObjectDelete($learningobjectid): \\LtiSaasApi\\Model\\CourseUpdate200Response<\/code><\/pre>\n\n\n\n<p><strong>Delete a specific learning object<\/strong><\/p>\n\n\n\n<p>This endpoint deletes a specific learning object based on the given identifier. * It returns a success response upon successful deletion and relevant error responses for invalid requests or unauthorized * access.<\/p>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$learningobjectid = 56; \/\/ int | The identifier of the learning object\n\ntry {\n    $result = $apiInstance-&gt;courseLearningObjectDelete($learningobjectid);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseLearningObjectDelete: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p><strong>Parameters<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-2\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>learningobjectid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The identifier of the learning object<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Return type<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-2\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p>\\LtiSaasApi\\Model\\CourseUpdate200Response<\/p>\n\n\n\n<p>Authorization: token<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-2\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>HTTP request headers<\/strong><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-2\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseLearningObjectScormAdd()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseLearningObjectScromAdd($courseid, $packagefile, $name, $popup, $width, $height, $grademethod, $maxgrade, $maxattempt, $whatgrade, $forcenewattempt, $lastattemptlock, $autocommit, $masteryoverride): \\LtiSaasApi\\Model\\CourseLearningObjectScromAdd200Response<\/code><\/pre>\n\n\n\n<p>Add an SCORM package to a course<\/p>\n\n\n\n<p>This endpoint allows adding a SCORM package as a learning object to a specified course.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$courseid = 56; \/\/ int | The unique identifier of the course\n$packagefile = \"\/path\/to\/file.txt\"; \/\/ \\SplFileObject | The .zip file of the SCORM package\n$name = 'name_example'; \/\/ string | The name of the SCORM package\n$popup = 56; \/\/ int | Indicates if the SCORM package should open in a new window (1) or not (0)\n$width = 56; \/\/ int | The display width for the SCORM package\n$height = 56; \/\/ int | The display height for the SCORM package\n$grademethod = 56; \/\/ int | The grading method for the SCORM package (0: learning objects, 1: highest grade, 2: average      *                     grade, 3: sum grade)\n$maxgrade = 56; \/\/ int | The maximum grade possible for the SCORM package\n$maxattempt = 56; \/\/ int | The maximum number of attempts allowed for the SCORM package\n$whatgrade = 56; \/\/ int | The grading strategy for multiple attempts (0: highest attempt, 1: average grade, 2: first      *                     attempt)\n$forcenewattempt = 56; \/\/ int | Policy for forcing new attempts (0: no, 1: every new attempt is a new grade, 2: every new      *                     attempt resets previous grades)\n$lastattemptlock = 56; \/\/ int | Indicates if the SCORM package should be locked after the last attempt (0: no, 1: yes)\n$autocommit = 56; \/\/ int | Indicates if the SCORM package grades should auto commit (0: no, 1: yes)\n$masteryoverride = 56; \/\/ int | Indicates if the mastery grade overrides the max grade (0: no, 1: yes)\n\ntry {\n    $result = $apiInstance-&gt;courseLearningObjectScromAdd($courseid, $packagefile, $name, $popup, $width, $height, $grademethod, $maxgrade, $maxattempt, $whatgrade, $forcenewattempt, $lastattemptlock, $autocommit, $masteryoverride);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseLearningObjectScromAdd: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-3\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>courseid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The unique identifier of the course<\/td><td><\/td><\/tr><tr><td><strong>packagefile<\/strong><\/td><td><strong>\\SplFileObject<\/strong>**\\SplFileObject**<\/td><td>The .zip file of the SCORM package<\/td><td><\/td><\/tr><tr><td><strong>name<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name of the SCORM package<\/td><td><\/td><\/tr><tr><td><strong>popup<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the SCORM package should open in a new window (1) or not (0)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>width<\/strong><\/td><td><strong>int<\/strong><\/td><td>The display width for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>height<\/strong><\/td><td><strong>int<\/strong><\/td><td>The display height for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>grademethod<\/strong><\/td><td><strong>int<\/strong><\/td><td>The grading method for the SCORM package (0: learning objects, 1: highest grade, 2: average * grade, 3: sum grade)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>maxgrade<\/strong><\/td><td><strong>int<\/strong><\/td><td>The maximum grade possible for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>maxattempt<\/strong><\/td><td><strong>int<\/strong><\/td><td>The maximum number of attempts allowed for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>whatgrade<\/strong><\/td><td><strong>int<\/strong><\/td><td>The grading strategy for multiple attempts (0: highest attempt, 1: average grade, 2: first * attempt)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>forcenewattempt<\/strong><\/td><td><strong>int<\/strong><\/td><td>Policy for forcing new attempts (0: no, 1: every new attempt is a new grade, 2: every new * attempt resets previous grades)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>lastattemptlock<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the SCORM package should be locked after the last attempt (0: no, 1: yes)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>autocommit<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the SCORM package grades should auto commit (0: no, 1: yes)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>masteryoverride<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the mastery grade overrides the max grade (0: no, 1: yes)<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-3\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseLearningObjectScromAdd200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-3\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-3\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>:\u00a0multipart\/form-data<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseLearningObjectList()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseLearningobjectList($courseid): \\LtiSaasApi\\Model\\CourseLearningobjectList200Response<\/code><\/pre>\n\n\n\n<p>Get learning objects for a course<\/p>\n\n\n\n<p>This endpoint retrieves a list of learning objects associated with a specific course identified by its * unique ID.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$courseid = 56; \/\/ int | The unique identifier of the course\n\ntry {\n    $result = $apiInstance-&gt;courseLearningobjectList($courseid);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseLearningobjectList: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>courseid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The unique identifier of the course<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseLearningobjectList200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseLearningObjectScormUpdate()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseLearningobjectScormUpdate($learningobjectid, $packagefile, $name, $popup, $width, $height, $grademethod, $maxgrade, $maxattempt, $whatgrade, $forcenewattempt, $lastattemptlock, $autocommit, $masteryoverride): \\LtiSaasApi\\Model\\CourseUpdate200Response<\/code><\/pre>\n\n\n\n<p>Update SCORM Learning Object<\/p>\n\n\n\n<p>This endpoint enables the updating of a SCORM learning object within a course. Required parameters include * the ID of the learning object, the .zip package file, name, popup mode, and other grading and display properties.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$learningobjectid = 56; \/\/ int | The ID of the learning object\n$packagefile = \"\/path\/to\/file.txt\"; \/\/ \\SplFileObject | The .zip file of the SCORM package\n$name = 'name_example'; \/\/ string | The name of the SCORM package\n$popup = 56; \/\/ int | Indicates if the SCORM package should open in a new window (1) or not (0)\n$width = 56; \/\/ int | The display width for the SCORM package\n$height = 56; \/\/ int | The display height for the SCORM package\n$grademethod = 56; \/\/ int | The grading method for the SCORM package (0: learning objects, 1: highest grade, 2: average      *                     grade, 3: sum grade)\n$maxgrade = 56; \/\/ int | The maximum grade possible for the SCORM package\n$maxattempt = 56; \/\/ int | The maximum number of attempts allowed for the SCORM package\n$whatgrade = 56; \/\/ int | The grading strategy for multiple attempts (0: highest attempt, 1: average grade, 2: first      *                     attempt)\n$forcenewattempt = 56; \/\/ int | Policy for forcing new attempts (0: no, 1: every new attempt is a new grade, 2: every new      *                     attempt resets previous grades)\n$lastattemptlock = 56; \/\/ int | Indicates if the SCORM package should be locked after the last attempt (0: no, 1: yes)\n$autocommit = 56; \/\/ int | Indicates if the SCORM package grades should auto commit (0: no, 1: yes)\n$masteryoverride = 56; \/\/ int | Indicates if the mastery grade overrides the max grade (0: no, 1: yes)\n\ntry {\n    $result = $apiInstance-&gt;courseLearningobjectScormUpdate($learningobjectid, $packagefile, $name, $popup, $width, $height, $grademethod, $maxgrade, $maxattempt, $whatgrade, $forcenewattempt, $lastattemptlock, $autocommit, $masteryoverride);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseLearningobjectScormUpdate: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-5\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>learningobjectid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The ID of the learning object<\/td><td><\/td><\/tr><tr><td><strong>packagefile<\/strong><\/td><td><strong>\\SplFileObject<\/strong>**\\SplFileObject**<\/td><td>The .zip file of the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>name<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name of the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>popup<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the SCORM package should open in a new window (1) or not (0)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>width<\/strong><\/td><td><strong>int<\/strong><\/td><td>The display width for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>height<\/strong><\/td><td><strong>int<\/strong><\/td><td>The display height for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>grademethod<\/strong><\/td><td><strong>int<\/strong><\/td><td>The grading method for the SCORM package (0: learning objects, 1: highest grade, 2: average * grade, 3: sum grade)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>maxgrade<\/strong><\/td><td><strong>int<\/strong><\/td><td>The maximum grade possible for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>maxattempt<\/strong><\/td><td><strong>int<\/strong><\/td><td>The maximum number of attempts allowed for the SCORM package<\/td><td>[optional]<\/td><\/tr><tr><td><strong>whatgrade<\/strong><\/td><td><strong>int<\/strong><\/td><td>The grading strategy for multiple attempts (0: highest attempt, 1: average grade, 2: first * attempt)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>forcenewattempt<\/strong><\/td><td><strong>int<\/strong><\/td><td>Policy for forcing new attempts (0: no, 1: every new attempt is a new grade, 2: every new * attempt resets previous grades)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>lastattemptlock<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the SCORM package should be locked after the last attempt (0: no, 1: yes)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>autocommit<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the SCORM package grades should auto commit (0: no, 1: yes)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>masteryoverride<\/strong><\/td><td><strong>int<\/strong><\/td><td>Indicates if the mastery grade overrides the max grade (0: no, 1: yes)<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-5\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseUpdate200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-5\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP request headers<\/h3>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-5\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>:\u00a0multipart\/form-data<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseList()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseList(): \\LtiSaasApi\\Model\\CourseList200Response<\/code><\/pre>\n\n\n\n<p>Retrieve all courses<\/p>\n\n\n\n<p>Fetches a list of courses along with associated LTI information.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n\ntry {\n    $result = $apiInstance-&gt;courseList();\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseList: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-6\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>This endpoint does not need any parameter.<\/p>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-6\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseList200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-6\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP request headers<\/h3>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-6\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseLtiRegistrationsByDay()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseLtiRegistrationsByDay($from, $till, $toolid): \\LtiSaasApi\\Model\\CourseLtiRegistrationsByDay200Response<\/code><\/pre>\n\n\n\n<p>Get LTI registrations by day<\/p>\n\n\n\n<p>This endpoint retrieves the Learning Tools Interoperability (LTI) registrations grouped by day. The results * provide insights into daily registration and can be used for analytical purposes.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$from = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The start date (format: DD-MM-YYYY)\n$till = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The end date (format: DD-MM-YYYY)\n$toolid = 56; \/\/ int | The identifier of the LTI tool (optional)\n\ntry {\n    $result = $apiInstance-&gt;courseLtiRegistrationsByDay($from, $till, $toolid);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseLtiRegistrationsByDay: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-7\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>from<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The start date (format: DD-MM-YYYY)<\/td><td><\/td><\/tr><tr><td><strong>till<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The end date (format: DD-MM-YYYY)<\/td><td><\/td><\/tr><tr><td><strong>toolid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The identifier of the LTI tool (optional)<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-7\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseLtiRegistrationsByDay200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-7\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p>token<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP request headers<\/h3>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-7\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">courseLtiRegistrationsSumByCourse()<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>courseLtiRegistrationsSumByCourse($from, $till, $courseid): \\LtiSaasApi\\Model\\CourseLtiRegistrationsSumByCourse200Response<\/code><\/pre>\n\n\n\n<p>Get total LTI registrations per course<\/p>\n\n\n\n<p>This endpoint retrieves the total number of Learning Tools Interoperability (LTI) registrations for each * course. The results can be used to gain insight into the overall registration activities of each course.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$from = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The start date (format: DD-MM-YYYY)\n$till = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The end date (format: DD-MM-YYYY)\n$courseid = 56; \/\/ int | The identifier of the course (optional)\n\ntry {\n    $result = $apiInstance-&gt;courseLtiRegistrationsSumByCourse($from, $till, $courseid);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseLtiRegistrationsSumByCourse: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-8\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>from<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The start date (format: DD-MM-YYYY)<\/td><td><\/td><\/tr><tr><td><strong>till<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The end date (format: DD-MM-YYYY)<\/td><td><\/td><\/tr><tr><td><strong>courseid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The identifier of the course (optional)<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-8\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseLtiRegistrationsSumByCourse200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-8\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-8\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseToolAdd()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseToolAdd($courseid, $ltiversion, $name, $publishmode, $learningobjectid, $maxenrolled, $roleinstructor, $rolelearner, $provisioningmodeinstructor, $provisioningmodelearner, $gradesync, $gradesynccompletion, $membersync, $membersyncmode, $enrolperiod, $enrolstartdate, $enrolenddate): \\LtiSaasApi\\Model\\CourseToolAdd200Response<\/code><\/pre>\n\n\n\n<p>Add new tool to a course<\/p>\n\n\n\n<p>This endpoint allows you to add a new tool to an existing course. You must provide the course ID and the * details of the tool to be added.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$courseid = 56; \/\/ int | The ID of the course\n$ltiversion = 'ltiversion_example'; \/\/ string | The version of LTI. Either LTI Advantage or Legacy LTI\n$name = 'name_example'; \/\/ string | The name\n$publishmode = 'publishmode_example'; \/\/ string | The mode of publishing (course or activity)\n$learningobjectid = 56; \/\/ int | The ID of the learning object. Only required if publishmode is set to activity\n$maxenrolled = 56; \/\/ int | The maximum enrollment. Defaults to unlimited (0).\n$roleinstructor = 56; \/\/ int | The role of the instructor. Defaults to 3\n$rolelearner = 56; \/\/ int | The role of the learner. Defaults to 5\n$provisioningmodeinstructor = 56; \/\/ int | The provisioning mode of the instructor. Defaults to 2\n$provisioningmodelearner = 56; \/\/ int | The provisioning mode of the learner. Defaults to 1\n$gradesync = 56; \/\/ int | Whether grade sync is enabled. Grade synchronization (1=Yes, 0=No)\n$gradesynccompletion = 56; \/\/ int | Require course or activity completion prior to grade synchronisation (1=Yes, 0=No)\n$membersync = 56; \/\/ int | Whether member sync is enabled. User synchronisation (1=Yes, 0=No)\n$membersyncmode = 56; \/\/ int | User synchronisation mode (1=Enrol new and unenrol missing users, 2=Enrol new users, 3=Unenrol missing users)\n$enrolperiod = 56; \/\/ int | The duration of the enrolment (in seconds)\n$enrolstartdate = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The enrolment start date (YYYY-MM-DDTHH:mm)\n$enrolenddate = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The enrolment end date (YYYY-MM-DDTHH:mm)\n\ntry {\n    $result = $apiInstance-&gt;courseToolAdd($courseid, $ltiversion, $name, $publishmode, $learningobjectid, $maxenrolled, $roleinstructor, $rolelearner, $provisioningmodeinstructor, $provisioningmodelearner, $gradesync, $gradesynccompletion, $membersync, $membersyncmode, $enrolperiod, $enrolstartdate, $enrolenddate);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseToolAdd: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-9\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>courseid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The ID of the course<\/td><td><\/td><\/tr><tr><td><strong>ltiversion<\/strong><\/td><td><strong>string<\/strong><\/td><td>The version of LTI. Either LTI Advantage or Legacy LTI<\/td><td><\/td><\/tr><tr><td><strong>name<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name<\/td><td><\/td><\/tr><tr><td><strong>publishmode<\/strong><\/td><td><strong>string<\/strong><\/td><td>The mode of publishing (course or activity)<\/td><td><\/td><\/tr><tr><td><strong>learningobjectid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The ID of the learning object. Only required if publishmode is set to activity<\/td><td>[optional]<\/td><\/tr><tr><td><strong>maxenrolled<\/strong><\/td><td><strong>int<\/strong><\/td><td>The maximum enrollment. Defaults to unlimited (0).<\/td><td>[optional]<\/td><\/tr><tr><td><strong>roleinstructor<\/strong><\/td><td><strong>int<\/strong><\/td><td>The role of the instructor. Defaults to 3<\/td><td>[optional]<\/td><\/tr><tr><td><strong>rolelearner<\/strong><\/td><td><strong>int<\/strong><\/td><td>The role of the learner. Defaults to 5<\/td><td>[optional]<\/td><\/tr><tr><td><strong>provisioningmodeinstructor<\/strong><\/td><td><strong>int<\/strong><\/td><td>The provisioning mode of the instructor. Defaults to 2<\/td><td>[optional]<\/td><\/tr><tr><td><strong>provisioningmodelearner<\/strong><\/td><td><strong>int<\/strong><\/td><td>The provisioning mode of the learner. Defaults to 1<\/td><td>[optional]<\/td><\/tr><tr><td><strong>gradesync<\/strong><\/td><td><strong>int<\/strong><\/td><td>Whether grade sync is enabled. Grade synchronization (1=Yes, 0=No)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>gradesynccompletion<\/strong><\/td><td><strong>int<\/strong><\/td><td>Require course or activity completion prior to grade synchronisation (1=Yes, 0=No)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>membersync<\/strong><\/td><td><strong>int<\/strong><\/td><td>Whether member sync is enabled. User synchronisation (1=Yes, 0=No)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>membersyncmode<\/strong><\/td><td><strong>int<\/strong><\/td><td>User synchronisation mode (1=Enrol new and unenrol missing users, 2=Enrol new users, 3=Unenrol missing users)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>enrolperiod<\/strong><\/td><td><strong>int<\/strong><\/td><td>The duration of the enrolment (in seconds)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>enrolstartdate<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The enrolment start date (YYYY-MM-DDTHH:mm)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>enrolenddate<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The enrolment end date (YYYY-MM-DDTHH:mm)<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-9\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseToolAdd200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-9\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-9\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseToolDelete()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseToolDelete($toolid): \\LtiSaasApi\\Model\\CourseUpdate200Response<\/code><\/pre>\n\n\n\n<p>Delete a specific course tool<\/p>\n\n\n\n<p>This endpoint deletes a specific tool in a course. Upon successful operation, the tool will be removed from * the course. If the tool is not found or cannot be deleted due to any reason, appropriate error responses will be * returned.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$toolid = 56; \/\/ int | The identifier of the lti tool\n\ntry {\n    $result = $apiInstance-&gt;courseToolDelete($toolid);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseToolDelete: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-10\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>toolid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The identifier of the lti tool<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-10\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseUpdate200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-10\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-10\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseToolList()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseToolList($courseid, $ltitype): \\LtiSaasApi\\Model\\CourseToolList200Response<\/code><\/pre>\n\n\n\n<p>List all LTI tools within a course<\/p>\n\n\n\n<p>This endpoint will list all the LTI tools associated within a course.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$courseid = 56; \/\/ int | The ID of the course\n$ltitype = 'ltitype_example'; \/\/ string | The version of LTI. Either LTI Advantage or Legacy LTI\n\ntry {\n    $result = $apiInstance-&gt;courseToolList($courseid, $ltitype);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseToolList: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-11\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>courseid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The ID of the course<\/td><td><\/td><\/tr><tr><td><strong>ltitype<\/strong><\/td><td><strong>string<\/strong><\/td><td>The version of LTI. Either LTI Advantage or Legacy LTI<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-11\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseToolList200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-11\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-11\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseToolUpdate()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseToolUpdate($toolid, $ltiversion, $name, $publishmode, $learningobjectid, $maxenrolled, $roleinstructor, $rolelearner, $provisioningmodeinstructor, $provisioningmodelearner, $gradesync, $gradesynccompletion, $membersync, $membersyncmode, $enrolperiod, $enrolstartdate, $enrolenddate): \\LtiSaasApi\\Model\\CourseToolAdd200Response<\/code><\/pre>\n\n\n\n<p>Update a specific course tool<\/p>\n\n\n\n<p>This endpoint updates a specific tool in a course. Detailed information about the tool such as tool&#8217;s * identifier, name, ltiversion, etc. need to be provided. Successful operation will update the tool&#8217;s details in the * course.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$toolid = 56; \/\/ int | The ID of the lti tool\n$ltiversion = 'ltiversion_example'; \/\/ string | The version of LTI\n$name = 'name_example'; \/\/ string | The name\n$publishmode = 'publishmode_example'; \/\/ string | The mode of publishing (course or activity)\n$learningobjectid = 56; \/\/ int | The ID of the learning object. Only required if publishmode is set to activity\n$maxenrolled = 56; \/\/ int | The maximum enrollment\n$roleinstructor = 56; \/\/ int | The role of the instructor\n$rolelearner = 56; \/\/ int | The role of the learner\n$provisioningmodeinstructor = 56; \/\/ int | The provisioning mode of the instructor\n$provisioningmodelearner = 56; \/\/ int | The provisioning mode of the learner\n$gradesync = 56; \/\/ int | Whether grade sync is enabled. Grade synchronization (1=Yes, 0=No)\n$gradesynccompletion = 56; \/\/ int | Require course or activity completion prior to grade synchronisation (1=Yes, 0=No)\n$membersync = 56; \/\/ int | Whether member sync is enabled. User synchronisation (1=Yes, 0=No)\n$membersyncmode = 56; \/\/ int | User synchronisation mode (1=Enrol new and unenrol missing users, 2=Enrol new users, 3=Unenrol missing users)\n$enrolperiod = 56; \/\/ int | The duration of the enrolment (in seconds)\n$enrolstartdate = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The enrolment start date (YYYY-MM-DDTHH:mm)\n$enrolenddate = new \\DateTime(\"2013-10-20T19:20:30+01:00\"); \/\/ \\DateTime | The enrolment end date (YYYY-MM-DDTHH:mm)\n\ntry {\n    $result = $apiInstance-&gt;courseToolUpdate($toolid, $ltiversion, $name, $publishmode, $learningobjectid, $maxenrolled, $roleinstructor, $rolelearner, $provisioningmodeinstructor, $provisioningmodelearner, $gradesync, $gradesynccompletion, $membersync, $membersyncmode, $enrolperiod, $enrolstartdate, $enrolenddate);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseToolUpdate: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-12\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>toolid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The ID of the lti tool<\/td><td><\/td><\/tr><tr><td><strong>ltiversion<\/strong><\/td><td><strong>string<\/strong><\/td><td>The version of LTI<\/td><td>[optional]<\/td><\/tr><tr><td><strong>name<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name<\/td><td>[optional]<\/td><\/tr><tr><td><strong>publishmode<\/strong><\/td><td><strong>string<\/strong><\/td><td>The mode of publishing (course or activity)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>learningobjectid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The ID of the learning object. Only required if publishmode is set to activity<\/td><td>[optional]<\/td><\/tr><tr><td><strong>maxenrolled<\/strong><\/td><td><strong>int<\/strong><\/td><td>The maximum enrollment<\/td><td>[optional]<\/td><\/tr><tr><td><strong>roleinstructor<\/strong><\/td><td><strong>int<\/strong><\/td><td>The role of the instructor<\/td><td>[optional]<\/td><\/tr><tr><td><strong>rolelearner<\/strong><\/td><td><strong>int<\/strong><\/td><td>The role of the learner<\/td><td>[optional]<\/td><\/tr><tr><td><strong>provisioningmodeinstructor<\/strong><\/td><td><strong>int<\/strong><\/td><td>The provisioning mode of the instructor<\/td><td>[optional]<\/td><\/tr><tr><td><strong>provisioningmodelearner<\/strong><\/td><td><strong>int<\/strong><\/td><td>The provisioning mode of the learner<\/td><td>[optional]<\/td><\/tr><tr><td><strong>gradesync<\/strong><\/td><td><strong>int<\/strong><\/td><td>Whether grade sync is enabled. Grade synchronization (1=Yes, 0=No)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>gradesynccompletion<\/strong><\/td><td><strong>int<\/strong><\/td><td>Require course or activity completion prior to grade synchronisation (1=Yes, 0=No)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>membersync<\/strong><\/td><td><strong>int<\/strong><\/td><td>Whether member sync is enabled. User synchronisation (1=Yes, 0=No)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>membersyncmode<\/strong><\/td><td><strong>int<\/strong><\/td><td>User synchronisation mode (1=Enrol new and unenrol missing users, 2=Enrol new users, 3=Unenrol missing users)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>enrolperiod<\/strong><\/td><td><strong>int<\/strong><\/td><td>The duration of the enrolment (in seconds)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>enrolstartdate<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The enrolment start date (YYYY-MM-DDTHH:mm)<\/td><td>[optional]<\/td><\/tr><tr><td><strong>enrolenddate<\/strong><\/td><td><strong>\\DateTime<\/strong><\/td><td>The enrolment end date (YYYY-MM-DDTHH:mm)<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-12\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseToolAdd200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-12\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-12\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">courseUpdate()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>courseUpdate($coursename, $courseid, $coursenameshort): \\LtiSaasApi\\Model\\CourseUpdate200Response<\/code><\/pre>\n\n\n\n<p>Update an existing course<\/p>\n\n\n\n<p>This endpoint allows you to update an existing course. The course id should be passed as a query * parameter.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$coursename = 'coursename_example'; \/\/ string | The name of the course to be created\n$courseid = 56; \/\/ int | The unique identifier of the course to be deleted\n$coursenameshort = 'coursenameshort_example'; \/\/ string | The name of the course to be created\n\ntry {\n    $result = $apiInstance-&gt;courseUpdate($coursename, $courseid, $coursenameshort);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;courseUpdate: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-13\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>coursename<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name of the course to be created<\/td><td><\/td><\/tr><tr><td><strong>courseid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The unique identifier of the course to be deleted<\/td><td><\/td><\/tr><tr><td><strong>coursenameshort<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name of the course to be created<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-13\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseUpdate200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-13\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-13\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">tokenAdd()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>tokenAdd($name): \\LtiSaasApi\\Model\\TokenAdd200Response<\/code><\/pre>\n\n\n\n<p>Add a new API token<\/p>\n\n\n\n<p>This endpoint creates a new API token. * It requires necessary name for creating a new API token. * Upon successful operation, a new API token will be added to the system and its details will be returned. * In case the API token cannot be created due to certain reasons, appropriate error responses will be returned.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$name = 'name_example'; \/\/ string | The name of the token for your own administration purposes\n\ntry {\n    $result = $apiInstance-&gt;tokenAdd($name);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;tokenAdd: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-14\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>name<\/strong><\/td><td><strong>string<\/strong><\/td><td>The name of the token for your own administration purposes<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-14\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\TokenAdd200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-14\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-14\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">tokenDelete()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>tokenDelete($token): \\LtiSaasApi\\Model\\CourseUpdate200Response<\/code><\/pre>\n\n\n\n<p>Delete an API token<\/p>\n\n\n\n<p>This endpoint deletes an API token based on a given token ID. * It requires the token of the API to perform this operation. * Upon successful deletion, the API token will be removed from the system. * In case the token ID is not found or cannot be deleted due to certain reasons, * appropriate error responses will be returned.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$token = 'token_example'; \/\/ string | The tokenkey you want to delete\n\ntry {\n    $result = $apiInstance-&gt;tokenDelete($token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;tokenDelete: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-15\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>token<\/strong><\/td><td><strong>string<\/strong><\/td><td>The tokenkey you want to delete<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-15\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseUpdate200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-15\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-15\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">tokenList()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>tokenList(): \\LtiSaasApi\\Model\\TokenList200Response<\/code><\/pre>\n\n\n\n<p>Get list of API tokens<\/p>\n\n\n\n<p>This endpoint retrieves a list of all API tokens. The result is a list of API tokens with their respective * information, such as token, endpoint, name, etc. This can be used for managing or auditing the use of API tokens in the * system.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n\ntry {\n    $result = $apiInstance-&gt;tokenList();\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;tokenList: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-16\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>This endpoint does not need any parameter.<\/p>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-16\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\TokenList200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-16\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-16\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">userDelete()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>userDelete($id): \\LtiSaasApi\\Model\\CourseUpdate200Response<\/code><\/pre>\n\n\n\n<p>Delete a user by ID<\/p>\n\n\n\n<p>This endpoint deletes a user based on a given ID. * Upon successful deletion, the user will be removed from the system. * In case the user ID is not found or cannot be deleted due to certain reasons, appropriate error responses will be * returned.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = 56; \/\/ int | The identifier of the user\n\ntry {\n    $result = $apiInstance-&gt;userDelete($id);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;userDelete: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-17\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>id<\/strong><\/td><td><strong>int<\/strong><\/td><td>The identifier of the user<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-17\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseUpdate200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-17\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-17\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">userDeleteBulk()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>userDeleteBulk($ids): \\LtiSaasApi\\Model\\CourseUpdate200Response<\/code><\/pre>\n\n\n\n<p>Delete multiple users by IDs<\/p>\n\n\n\n<p>This endpoint deletes multiple users based on given IDs. Upon successful deletion, the users will be * removed from the system. In case any of the user IDs are not found or cannot be deleted due to certain reasons, an * appropriate error response will be returned.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ids = array(56); \/\/ int&#91;] | Comma-separated list of identifiers of the users to delete\n\ntry {\n    $result = $apiInstance-&gt;userDeleteBulk($ids);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;userDeleteBulk: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-18\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>ids<\/strong><\/td><td><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Model\/int.md\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>int[]<\/strong><\/a><\/td><td>Comma-separated list of identifiers of the users to delete<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-18\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\CourseUpdate200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-18\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-18\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">userList()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>userList($toolid): \\LtiSaasApi\\Model\\UserList200Response<\/code><\/pre>\n\n\n\n<p>Get list of users in a tool<\/p>\n\n\n\n<p>This endpoint retrieves a list of users that are registered in a specific tool. The result is a list of * users with their respective information, which can be used for further operations or analysis.<\/p>\n\n\n\n<p>Example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&lt;?php<\/strong>\nrequire_once(__DIR__ . '\/vendor\/autoload.php');\n\n\n\/\/ Configure API key authorization: token\n$config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKey('Access-Token', 'YOUR_API_KEY');\n\/\/ Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n\/\/ $config = LtiSaasApi\\Configuration::getDefaultConfiguration()-&gt;setApiKeyPrefix('Access-Token', 'Bearer');\n\n\n$apiInstance = new LtiSaasApi\\Api\\DefaultApi(\n    \/\/ If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    \/\/ This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$toolid = 56; \/\/ int | The identifier of the tool (optional)\n\ntry {\n    $result = $apiInstance-&gt;userList($toolid);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-&gt;userList: ', $e-&gt;getMessage(), PHP_EOL;\n}<\/code><\/pre>\n\n\n\n<p>Parameters<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#parameters-19\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><strong>toolid<\/strong><\/td><td><strong>int<\/strong><\/td><td>The identifier of the tool (optional)<\/td><td>[optional]<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Return type<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#return-type-19\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p><strong>\\LtiSaasApi\\Model\\UserList200Response<\/strong><\/p>\n\n\n\n<p>Authorization<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#authorization-19\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<p>token<\/p>\n\n\n\n<p>HTTP request headers<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/jeontwikkeling-nl\/ltisaas_client_api_php\/blob\/main\/docs\/Api\/DefaultApi.md#http-request-headers-19\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Content-Type<\/strong>: Not defined<\/li>\n\n\n\n<li><strong>Accept<\/strong>:\u00a0application\/json<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A comprehensive description of all end points. Method HTTP request Description courseAdd() GET&nbsp;\/course\/add Create a new course courseDelete() GET&nbsp;\/course\/delete Delete an existing course by its ID courseLearningObjectDelete() GET&nbsp;\/course\/learningobject\/delete Delete a specific learning object courseLearningObjectScormAdd() POST&nbsp;\/course\/learningobject\/scrom\/add Add an SCORM package to a course courseLearningObjectList() GET&nbsp;\/course\/learningobject\/list Get learning objects for a course&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[155],"ht-kb-tag":[67,153,156],"class_list":["post-485","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-linqur-api","ht_kb_tag-api","ht_kb_tag-documentation","ht_kb_tag-endpoint"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>API endpoint documentation | Linqur knowledge base<\/title>\n<meta name=\"description\" content=\"A comprehensive description of all end points.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API endpoint documentation | Linqur knowledge base\" \/>\n<meta property=\"og:description\" content=\"A comprehensive description of all end points.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/\" \/>\n<meta property=\"og:site_name\" content=\"Linqur knowledge base\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-11T11:24:11+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/\",\"url\":\"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/\",\"name\":\"API endpoint documentation | Linqur knowledge base\",\"isPartOf\":{\"@id\":\"https:\/\/linqur.com\/docs\/en\/#website\"},\"datePublished\":\"2024-12-11T11:24:09+00:00\",\"dateModified\":\"2024-12-11T11:24:11+00:00\",\"description\":\"A comprehensive description of all end points.\",\"breadcrumb\":{\"@id\":\"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/linqur.com\/docs\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API endpoint documentation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linqur.com\/docs\/en\/#website\",\"url\":\"https:\/\/linqur.com\/docs\/en\/\",\"name\":\"Linqur documentation and help articles\",\"description\":\"How-to articles and more\",\"publisher\":{\"@id\":\"https:\/\/linqur.com\/docs\/en\/#organization\"},\"alternateName\":\"Linqur docs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linqur.com\/docs\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/linqur.com\/docs\/en\/#organization\",\"name\":\"Linqur LTI Solutions\",\"alternateName\":\"Linqur\",\"url\":\"https:\/\/linqur.com\/docs\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/linqur.com\/docs\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/linqur.com\/docs\/wp-content\/uploads\/2024\/12\/Group-442@2x.png\",\"contentUrl\":\"https:\/\/linqur.com\/docs\/wp-content\/uploads\/2024\/12\/Group-442@2x.png\",\"width\":600,\"height\":600,\"caption\":\"Linqur LTI Solutions\"},\"image\":{\"@id\":\"https:\/\/linqur.com\/docs\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/linqur-lti-solutions\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API endpoint documentation | Linqur knowledge base","description":"A comprehensive description of all end points.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/","og_locale":"en_US","og_type":"article","og_title":"API endpoint documentation | Linqur knowledge base","og_description":"A comprehensive description of all end points.","og_url":"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/","og_site_name":"Linqur knowledge base","article_modified_time":"2024-12-11T11:24:11+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/","url":"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/","name":"API endpoint documentation | Linqur knowledge base","isPartOf":{"@id":"https:\/\/linqur.com\/docs\/en\/#website"},"datePublished":"2024-12-11T11:24:09+00:00","dateModified":"2024-12-11T11:24:11+00:00","description":"A comprehensive description of all end points.","breadcrumb":{"@id":"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/linqur.com\/docs\/en\/article\/api-endpoint-documentation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linqur.com\/docs\/en\/"},{"@type":"ListItem","position":2,"name":"API endpoint documentation"}]},{"@type":"WebSite","@id":"https:\/\/linqur.com\/docs\/en\/#website","url":"https:\/\/linqur.com\/docs\/en\/","name":"Linqur documentation and help articles","description":"How-to articles and more","publisher":{"@id":"https:\/\/linqur.com\/docs\/en\/#organization"},"alternateName":"Linqur docs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linqur.com\/docs\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linqur.com\/docs\/en\/#organization","name":"Linqur LTI Solutions","alternateName":"Linqur","url":"https:\/\/linqur.com\/docs\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linqur.com\/docs\/en\/#\/schema\/logo\/image\/","url":"https:\/\/linqur.com\/docs\/wp-content\/uploads\/2024\/12\/Group-442@2x.png","contentUrl":"https:\/\/linqur.com\/docs\/wp-content\/uploads\/2024\/12\/Group-442@2x.png","width":600,"height":600,"caption":"Linqur LTI Solutions"},"image":{"@id":"https:\/\/linqur.com\/docs\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/linqur-lti-solutions\/"]}]}},"_links":{"self":[{"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/ht-kb\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/comments?post=485"}],"version-history":[{"count":2,"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/ht-kb\/485\/revisions"}],"predecessor-version":[{"id":487,"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/ht-kb\/485\/revisions\/487"}],"wp:attachment":[{"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/media?parent=485"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/ht-kb-category?post=485"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/linqur.com\/docs\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}