{"action":"created","issue":{"url":"https://api.github.com/repos/twilio/twilio-csharp/issues/372","repository_url":"https://api.github.com/repos/twilio/twilio-csharp","labels_url":"https://api.github.com/repos/twilio/twilio-csharp/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-csharp/issues/372/comments","events_url":"https://api.github.com/repos/twilio/twilio-csharp/issues/372/events","html_url":"https://github.com/twilio/twilio-csharp/issues/372","id":236136113,"number":372,"title":"Alpha: UsageRecordResource.Read with start and end parameters set fails","user":{"login":"jonastelzio","id":11507553,"avatar_url":"https://avatars1.githubusercontent.com/u/11507553?v=3","gravatar_id":"","url":"https://api.github.com/users/jonastelzio","html_url":"https://github.com/jonastelzio","followers_url":"https://api.github.com/users/jonastelzio/followers","following_url":"https://api.github.com/users/jonastelzio/following{/other_user}","gists_url":"https://api.github.com/users/jonastelzio/gists{/gist_id}","starred_url":"https://api.github.com/users/jonastelzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonastelzio/subscriptions","organizations_url":"https://api.github.com/users/jonastelzio/orgs","repos_url":"https://api.github.com/users/jonastelzio/repos","events_url":"https://api.github.com/users/jonastelzio/events{/privacy}","received_events_url":"https://api.github.com/users/jonastelzio/received_events","type":"User","site_admin":false},"labels":[{"id":407033288,"url":"https://api.github.com/repos/twilio/twilio-csharp/labels/yoyodyne","name":"yoyodyne","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-15T09:51:53Z","updated_at":"2017-07-01T00:44:30Z","closed_at":"2017-07-01T00:44:30Z","body":"**Version: 5.5.1-alpha1** \r\n**API Subdomain (api/taskrouter/ip_messaging): wireless**\r\n\r\n### Code Snippet\r\n```c#\r\nTwilioClient.Init(\".....\", \".....\");\r\nvar from = DateTime.UtcNow.AddDays(-3);\r\nvar to = from.AddMonths(1);\r\nvar usage = UsageRecordResource.Read(\"<redacted>\", start: from, end: to);\r\n```\r\n\r\n### Exception / Log\r\n```\r\nInvalid Start: 2017-06-12T09:48:02. Start must be a valid ISO8601 formatteddatetime string: yyyy-MM-dd'T'HH:mm:ss'Z'\r\n```\r\n\r\n### Steps to Reproduce\r\n1. Use Alpha Version\r\n2. Initialize a Twilio Client\r\n3. Attempt to read a UsageRecordResource with start and end parameters defined\r\n\r\nThis is probably just an invalid date.ToString(....) format string. I think using .ToString(\"o\") will do the trick."},"comment":{"url":"https://api.github.com/repos/twilio/twilio-csharp/issues/comments/312399990","html_url":"https://github.com/twilio/twilio-csharp/issues/372#issuecomment-312399990","issue_url":"https://api.github.com/repos/twilio/twilio-csharp/issues/372","id":312399990,"user":{"login":"efossier","id":6273743,"avatar_url":"https://avatars0.githubusercontent.com/u/6273743?v=3","gravatar_id":"","url":"https://api.github.com/users/efossier","html_url":"https://github.com/efossier","followers_url":"https://api.github.com/users/efossier/followers","following_url":"https://api.github.com/users/efossier/following{/other_user}","gists_url":"https://api.github.com/users/efossier/gists{/gist_id}","starred_url":"https://api.github.com/users/efossier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efossier/subscriptions","organizations_url":"https://api.github.com/users/efossier/orgs","repos_url":"https://api.github.com/users/efossier/repos","events_url":"https://api.github.com/users/efossier/events{/privacy}","received_events_url":"https://api.github.com/users/efossier/received_events","type":"User","site_admin":false},"created_at":"2017-07-01T00:44:30Z","updated_at":"2017-07-01T00:44:30Z","body":"@jonastelzio This should be fixed in `5.5.2` and `5.5.3-alpha1`"}}
{"actor":{"display_login":"efossier"}}