--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=List_Add_Public&name=import-test body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=27caf936fafb092f38141a3b1c801c23; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Tue, 02 Aug 2011 14:12:38 GMT server: - lighttpd/1.4.28 body: "15" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&listId=15&method=List_Get_Info body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=69fa21750b5ae19b8097847c6f0a3c9f; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Tue, 02 Aug 2011 14:12:27 GMT server: - lighttpd/1.4.28 body: "{\"listId\":\"15\",\"name\":\"import-test\",\"description\":null,\"type\":\"public\",\"optIn\":false}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&listId=15&method=List_Import_Contacts&source=Manual%20Entry&contacts%5Bemail%5D=import@example.com&optionalParameters%5BactivateDeleted%5D=true&optionalParameters%5BupdateCustomFields%5D=true body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=c7c3f84cc8007e7456013997a2c8fefd; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Tue, 02 Aug 2011 14:12:38 GMT server: - lighttpd/1.4.28 body: "{\"errors\":[],\"success\":1}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&listId=15&method=List_Delete body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=9b61404710c4a9c86feda10e5fd837c7; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Tue, 02 Aug 2011 14:12:39 GMT server: - lighttpd/1.4.28 body: "true" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?email=import@example.com&key=%{API_KEY}&method=Contact_Get&optionalParameters%5BgetAllCustomFields%5D=true body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=fe596708b83958f30815726e3b237679; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Tue, 02 Aug 2011 14:12:39 GMT server: - lighttpd/1.4.28 body: "{\"import@example.com\":{\"contactId\":\"17\",\"email\":\"import@example.com\",\"source\":\"Manual Entry\",\"status\":\"active\",\"customFields\":{\"first_name\":\"\",\"last_name\":\"\",\"email_address\":\"import@example.com\"}}}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?email=import@example.com&key=%{API_KEY}&method=Contact_Delete body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=dba4c0503df43b21a15ba8a0acb2ec48; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Tue, 02 Aug 2011 14:12:29 GMT server: - lighttpd/1.4.28 body: "true" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=List_Add_Public body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=9624723b0d76ad2fc8c7633a30c948f4; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Wed, 03 Aug 2011 14:35:16 GMT server: - lighttpd/1.4.28 body: "{\"result\":\"error\",\"message\":\"Missing parameter name for List_Add_Public\",\"code\":2}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=List_Add_Public body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=400c35c763ca916cada81f64119ba656; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Wed, 03 Aug 2011 14:35:17 GMT server: - lighttpd/1.4.28 body: "{\"result\":\"error\",\"message\":\"Missing parameter name for List_Add_Public\",\"code\":2}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=List_Import_Contacts&source=Manual%20Entry&contacts%5Bemail%5D=import@example.com&optionalParameters%5BactivateDeleted%5D=true&optionalParameters%5BupdateCustomFields%5D=true body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=f64baf169ea5aa173b321ada3c93288f; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Wed, 03 Aug 2011 14:37:31 GMT server: - lighttpd/1.4.28 body: "{\"result\":\"error\",\"message\":\"Input Error: List 0 does not exist\",\"code\":601}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=List_Delete body: headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=b9d53f6d988fdded2ff464b3d1835c42; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Wed, 03 Aug 2011 14:37:42 GMT server: - lighttpd/1.4.28 body: "{\"result\":\"error\",\"message\":\"Missing parameter listId for List_Delete\",\"code\":2}" http_version: "1.1"