We're trying to import class content from our LaunchPad to Desire2Learn in a particular module. Here is what we think needs to happen:
- Create a link.
POST to /d2l/api/le/1.3/lti/link/6720 with 6720 being the org ID, which returns the link ID.
This is successful.
- Create a quick link.
POST to /d2l/api/le/1.3/lti/quicklink/6720/228 with 228 being the link ID from above.
This is successful.
- Create a link topic.
POST to /d2l/api/le/1.3/6720/content/modules/638/structure/ with 638 being the parent module ID obtained from LTI parameter custom_links_import_service_url, query string parameter parentNode, and using the PublicUrl in the response from the quick link call.
This results in a 404, which per the documentation, suggests a OU or parent module ID issue.
I appreciate any help with this. I can't find any good developer how-to guides in the documentation, just the API reference.
I have tried other advise here in stackoverlow and they have not helped, for example: desire2learn api adding content 404 Posting Content to Desire2Learn 404 Error when trying to post a file topic