Assignments and grades services extension with LTI 1.3

Josh.M.658
Josh.M.658 Posts: 3 🔍
edited September 30 in Higher Ed / Postsecondary
Is there a way to get startDateTime and endDateTime when querying for a line item? We must be consistent with the dates between our tool and the platform hosting our deep link.

During our query to the line item endpoint, we can get the line item but it is limited to ID, scoreMaximum, label, resourceId, and resourceLinkId. This limits our ability to communicate between our tool and the platform effectively. If a user updates the resource on their LMS to a due date later than what we have in our tool, if someone were to try to access the resource within our tool (outside of a launch) we would not know that the due date is meant to be later.

We can add custom parameters for the launch, but this only solves the issue for launches into our tool and does not solve the problem if a user is accessing using our platform.
Tagged:

Answers

  • Chris.S.534
    Chris.S.534 Posts: 361
    edited October 2

    Hi Josh.M,

    I'm not a developer but have found LineItem Service information and examples provided in the following https://community.d2l.com/brightspace/kb/articles/23752-assignments-and-grades-services-extension-with-lti-1-3#lineitem-service . This resource indicates startDateTime and endDateTime should be available from the endpoints described. Sounds like your only seeing a subset of what's listed?

    The linked resource above implies we support this functionality and the parameters should be available via the listed service endpoints as per the specification at https://www.imsglobal.org/spec/lti-ags/v2p0/#example-line-item-requests

    I'll check with our dev team for clarification.

    Hope that helps!

  • Josh.M.658
    Josh.M.658 Posts: 3 🔍

    Thanks Chris.S!

    That would be a big help if you could ask the dev team for clarification, I appreciate your help here.

    Yes, we are only getting a subset listed within that article. During my googling, it seems that Brightspace says their "gradebook does not have the concept of dates which is why they are ignored and also optional in the AGS spec.". However, there are dates when it comes to a resource item that the line item is associated with. We would like to be able to query and update these dates.

    As you pointed out in that article, there seems to be a consensus that those dates can exist when querying for a line item. On top of this, we are able to get the dates when adding custom parameters to our deep links. We would like to simplify this process and allow better communication between the resource / line items we create with deep links and the assignments within our system.

    Thanks again!

  • Chris.S.534
    Chris.S.534 Posts: 361

    Hi Josh.M,

    Feedback from the team for you is that we do not support the visibility dates since there is a mismatch with our system. One link placed multiple times can have different dates. As a result we default to the following reference in the spec: If the platform does not support that functionality, it should omit this parameter. startDateTime and endDateTime are not provided when querying for a line item

    Hope that helps!