{"action":"created","comment":{"url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/comments/38156865","id":38156865,"diff_hunk":"@@ -75,5 +76,49 @@ public void create_complex_contact()\n             Assert.AreEqual(\"John\", contact.ContactPersons[0].FirstName);\n             Assert.AreEqual(expectedAccountNumber, contact.AccountNumber);\n         }\n+\n+        [Test]\n+        public void create_contact_with_tracking()\n+        {\n+            //Test will create a Tracking Categorie and use it if there are none available.\n+            Api.Contacts.SummarizeErrors(true);","path":"CoreTests/Integration/Contacts/Create.cs","position":17,"original_position":17,"commit_id":"5db2d59236bff8872fe147df3fee4fa8bc636e52","original_commit_id":"5db2d59236bff8872fe147df3fee4fa8bc636e52","user":{"login":"MJMortimer","id":5070575,"avatar_url":"https://avatars.githubusercontent.com/u/5070575?v=3","gravatar_id":"","url":"https://api.github.com/users/MJMortimer","html_url":"https://github.com/MJMortimer","followers_url":"https://api.github.com/users/MJMortimer/followers","following_url":"https://api.github.com/users/MJMortimer/following{/other_user}","gists_url":"https://api.github.com/users/MJMortimer/gists{/gist_id}","starred_url":"https://api.github.com/users/MJMortimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJMortimer/subscriptions","organizations_url":"https://api.github.com/users/MJMortimer/orgs","repos_url":"https://api.github.com/users/MJMortimer/repos","events_url":"https://api.github.com/users/MJMortimer/events{/privacy}","received_events_url":"https://api.github.com/users/MJMortimer/received_events","type":"User","site_admin":false},"body":"@philals Does summarize errors give any benefit here? Or is this added following the misunderstanding of it that we discussed the other day?","created_at":"2015-08-27T23:07:32Z","updated_at":"2015-08-27T23:07:32Z","html_url":"https://github.com/XeroAPI/Xero-Net/pull/96#discussion_r38156865","pull_request_url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/comments/38156865"},"html":{"href":"https://github.com/XeroAPI/Xero-Net/pull/96#discussion_r38156865"},"pull_request":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96","id":43361332,"html_url":"https://github.com/XeroAPI/Xero-Net/pull/96","diff_url":"https://github.com/XeroAPI/Xero-Net/pull/96.diff","patch_url":"https://github.com/XeroAPI/Xero-Net/pull/96.patch","issue_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/96","number":96,"state":"open","locked":false,"title":"Contact has a class called DefaultTrackingCategory which would serial…","user":{"login":"philals","id":8849355,"avatar_url":"https://avatars.githubusercontent.com/u/8849355?v=3","gravatar_id":"","url":"https://api.github.com/users/philals","html_url":"https://github.com/philals","followers_url":"https://api.github.com/users/philals/followers","following_url":"https://api.github.com/users/philals/following{/other_user}","gists_url":"https://api.github.com/users/philals/gists{/gist_id}","starred_url":"https://api.github.com/users/philals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philals/subscriptions","organizations_url":"https://api.github.com/users/philals/orgs","repos_url":"https://api.github.com/users/philals/repos","events_url":"https://api.github.com/users/philals/events{/privacy}","received_events_url":"https://api.github.com/users/philals/received_events","type":"User","site_admin":false},"body":"…ize out to that and not PurchasesTrackingCategories/SalesTrackingCategories.\r\n\r\nThis commit replaces that with two classes that will. I have left them in the same file to make them easier to find.\r\n\r\nAdds a test which adds a Contact with PurchasesTrackingCategories. It creates the TC if it is not there. It deletes it after.\r\n\r\n@MJMortimer to discuss...","created_at":"2015-08-26T03:42:59Z","updated_at":"2015-08-27T23:07:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caa98cdc560b9cfcfca90f6716d15e637de21b8f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96/commits","review_comments_url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96/comments","review_comment_url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/96/comments","statuses_url":"https://api.github.com/repos/XeroAPI/Xero-Net/statuses/5db2d59236bff8872fe147df3fee4fa8bc636e52","head":{"label":"XeroAPI:f/AddContactTC","ref":"f/AddContactTC","sha":"5db2d59236bff8872fe147df3fee4fa8bc636e52","user":{"login":"XeroAPI","id":242786,"avatar_url":"https://avatars.githubusercontent.com/u/242786?v=3","gravatar_id":"","url":"https://api.github.com/users/XeroAPI","html_url":"https://github.com/XeroAPI","followers_url":"https://api.github.com/users/XeroAPI/followers","following_url":"https://api.github.com/users/XeroAPI/following{/other_user}","gists_url":"https://api.github.com/users/XeroAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/XeroAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XeroAPI/subscriptions","organizations_url":"https://api.github.com/users/XeroAPI/orgs","repos_url":"https://api.github.com/users/XeroAPI/repos","events_url":"https://api.github.com/users/XeroAPI/events{/privacy}","received_events_url":"https://api.github.com/users/XeroAPI/received_events","type":"Organization","site_admin":false},"repo":{"id":21447418,"name":"Xero-Net","full_name":"XeroAPI/Xero-Net","owner":{"login":"XeroAPI","id":242786,"avatar_url":"https://avatars.githubusercontent.com/u/242786?v=3","gravatar_id":"","url":"https://api.github.com/users/XeroAPI","html_url":"https://github.com/XeroAPI","followers_url":"https://api.github.com/users/XeroAPI/followers","following_url":"https://api.github.com/users/XeroAPI/following{/other_user}","gists_url":"https://api.github.com/users/XeroAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/XeroAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XeroAPI/subscriptions","organizations_url":"https://api.github.com/users/XeroAPI/orgs","repos_url":"https://api.github.com/users/XeroAPI/repos","events_url":"https://api.github.com/users/XeroAPI/events{/privacy}","received_events_url":"https://api.github.com/users/XeroAPI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/XeroAPI/Xero-Net","description":"A skinny wrapper of the Xero API. Supports Payroll, Accounting & Files","fork":false,"url":"https://api.github.com/repos/XeroAPI/Xero-Net","forks_url":"https://api.github.com/repos/XeroAPI/Xero-Net/forks","keys_url":"https://api.github.com/repos/XeroAPI/Xero-Net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XeroAPI/Xero-Net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XeroAPI/Xero-Net/teams","hooks_url":"https://api.github.com/repos/XeroAPI/Xero-Net/hooks","issue_events_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/events{/number}","events_url":"https://api.github.com/repos/XeroAPI/Xero-Net/events","assignees_url":"https://api.github.com/repos/XeroAPI/Xero-Net/assignees{/user}","branches_url":"https://api.github.com/repos/XeroAPI/Xero-Net/branches{/branch}","tags_url":"https://api.github.com/repos/XeroAPI/Xero-Net/tags","blobs_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/refs{/sha}","trees_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XeroAPI/Xero-Net/statuses/{sha}","languages_url":"https://api.github.com/repos/XeroAPI/Xero-Net/languages","stargazers_url":"https://api.github.com/repos/XeroAPI/Xero-Net/stargazers","contributors_url":"https://api.github.com/repos/XeroAPI/Xero-Net/contributors","subscribers_url":"https://api.github.com/repos/XeroAPI/Xero-Net/subscribers","subscription_url":"https://api.github.com/repos/XeroAPI/Xero-Net/subscription","commits_url":"https://api.github.com/repos/XeroAPI/Xero-Net/commits{/sha}","git_commits_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/commits{/sha}","comments_url":"https://api.github.com/repos/XeroAPI/Xero-Net/comments{/number}","issue_comment_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/comments{/number}","contents_url":"https://api.github.com/repos/XeroAPI/Xero-Net/contents/{+path}","compare_url":"https://api.github.com/repos/XeroAPI/Xero-Net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XeroAPI/Xero-Net/merges","archive_url":"https://api.github.com/repos/XeroAPI/Xero-Net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XeroAPI/Xero-Net/downloads","issues_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues{/number}","pulls_url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls{/number}","milestones_url":"https://api.github.com/repos/XeroAPI/Xero-Net/milestones{/number}","notifications_url":"https://api.github.com/repos/XeroAPI/Xero-Net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XeroAPI/Xero-Net/labels{/name}","releases_url":"https://api.github.com/repos/XeroAPI/Xero-Net/releases{/id}","created_at":"2014-07-03T02:33:40Z","updated_at":"2015-08-14T10:05:50Z","pushed_at":"2015-08-26T03:43:00Z","git_url":"git://github.com/XeroAPI/Xero-Net.git","ssh_url":"git@github.com:XeroAPI/Xero-Net.git","clone_url":"https://github.com/XeroAPI/Xero-Net.git","svn_url":"https://github.com/XeroAPI/Xero-Net","homepage":"http://developer.xero.com/","size":6293,"stargazers_count":29,"watchers_count":29,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":49,"mirror_url":null,"open_issues_count":14,"forks":49,"open_issues":14,"watchers":29,"default_branch":"master"}},"base":{"label":"XeroAPI:master","ref":"master","sha":"369757c429cd92f35a5e0aabe8923948a7d41750","user":{"login":"XeroAPI","id":242786,"avatar_url":"https://avatars.githubusercontent.com/u/242786?v=3","gravatar_id":"","url":"https://api.github.com/users/XeroAPI","html_url":"https://github.com/XeroAPI","followers_url":"https://api.github.com/users/XeroAPI/followers","following_url":"https://api.github.com/users/XeroAPI/following{/other_user}","gists_url":"https://api.github.com/users/XeroAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/XeroAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XeroAPI/subscriptions","organizations_url":"https://api.github.com/users/XeroAPI/orgs","repos_url":"https://api.github.com/users/XeroAPI/repos","events_url":"https://api.github.com/users/XeroAPI/events{/privacy}","received_events_url":"https://api.github.com/users/XeroAPI/received_events","type":"Organization","site_admin":false},"repo":{"id":21447418,"name":"Xero-Net","full_name":"XeroAPI/Xero-Net","owner":{"login":"XeroAPI","id":242786,"avatar_url":"https://avatars.githubusercontent.com/u/242786?v=3","gravatar_id":"","url":"https://api.github.com/users/XeroAPI","html_url":"https://github.com/XeroAPI","followers_url":"https://api.github.com/users/XeroAPI/followers","following_url":"https://api.github.com/users/XeroAPI/following{/other_user}","gists_url":"https://api.github.com/users/XeroAPI/gists{/gist_id}","starred_url":"https://api.github.com/users/XeroAPI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XeroAPI/subscriptions","organizations_url":"https://api.github.com/users/XeroAPI/orgs","repos_url":"https://api.github.com/users/XeroAPI/repos","events_url":"https://api.github.com/users/XeroAPI/events{/privacy}","received_events_url":"https://api.github.com/users/XeroAPI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/XeroAPI/Xero-Net","description":"A skinny wrapper of the Xero API. Supports Payroll, Accounting & Files","fork":false,"url":"https://api.github.com/repos/XeroAPI/Xero-Net","forks_url":"https://api.github.com/repos/XeroAPI/Xero-Net/forks","keys_url":"https://api.github.com/repos/XeroAPI/Xero-Net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XeroAPI/Xero-Net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XeroAPI/Xero-Net/teams","hooks_url":"https://api.github.com/repos/XeroAPI/Xero-Net/hooks","issue_events_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/events{/number}","events_url":"https://api.github.com/repos/XeroAPI/Xero-Net/events","assignees_url":"https://api.github.com/repos/XeroAPI/Xero-Net/assignees{/user}","branches_url":"https://api.github.com/repos/XeroAPI/Xero-Net/branches{/branch}","tags_url":"https://api.github.com/repos/XeroAPI/Xero-Net/tags","blobs_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/refs{/sha}","trees_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XeroAPI/Xero-Net/statuses/{sha}","languages_url":"https://api.github.com/repos/XeroAPI/Xero-Net/languages","stargazers_url":"https://api.github.com/repos/XeroAPI/Xero-Net/stargazers","contributors_url":"https://api.github.com/repos/XeroAPI/Xero-Net/contributors","subscribers_url":"https://api.github.com/repos/XeroAPI/Xero-Net/subscribers","subscription_url":"https://api.github.com/repos/XeroAPI/Xero-Net/subscription","commits_url":"https://api.github.com/repos/XeroAPI/Xero-Net/commits{/sha}","git_commits_url":"https://api.github.com/repos/XeroAPI/Xero-Net/git/commits{/sha}","comments_url":"https://api.github.com/repos/XeroAPI/Xero-Net/comments{/number}","issue_comment_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/comments{/number}","contents_url":"https://api.github.com/repos/XeroAPI/Xero-Net/contents/{+path}","compare_url":"https://api.github.com/repos/XeroAPI/Xero-Net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XeroAPI/Xero-Net/merges","archive_url":"https://api.github.com/repos/XeroAPI/Xero-Net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XeroAPI/Xero-Net/downloads","issues_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues{/number}","pulls_url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls{/number}","milestones_url":"https://api.github.com/repos/XeroAPI/Xero-Net/milestones{/number}","notifications_url":"https://api.github.com/repos/XeroAPI/Xero-Net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XeroAPI/Xero-Net/labels{/name}","releases_url":"https://api.github.com/repos/XeroAPI/Xero-Net/releases{/id}","created_at":"2014-07-03T02:33:40Z","updated_at":"2015-08-14T10:05:50Z","pushed_at":"2015-08-26T03:43:00Z","git_url":"git://github.com/XeroAPI/Xero-Net.git","ssh_url":"git@github.com:XeroAPI/Xero-Net.git","clone_url":"https://github.com/XeroAPI/Xero-Net.git","svn_url":"https://github.com/XeroAPI/Xero-Net","homepage":"http://developer.xero.com/","size":6293,"stargazers_count":29,"watchers_count":29,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":49,"mirror_url":null,"open_issues_count":14,"forks":49,"open_issues":14,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96"},"html":{"href":"https://github.com/XeroAPI/Xero-Net/pull/96"},"issue":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/96"},"comments":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/XeroAPI/Xero-Net/statuses/5db2d59236bff8872fe147df3fee4fa8bc636e52"}}}}