{"action":"created","issue":{"url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/404","repository_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php","labels_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/404/comments","events_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/404/events","html_url":"https://github.com/zendesk/zendesk_api_client_php/issues/404","id":374329869,"node_id":"MDU6SXNzdWUzNzQzMjk4Njk=","number":404,"title":"Can't update category and article via update mathod","user":{"login":"drcsystems78","id":28754925,"node_id":"MDQ6VXNlcjI4NzU0OTI1","avatar_url":"https://avatars2.githubusercontent.com/u/28754925?v=4","gravatar_id":"","url":"https://api.github.com/users/drcsystems78","html_url":"https://github.com/drcsystems78","followers_url":"https://api.github.com/users/drcsystems78/followers","following_url":"https://api.github.com/users/drcsystems78/following{/other_user}","gists_url":"https://api.github.com/users/drcsystems78/gists{/gist_id}","starred_url":"https://api.github.com/users/drcsystems78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drcsystems78/subscriptions","organizations_url":"https://api.github.com/users/drcsystems78/orgs","repos_url":"https://api.github.com/users/drcsystems78/repos","events_url":"https://api.github.com/users/drcsystems78/events{/privacy}","received_events_url":"https://api.github.com/users/drcsystems78/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-26T10:49:40Z","updated_at":"2018-11-09T02:02:03Z","closed_at":null,"author_association":"NONE","body":"Update section is working fine but Article and Category are not update, Help me what i am doing wrong? See below\r\n```\r\n// for article\r\n$client = $this->helper->getZendeskClient();\r\n$article = $client->helpCenter->sections($postData[\"section\"])->articles()->update($postData[\"id\"],[\r\n 'locale' => 'en-us',\r\n 'title' => $postData[\"title\"],\r\n'author_id'=> $postData[\"author\"],\r\n'body'=> $postData[\"body\"]\r\n]);\r\n\r\n// for category\r\n$client = $this->helper->getZendeskClient();\r\n$category = $client->helpCenter->categories()->update($postData[\"id\"],[\r\n'position' => 0,\r\n'locale' => 'en-us',\r\n'name' => $postData[\"title\"],\r\n]);\r\n```"},"comment":{"url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/comments/437223919","html_url":"https://github.com/zendesk/zendesk_api_client_php/issues/404#issuecomment-437223919","issue_url":"https://api.github.com/repos/zendesk/zendesk_api_client_php/issues/404","id":437223919,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzIyMzkxOQ==","user":{"login":"jmramos02","id":3782351,"node_id":"MDQ6VXNlcjM3ODIzNTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3782351?v=4","gravatar_id":"","url":"https://api.github.com/users/jmramos02","html_url":"https://github.com/jmramos02","followers_url":"https://api.github.com/users/jmramos02/followers","following_url":"https://api.github.com/users/jmramos02/following{/other_user}","gists_url":"https://api.github.com/users/jmramos02/gists{/gist_id}","starred_url":"https://api.github.com/users/jmramos02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmramos02/subscriptions","organizations_url":"https://api.github.com/users/jmramos02/orgs","repos_url":"https://api.github.com/users/jmramos02/repos","events_url":"https://api.github.com/users/jmramos02/events{/privacy}","received_events_url":"https://api.github.com/users/jmramos02/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T02:02:03Z","updated_at":"2018-11-09T02:02:03Z","author_association":"CONTRIBUTOR","body":"I'll try to replicate this on my local. will get back to you"}}
{"actor":{"display_login":"jmramos02"}}