user5972334
user5972334

Reputation:

How to return grades and custom values from LTI (learning tools interoperability) Tool Provider to Moodle

I am developing Tool Provider (TP) of Learning Tools Interoperability (LTI) version 1.1.1 using PHP.

I want to pass grades and custom values from TP back to Moodle LMS (ie. the Tool Consumer).

Knowing that lis_result_sourcedid and lis_outcome_service_url should be used, but I don't know how to make use of these parameters in the TP programs.

Upvotes: 1

Views: 1956

Answers (1)

bertslike
bertslike

Reputation: 101

You need make a POST request from the TP to the TC using the lis_outcome_service_url as destination URI. The format of the body needs to conform the one defined in the LTI 1.1 standard (see here) which, among others, uses the lis_result_sourcedid parameter as a way to identify the item you are grading in the TC gradebook.

Upvotes: 2

Related Questions