{"action":"created","issue":{"url":"https://api.github.com/repos/Q42/Q42.HueApi/issues/83","repository_url":"https://api.github.com/repos/Q42/Q42.HueApi","labels_url":"https://api.github.com/repos/Q42/Q42.HueApi/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/Q42/Q42.HueApi/issues/83/comments","events_url":"https://api.github.com/repos/Q42/Q42.HueApi/issues/83/events","html_url":"https://github.com/Q42/Q42.HueApi/issues/83","id":187336738,"number":83,"title":"UpdateScheduleAsync(Schedule S) not working","user":{"login":"niels9001","id":9866362,"avatar_url":"https://avatars.githubusercontent.com/u/9866362?v=3","gravatar_id":"","url":"https://api.github.com/users/niels9001","html_url":"https://github.com/niels9001","followers_url":"https://api.github.com/users/niels9001/followers","following_url":"https://api.github.com/users/niels9001/following{/other_user}","gists_url":"https://api.github.com/users/niels9001/gists{/gist_id}","starred_url":"https://api.github.com/users/niels9001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niels9001/subscriptions","organizations_url":"https://api.github.com/users/niels9001/orgs","repos_url":"https://api.github.com/users/niels9001/repos","events_url":"https://api.github.com/users/niels9001/events{/privacy}","received_events_url":"https://api.github.com/users/niels9001/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-04T13:44:25Z","updated_at":"2016-11-20T15:15:38Z","closed_at":"2016-11-20T15:15:38Z","body":"UpdateScheduleAsync(Schedule S) also wants to update the 'Id' and 'Created' parameters.\r\n\r\nRaw JSON:\r\n`{  \r\n   \"Id\":\"1\",\r\n   \"name\":\"sdfsdf\",\r\n   \"description\":\"Floor aan\",\r\n   \"command\":{  \r\n      \"address\":\"/api/ID/lights/1/state\",\r\n      \"method\":\"PUT\",\r\n      \"body\":{  \r\n         \"bri\":255,\r\n         \"on\":true,\r\n         \"transitiontime\":0\r\n      }\r\n   },\r\n   \"localtime\":\"W20/T10:45:00\",\r\n   \"created\":\"2016-11-04T09:45:50\",\r\n   \"status\":\"disabled\"\r\n}`\r\n\r\nResults in:\r\n`[\r\n\t{\r\n\t\t\"error\": {\r\n\t\t\t\"type\": 6,\r\n\t\t\t\"address\": \"/schedules/1/Id\",\r\n\t\t\t\"description\": \"parameter, Id, not available\"\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\t\"error\": {\r\n\t\t\t\"type\": 6,\r\n\t\t\t\"address\": \"/schedules/1/created\",\r\n\t\t\t\"description\": \"parameter, created, not available\"\r\n\t\t}\r\n\t}\r\n]`\r\n\r\n\r\nLeaving out Id and created solves the issue!"},"comment":{"url":"https://api.github.com/repos/Q42/Q42.HueApi/issues/comments/261783980","html_url":"https://github.com/Q42/Q42.HueApi/issues/83#issuecomment-261783980","issue_url":"https://api.github.com/repos/Q42/Q42.HueApi/issues/83","id":261783980,"user":{"login":"niels9001","id":9866362,"avatar_url":"https://avatars.githubusercontent.com/u/9866362?v=3","gravatar_id":"","url":"https://api.github.com/users/niels9001","html_url":"https://github.com/niels9001","followers_url":"https://api.github.com/users/niels9001/followers","following_url":"https://api.github.com/users/niels9001/following{/other_user}","gists_url":"https://api.github.com/users/niels9001/gists{/gist_id}","starred_url":"https://api.github.com/users/niels9001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niels9001/subscriptions","organizations_url":"https://api.github.com/users/niels9001/orgs","repos_url":"https://api.github.com/users/niels9001/repos","events_url":"https://api.github.com/users/niels9001/events{/privacy}","received_events_url":"https://api.github.com/users/niels9001/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T15:15:38Z","updated_at":"2016-11-20T15:15:38Z","body":"Last update solved this! Thanks!"}}
{"actor":{"display_login":"niels9001"}}