{"id":1019,"date":"2014-12-16T18:01:45","date_gmt":"2014-12-17T02:01:45","guid":{"rendered":"http:\/\/systemsolver.com\/StatlerBlog\/?p=1019"},"modified":"2014-12-16T18:01:45","modified_gmt":"2014-12-17T02:01:45","slug":"civicrm-import-and-export-apis","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2014\/12\/16\/civicrm-import-and-export-apis\/","title":{"rendered":"CiviCRM import and export APIs"},"content":{"rendered":"<p>To import data into CiviCRM, the easiest way is through APIs.<\/p>\n<p>API calls require both a site key and a user API key.<\/p>\n<p>The site key is at:<\/p>\n<p>To create a user API key it is easier to install a civiCRM extension<\/p>\n<ol>\n<li>Create a directory for civiCRM extensions<br \/>\n\/var\/www\/drupal\/sites\/default\/files\/civicrm\/custom_ext<br \/>\nmake sure it is writable by the civicrm system<br \/>\nIn my case it is writable by user civicrm<\/li>\n<li>Import the civiCRM<\/li>\n<\/ol>\n<p>\/var\/www\/drupal\/sites\/all\/modules\/contrib\/civicrm\/api\/v3\/Group.php to create groups<\/p>\n<p>http:\/\/wiki.civicrm.org\/confluence\/display\/CRMDOC\/REST+interface#RESTinterface-CreatingAPIkeysforusers<\/p>\n<p>http:\/\/wiki.civicrm.org\/confluence\/display\/CRMDOC\/Extensions<\/p>\n<p>http:\/\/10.0.0.27\/index.php?q=civicrm\/api\/explorer#\/index.php?q=civicrm\/ajax\/rest&#038;entity=Group&#038;action=create&#038;debug=1&#038;sequential=1&#038;json=1&#038;title=Test&#038;description=test+group&#038;visibility=User+and+User+Admin+Only&#038;is_hidden=0&#038;created_id=2&#038;is_reserved=1<\/p>\n<p>http:\/\/10.0.0.27\/index.php?q=civicrm\/api\/explorer#explorer<\/p>\n<p>http:\/\/wiki.civicrm.org\/confluence\/display\/CRMDOC\/Bootstrap+Reference<\/p>\n<p>http:\/\/wiki.civicrm.org\/confluence\/display\/CRMDOC\/Using+the+API<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To import data into CiviCRM, the easiest way is through APIs. API calls require both a site key and a user API key. The site key is at: To create a user API key it is easier to install a civiCRM extension Create a directory for civiCRM extensions \/var\/www\/drupal\/sites\/default\/files\/civicrm\/custom_ext make sure it is writable by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-1019","post","type-post","status-publish","format-standard","hentry","category-civicrm","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/1019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/comments?post=1019"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/1019\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=1019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=1019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=1019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}