where can i find the valid values for the account_id field in canvas? how can I view or list all the subaccount/account id's in the system
where can i find the valid values for the account_id field in canvas? how can I view or list all the subaccount/account id's in the system
As an admin, Settings - Reports, then either both Provisioning and SIS Export will let you generate a report for accounts.
The first will have the Canvas ids and sis ids for each account, the latter will only have account sis ids.
Hi Peter,
Thanks, that was useful.
However, the account_id for my subaccount was empty, that's why my sis upload to courses.csv defaults
to the root. How can I update the value of the account_id? I know this question is mundane for you,
but appreciate your time. Thanks!
Hi Don,
Just to make I've understood, you are trying to use the API to post a courses.csv file to the SIS import endpoint:
/api/v1/accounts/:account_id/sis_imports
but cannot find the account_id.
Is that correct?
Peter
Hi Peter,
I did not use the API/program. I just used the admin-reports-provisioning route from the UI.
I was able to list the account_ids but unfortunately, the account_id for the
sandbox_subaccount that i created was empty.
Is there a UI page that can display/edit the values for the account_id, so that I can
assign a tag to it such that when I upload courses.csv, I can designate thr records to be under my subaccount.
I am just new to my workplace and I have noticed that the rest have values in them and I don't know how they
were populated.
You can see below that my account_id for account name TS EdTech Sandbox is null. How do I populate this field?
Thanks!!!!
Ah, I see now. Canvas often uses different terminology/names for the same thing. I was a bit confused because in the API account_id means what in the provisioning report is canvas_account_id and what the API would call sis_account_id is account_id in the report and in courses.csv.
So, the issue is how do you set a SIS ID for your sub-account.
If the sub-account had been created via a SIS upload (accounts.csv) then the (sis) account_id is in that file. If the sub-account is created via the GUI, then there is nowhere to input a SIS ID, so it does not have one.
I think the only way to add a sis id to a GUI created sub-account is via the API Accounts - Canvas LMS REST API Documentation
As an admin, Settings - Reports, then either both Provisioning and SIS Export will let you generate a report for accounts.
The first will have the Canvas ids and sis ids for each account, the latter will only have account sis ids.