Buzz API

Aligning objectives to questions via API

Follow
Answered
Bob Braund

Hello,

I am trying to figure out aligning objective data to already created questions via the API. In my tests, if I try to align to a question via the questionid it is blowing the entire question out and only leaving a blank MC question shell with the objectives aligned. I am trying:

 

<question entityid="XXXXXXX" questionid="XXXXXXX" >

<learningobjectives>

<objective id="(GUID1)" />

<objective id="(GUID2)" />

</learnignobjectives>

</question>

 

I have not had an issue aligning objectives to assessments, custom activities, assetlinks, or folders with putitems calls in this fashion, but I cannot seem to get it to work for questions. Can anyone guide be as to why this is affecting all the other question data that I am not explicitly altering in the putquestions call?

 

Thank you.

 

Comments (1)

Sort by
Brian Williams
  • Agilix team member

Hello Bob!

You may need to include the current question data along with your new data when updating the question through the API for it to preserve the question data that is not desired to be changed. 

0 Comment actions Permalink
Please sign in to leave a comment.