{"action":"created","issue":{"url":"https://api.github.com/repos/IsraelOrtuno/pipedrive/issues/6","repository_url":"https://api.github.com/repos/IsraelOrtuno/pipedrive","labels_url":"https://api.github.com/repos/IsraelOrtuno/pipedrive/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/IsraelOrtuno/pipedrive/issues/6/comments","events_url":"https://api.github.com/repos/IsraelOrtuno/pipedrive/issues/6/events","html_url":"https://github.com/IsraelOrtuno/pipedrive/issues/6","id":144550188,"number":6,"title":"How can i create a new Deal ??","user":{"login":"jagroop","id":12444128,"avatar_url":"https://avatars.githubusercontent.com/u/12444128?v=3","gravatar_id":"","url":"https://api.github.com/users/jagroop","html_url":"https://github.com/jagroop","followers_url":"https://api.github.com/users/jagroop/followers","following_url":"https://api.github.com/users/jagroop/following{/other_user}","gists_url":"https://api.github.com/users/jagroop/gists{/gist_id}","starred_url":"https://api.github.com/users/jagroop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagroop/subscriptions","organizations_url":"https://api.github.com/users/jagroop/orgs","repos_url":"https://api.github.com/users/jagroop/repos","events_url":"https://api.github.com/users/jagroop/events{/privacy}","received_events_url":"https://api.github.com/users/jagroop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T11:05:42Z","updated_at":"2016-03-30T11:59:29Z","closed_at":null,"body":"Hello sir,\r\nI am trying to create a new deal . but i am unable to find an appropriate method to add a new deal.\r\nThat would be nice if you can share a piece of code.\r\nThanks !\r\n"},"comment":{"url":"https://api.github.com/repos/IsraelOrtuno/pipedrive/issues/comments/203396741","html_url":"https://github.com/IsraelOrtuno/pipedrive/issues/6#issuecomment-203396741","issue_url":"https://api.github.com/repos/IsraelOrtuno/pipedrive/issues/6","id":203396741,"user":{"login":"IsraelOrtuno","id":1769417,"avatar_url":"https://avatars.githubusercontent.com/u/1769417?v=3","gravatar_id":"","url":"https://api.github.com/users/IsraelOrtuno","html_url":"https://github.com/IsraelOrtuno","followers_url":"https://api.github.com/users/IsraelOrtuno/followers","following_url":"https://api.github.com/users/IsraelOrtuno/following{/other_user}","gists_url":"https://api.github.com/users/IsraelOrtuno/gists{/gist_id}","starred_url":"https://api.github.com/users/IsraelOrtuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IsraelOrtuno/subscriptions","organizations_url":"https://api.github.com/users/IsraelOrtuno/orgs","repos_url":"https://api.github.com/users/IsraelOrtuno/repos","events_url":"https://api.github.com/users/IsraelOrtuno/events{/privacy}","received_events_url":"https://api.github.com/users/IsraelOrtuno/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T11:59:29Z","updated_at":"2016-03-30T11:59:29Z","body":"You just have to use the `add` method to any kind of resource which is able to \"add\" things:\r\n\r\n```\r\n$pipedrive->deals->add([...]);\r\n```\r\n\r\nAnd pass any data relevant to the deal (title and others). Check the pipedrive api docs to know what parameters you should pass when creating a deal."}}