{"action":"created","issue":{"url":"https://api.github.com/repos/infusionsoft/infusionsoft-php/issues/26","labels_url":"https://api.github.com/repos/infusionsoft/infusionsoft-php/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/infusionsoft/infusionsoft-php/issues/26/comments","events_url":"https://api.github.com/repos/infusionsoft/infusionsoft-php/issues/26/events","html_url":"https://github.com/infusionsoft/infusionsoft-php/issues/26","id":72442655,"number":26,"title":"Some services work, some don't","user":{"login":"upwebdesign","id":1845130,"avatar_url":"https://avatars.githubusercontent.com/u/1845130?v=3","gravatar_id":"","url":"https://api.github.com/users/upwebdesign","html_url":"https://github.com/upwebdesign","followers_url":"https://api.github.com/users/upwebdesign/followers","following_url":"https://api.github.com/users/upwebdesign/following{/other_user}","gists_url":"https://api.github.com/users/upwebdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/upwebdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upwebdesign/subscriptions","organizations_url":"https://api.github.com/users/upwebdesign/orgs","repos_url":"https://api.github.com/users/upwebdesign/repos","events_url":"https://api.github.com/users/upwebdesign/events{/privacy}","received_events_url":"https://api.github.com/users/upwebdesign/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-01T14:24:31Z","updated_at":"2015-05-14T19:07:43Z","closed_at":"2015-05-14T18:47:19Z","body":"I am hoping I can get some answers/suggestions with this issue I am having with the API. For example, I am able to \"load\" a contact and get contact fields, no problem. I can \"search\" saved searches from the API, awesome. BUT, when I try to use the \"AffiliateService\" OR \"AffiliateProgramService \"methods, an exception is thrown.\r\n\r\nSample call: \r\n`$infusionsoft->affiliates()->affPayouts(xxxxx, Carbon::now()->subMonth(), Carbon::now());`\r\n\r\nResults in:\r\n\r\n> HttpException in InfusionsoftSerializer.php line 34:\r\n\r\n> exception 'fXmlRpc\\Exception\\ResponseException' with message 'No such handler: AffiliateService.affPayouts'\r\n\r\nThis is the case for ALL AffiliateService methods. There must be something I am not quite understanding, or is the API incomplete? We are supposed to pass dateTime objects into the methods, correct?\r\n\r\nIt seams as though the handler is named incorrectly...\r\n\r\nThanks for any guidance!"},"comment":{"url":"https://api.github.com/repos/infusionsoft/infusionsoft-php/issues/comments/102139912","html_url":"https://github.com/infusionsoft/infusionsoft-php/issues/26#issuecomment-102139912","issue_url":"https://api.github.com/repos/infusionsoft/infusionsoft-php/issues/26","id":102139912,"user":{"login":"upwebdesign","id":1845130,"avatar_url":"https://avatars.githubusercontent.com/u/1845130?v=3","gravatar_id":"","url":"https://api.github.com/users/upwebdesign","html_url":"https://github.com/upwebdesign","followers_url":"https://api.github.com/users/upwebdesign/followers","following_url":"https://api.github.com/users/upwebdesign/following{/other_user}","gists_url":"https://api.github.com/users/upwebdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/upwebdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upwebdesign/subscriptions","organizations_url":"https://api.github.com/users/upwebdesign/orgs","repos_url":"https://api.github.com/users/upwebdesign/repos","events_url":"https://api.github.com/users/upwebdesign/events{/privacy}","received_events_url":"https://api.github.com/users/upwebdesign/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T19:07:43Z","updated_at":"2015-05-14T19:07:43Z","body":"This is my attempt to use Affiliate Program Service (AffiliateProgramService):\r\n\r\n`Infusionsoft::affiliatePrograms()->getProgramsForAffiliate((int)xxxxx);`\r\n\r\nThis is what I get:\r\n\r\n>HttpException in InfusionsoftSerializer.php line 34:\r\nexception 'fXmlRpc\\Exception\\RuntimeException' with message 'Invalid XML. Expected one of \"string\", \"array\", \"struct\", \"int\", \"biginteger\", \"i8\", \"i4\", \"i2\", \"i1\", \"boolean\", \"double\", \"float\", \"bigdecimal\", \"dateTime.iso8601\", \"dateTime\", \"base64\", \"nil\", \"dom\", \"#text\", got \"value\" on depth 9 (context: \"<value/>\")' in /vendor/lstrojny/fxmlrpc/src/fXmlRpc/Exception/RuntimeException.php:41"}}