def METHOD_NAME(request_body, speedgrader_url, submitted_at):
    request_body["resultRecord"].setdefault("result", {})["resultData"] = {
        "ltiLaunchUrl": speedgrader_url
    }
    request_body["submissionDetails"] = {"submittedAt": submitted_at}
    return request_body