Do everyone has same toolId for internal tools like (assignment, quiz, topic etc).

Abhishek.s.5601
Abhishek.s.5601 Posts: 4 🔍
edited January 8 in Development

I was using the grades API to pull grades :-
in the response of that API we got a nested object in grades object

"AssociatedTool": {"ToolId": 3000,"ToolItemId": ###}

Just curious to know , lets assume if this ToolId is for discussion topic tool. Will it be same for everyone, those are using D2l.
Or if this can be the case that for some other account or Institution, this 3000 tool id refer to some diffrent tool ( may be quiz or assignment etc)

Answers

  • Hi @Abhishek.s.5601,

    Thank you for your inquiry. While ToolId=3000 is generally associated with Discussions, I am unable to confirm if this applies universally across all organizations. I recommend using this API endpoint to verify the specific tool name for your Organization.

    GET /d2l/api/lp/1.49/tools/org/

    The response will look like this-

    I hope this helps.