I have no clue how to upload a csv file of 1000 rows as canvas student users into the system. any help would be appreciated.
--
---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
course_id | user_id | role | section_id | status |
COURSE_SIS_ID | USER_SIS_ID | student | deleted | |
COURSE_SIS_ID | USER_SIS_ID | student | deleted | |
COURSE_SIS_ID | USER_SIS_ID | student | deleted | |
COURSE_SIS_ID | USER_SIS_ID | student | deleted |
$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "https://[your canvas url]/api/v1/accounts/[master account id]/sis_imports.json?import_type=instructure_csv&extension=csv");curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);curl_setopt($ch, CURLOPT_HTTPHEADER, array("Authorization: Bearer ".[file location]));curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, CURLOPT_POSTFIELDS, array('attachment'=>'@'.[file location]));$data = curl_exec($ch);curl_close($ch);