{"action":"created","issue":{"url":"https://api.github.com/repos/andyfmiller/LtiLibrary.Owin/issues/7","repository_url":"https://api.github.com/repos/andyfmiller/LtiLibrary.Owin","labels_url":"https://api.github.com/repos/andyfmiller/LtiLibrary.Owin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/andyfmiller/LtiLibrary.Owin/issues/7/comments","events_url":"https://api.github.com/repos/andyfmiller/LtiLibrary.Owin/issues/7/events","html_url":"https://github.com/andyfmiller/LtiLibrary.Owin/issues/7","id":164644451,"number":7,"title":"Andy hello","user":{"login":"cplusplus714","id":16753555,"avatar_url":"https://avatars.githubusercontent.com/u/16753555?v=3","gravatar_id":"","url":"https://api.github.com/users/cplusplus714","html_url":"https://github.com/cplusplus714","followers_url":"https://api.github.com/users/cplusplus714/followers","following_url":"https://api.github.com/users/cplusplus714/following{/other_user}","gists_url":"https://api.github.com/users/cplusplus714/gists{/gist_id}","starred_url":"https://api.github.com/users/cplusplus714/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cplusplus714/subscriptions","organizations_url":"https://api.github.com/users/cplusplus714/orgs","repos_url":"https://api.github.com/users/cplusplus714/repos","events_url":"https://api.github.com/users/cplusplus714/events{/privacy}","received_events_url":"https://api.github.com/users/cplusplus714/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-09T02:06:46Z","updated_at":"2016-07-10T16:12:08Z","closed_at":null,"body":"I have a question/issue about posting grades for all students, I tried to reach out on your blog and Moodle forum. \r\n\r\nHelp is needed. \r\n\r\nI am trying to use LtiLibrary and post grades to all students under LTI item in the gradebook in Moodle.\r\n\r\n\r\nFor now, I can post only grade for a student that click on the LTI like so,\r\n\r\nvar result=LtiLibrary.Core.Outcomes.v1.OutcomesClient.PostScore(Request.Form[\"lis_outcome_service_url\"].ToString(), Request.Form[\"oauth_consumer_key\"].ToString(), \r\nConfigurationManager.AppSettings[\"SharedSecret\"].ToString(), Request.Form[\"lis_result_sourcedid\"].ToString(), 0.40);\r\n\r\n\r\nThe question is how can I post grade for a student with id 22 (for example), my id is 35 and I am trying to replace it, like so...but it does not allow me to post grade . Any ideas?\r\n\r\n\r\nvar result=LtiLibrary.Core.Outcomes.v1.OutcomesClient.PostScore(Request.Form[\"lis_outcome_service_url\"].ToString(), Request.Form[\"oauth_consumer_key\"].ToString(), \r\nConfigurationManager.AppSettings[\"SharedSecret\"].ToString(), Request.Form[\"lis_result_sourcedid\"].ToString().Replace(\"\\\"userid\\\":\\\"35\\\"\", \"\\\"userid\\\":\\\"22\\\"\"), 0.40);"},"comment":{"url":"https://api.github.com/repos/andyfmiller/LtiLibrary.Owin/issues/comments/231596829","html_url":"https://github.com/andyfmiller/LtiLibrary.Owin/issues/7#issuecomment-231596829","issue_url":"https://api.github.com/repos/andyfmiller/LtiLibrary.Owin/issues/7","id":231596829,"user":{"login":"andyfmiller","id":2666882,"avatar_url":"https://avatars.githubusercontent.com/u/2666882?v=3","gravatar_id":"","url":"https://api.github.com/users/andyfmiller","html_url":"https://github.com/andyfmiller","followers_url":"https://api.github.com/users/andyfmiller/followers","following_url":"https://api.github.com/users/andyfmiller/following{/other_user}","gists_url":"https://api.github.com/users/andyfmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/andyfmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyfmiller/subscriptions","organizations_url":"https://api.github.com/users/andyfmiller/orgs","repos_url":"https://api.github.com/users/andyfmiller/repos","events_url":"https://api.github.com/users/andyfmiller/events{/privacy}","received_events_url":"https://api.github.com/users/andyfmiller/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T16:12:08Z","updated_at":"2016-07-10T16:12:08Z","body":"If the Tool Consumer includes an error message in its response, it will be in the BasicResult that is returned by PostScore (see BasicResult.Message)."}}
{"actor":{"display_login":"andyfmiller"}}