hubspot-ruby 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -22
  3. data/Gemfile.lock +14 -11
  4. data/LICENSE.txt +0 -2
  5. data/README.md +8 -6
  6. data/RELEASING.md +4 -5
  7. data/Rakefile +2 -17
  8. data/hubspot-ruby.gemspec +20 -157
  9. data/lib/hubspot-ruby.rb +10 -0
  10. data/lib/hubspot/blog.rb +1 -2
  11. data/lib/hubspot/company.rb +149 -0
  12. data/lib/hubspot/company_properties.rb +59 -0
  13. data/lib/hubspot/config.rb +10 -4
  14. data/lib/hubspot/connection.rb +12 -4
  15. data/lib/hubspot/contact.rb +52 -31
  16. data/lib/hubspot/contact_list.rb +16 -16
  17. data/lib/hubspot/contact_properties.rb +53 -6
  18. data/lib/hubspot/deal.rb +2 -2
  19. data/lib/hubspot/deal_pipeline.rb +43 -0
  20. data/lib/hubspot/deal_properties.rb +59 -0
  21. data/lib/hubspot/engagement.rb +133 -0
  22. data/lib/hubspot/exceptions.rb +1 -1
  23. data/lib/hubspot/form.rb +20 -20
  24. data/lib/hubspot/owner.rb +49 -0
  25. data/lib/hubspot/properties.rb +119 -0
  26. data/lib/hubspot/railtie.rb +10 -0
  27. data/lib/hubspot/topic.rb +2 -2
  28. data/lib/hubspot/utils.rb +106 -3
  29. data/spec/lib/hubspot/blog_spec.rb +2 -0
  30. data/spec/lib/hubspot/company_properties_spec.rb +239 -0
  31. data/spec/lib/hubspot/company_spec.rb +190 -0
  32. data/spec/lib/hubspot/config_spec.rb +1 -1
  33. data/spec/lib/hubspot/connection_spec.rb +33 -27
  34. data/spec/lib/hubspot/contact_list_spec.rb +61 -61
  35. data/spec/lib/hubspot/contact_properties_spec.rb +234 -3
  36. data/spec/lib/hubspot/contact_spec.rb +140 -71
  37. data/spec/lib/hubspot/deal_properties_spec.rb +254 -0
  38. data/spec/lib/hubspot/engagement_spec.rb +87 -0
  39. data/spec/lib/hubspot/form_spec.rb +72 -60
  40. data/spec/lib/hubspot/owner_spec.rb +56 -0
  41. data/spec/lib/hubspot/properties_spec.rb +45 -0
  42. data/spec/lib/hubspot/topic_spec.rb +0 -1
  43. data/spec/lib/hubspot/utils_spec.rb +113 -15
  44. data/spec/lib/tasks/properties_spec.rb +90 -0
  45. data/spec/live/companies_integration_spec.rb +23 -0
  46. data/spec/live/companies_properties_integration_spec.rb +120 -0
  47. data/spec/live/contacts_integration_spec.rb +1 -1
  48. data/spec/live/contacts_properties_integration_spec.rb +120 -0
  49. data/spec/live/deal_properties_integration_spec.rb +123 -0
  50. data/spec/live/deals_integration_spec.rb +1 -1
  51. data/spec/support/cassette_helper.rb +1 -1
  52. data/spec/support/tests_helper.rb +3 -3
  53. metadata +39 -78
  54. data/.document +0 -5
  55. data/lib/hubspot/version.rb +0 -9
  56. data/spec/fixtures/vcr_cassettes/add_contacts_to_lists.yml +0 -281
  57. data/spec/fixtures/vcr_cassettes/blog_list.yml +0 -180
  58. data/spec/fixtures/vcr_cassettes/blog_posts.yml +0 -107
  59. data/spec/fixtures/vcr_cassettes/blog_posts_list.yml +0 -6463
  60. data/spec/fixtures/vcr_cassettes/contact_create.yml +0 -64
  61. data/spec/fixtures/vcr_cassettes/contact_create_existing_email.yml +0 -62
  62. data/spec/fixtures/vcr_cassettes/contact_create_invalid_email.yml +0 -63
  63. data/spec/fixtures/vcr_cassettes/contact_create_with_params.yml +0 -64
  64. data/spec/fixtures/vcr_cassettes/contact_destroy.yml +0 -131
  65. data/spec/fixtures/vcr_cassettes/contact_example.yml +0 -32
  66. data/spec/fixtures/vcr_cassettes/contact_find_by_email.yml +0 -59
  67. data/spec/fixtures/vcr_cassettes/contact_find_by_email_batch_mode.yml +0 -509
  68. data/spec/fixtures/vcr_cassettes/contact_find_by_id.yml +0 -59
  69. data/spec/fixtures/vcr_cassettes/contact_find_by_id_batch_mode.yml +0 -33
  70. data/spec/fixtures/vcr_cassettes/contact_find_by_utk.yml +0 -83
  71. data/spec/fixtures/vcr_cassettes/contact_find_by_utk_batch_mode.yml +0 -33
  72. data/spec/fixtures/vcr_cassettes/contact_list_batch_find.yml +0 -65
  73. data/spec/fixtures/vcr_cassettes/contact_list_destroy.yml +0 -63
  74. data/spec/fixtures/vcr_cassettes/contact_list_example.yml +0 -33
  75. data/spec/fixtures/vcr_cassettes/contact_list_find.yml +0 -96
  76. data/spec/fixtures/vcr_cassettes/contact_list_refresh.yml +0 -33
  77. data/spec/fixtures/vcr_cassettes/contact_list_update.yml +0 -36
  78. data/spec/fixtures/vcr_cassettes/contact_update.yml +0 -66
  79. data/spec/fixtures/vcr_cassettes/contacts_among_list.yml +0 -189
  80. data/spec/fixtures/vcr_cassettes/create_form.yml +0 -39
  81. data/spec/fixtures/vcr_cassettes/create_list.yml +0 -36
  82. data/spec/fixtures/vcr_cassettes/create_list_with_filters.yml +0 -36
  83. data/spec/fixtures/vcr_cassettes/deal_create.yml +0 -61
  84. data/spec/fixtures/vcr_cassettes/deal_example.yml +0 -166
  85. data/spec/fixtures/vcr_cassettes/deal_find.yml +0 -115
  86. data/spec/fixtures/vcr_cassettes/destroy_deal.yml +0 -221
  87. data/spec/fixtures/vcr_cassettes/fail_to_create_form.yml +0 -35
  88. data/spec/fixtures/vcr_cassettes/fail_to_create_list.yml +0 -35
  89. data/spec/fixtures/vcr_cassettes/field_among_form.yml +0 -34
  90. data/spec/fixtures/vcr_cassettes/fields_among_form.yml +0 -35
  91. data/spec/fixtures/vcr_cassettes/find_all_contacts.yml +0 -297
  92. data/spec/fixtures/vcr_cassettes/find_all_dynamic_lists.yml +0 -104
  93. data/spec/fixtures/vcr_cassettes/find_all_forms.yml +0 -15378
  94. data/spec/fixtures/vcr_cassettes/find_all_lists.yml +0 -138
  95. data/spec/fixtures/vcr_cassettes/find_all_recent_contacts.yml +0 -33
  96. data/spec/fixtures/vcr_cassettes/find_all_recent_updated_deals.yml +0 -130
  97. data/spec/fixtures/vcr_cassettes/find_all_stastic_lists.yml +0 -21876
  98. data/spec/fixtures/vcr_cassettes/form_destroy.yml +0 -64
  99. data/spec/fixtures/vcr_cassettes/form_example.yml +0 -39
  100. data/spec/fixtures/vcr_cassettes/form_find.yml +0 -69
  101. data/spec/fixtures/vcr_cassettes/form_post.yml +0 -31
  102. data/spec/fixtures/vcr_cassettes/form_submit_data.yml +0 -130
  103. data/spec/fixtures/vcr_cassettes/form_update.yml +0 -77
  104. data/spec/fixtures/vcr_cassettes/one_month_blog_posts_filter_state.yml +0 -19127
  105. data/spec/fixtures/vcr_cassettes/one_month_blog_posts_list.yml +0 -34963
  106. data/spec/fixtures/vcr_cassettes/remove_contacts_from_lists.yml +0 -315
  107. data/spec/fixtures/vcr_cassettes/topic_list.yml +0 -48
  108. data/spec/fixtures/vcr_cassettes/topics_list.yml +0 -86
@@ -1,33 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.hubapi.com/contacts/v1/lists/1/refresh?hapikey=demo
6
- body:
7
- encoding: UTF-8
8
- string: "{}"
9
- headers:
10
- Content-Type:
11
- - application/json
12
- response:
13
- status:
14
- code: 204
15
- message: No Content
16
- headers:
17
- Access-Control-Allow-Credentials:
18
- - 'false'
19
- Content-Type:
20
- - application/json; charset=UTF-8
21
- Date:
22
- - Sun, 22 Feb 2015 03:37:25 GMT
23
- Vary:
24
- - Accept-Encoding
25
- - Accept-Encoding
26
- Connection:
27
- - keep-alive
28
- body:
29
- encoding: UTF-8
30
- string: ''
31
- http_version:
32
- recorded_at: Sun, 22 Feb 2015 03:37:25 GMT
33
- recorded_with: VCR 2.4.0
@@ -1,36 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.hubapi.com/contacts/v1/lists/1?hapikey=demo
6
- body:
7
- encoding: UTF-8
8
- string: '{"name":"update list name"}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- response:
13
- status:
14
- code: 200
15
- message: OK
16
- headers:
17
- Access-Control-Allow-Credentials:
18
- - 'false'
19
- Content-Type:
20
- - application/json; charset=UTF-8
21
- Date:
22
- - Sun, 22 Feb 2015 03:21:02 GMT
23
- Vary:
24
- - Accept-Encoding
25
- - Accept-Encoding
26
- Content-Length:
27
- - '435'
28
- Connection:
29
- - keep-alive
30
- body:
31
- encoding: UTF-8
32
- string: '{"metaData":{"processing":"DONE","lastProcessingStateChangeAt":1335448864306,"error":"","lastSizeChangeAt":1424566814058,"size":3357},"dynamic":true,"listType":"DYNAMIC","filters":[[{"type":"string","filterFamily":"PropertyValue","operator":"IS_NOT_EMPTY","withinTimeMode":"PAST","property":"twitterhandle"}]],"portalId":62515,"createdAt":1335448813688,"updatedAt":1424575262863,"listId":1,"internalListId":1,"name":"update
33
- list name"}'
34
- http_version:
35
- recorded_at: Sun, 22 Feb 2015 03:21:02 GMT
36
- recorded_with: VCR 2.4.0
@@ -1,66 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.hubapi.com/contacts/v1/contact/vid/invalid/profile?hapikey=demo
6
- body:
7
- encoding: US-ASCII
8
- string: ! '{"properties":[{"property":"firstname","value":"Steve"},{"property":"lastname","value":"Cunningham"}]}'
9
- headers: {}
10
- response:
11
- status:
12
- code: 404
13
- message: Not Found
14
- headers:
15
- Content-Type:
16
- - text/html;charset=utf-8
17
- Date:
18
- - Fri, 22 Feb 2013 20:29:45 GMT
19
- Server:
20
- - Apache-Coyote/1.1
21
- Content-Length:
22
- - '979'
23
- Connection:
24
- - keep-alive
25
- body:
26
- encoding: US-ASCII
27
- string: ! '<html><head><title>Apache Tomcat/6.0.30 - Error report</title><style><!--H1
28
- {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
29
- H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
30
- H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
31
- BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
32
- B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
33
- P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
34
- {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
35
- Status 404 - Not Found</h1><HR size="1" noshade="noshade"><p><b>type</b> Status
36
- report</p><p><b>message</b> <u>Not Found</u></p><p><b>description</b> <u>The
37
- requested resource (Not Found) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache
38
- Tomcat/6.0.30</h3></body></html>'
39
- http_version:
40
- recorded_at: Fri, 22 Feb 2013 20:29:46 GMT
41
- - request:
42
- method: post
43
- uri: https://api.hubapi.com/contacts/v1/contact/vid/82325/profile?hapikey=demo
44
- body:
45
- encoding: US-ASCII
46
- string: ! '{"properties":[{"property":"firstname","value":"Steve"},{"property":"lastname","value":"Cunningham"}]}'
47
- headers: {}
48
- response:
49
- status:
50
- code: 204
51
- message: No Content
52
- headers:
53
- Access-Control-Allow-Credentials:
54
- - 'false'
55
- Date:
56
- - Fri, 22 Feb 2013 20:31:03 GMT
57
- Server:
58
- - Apache-Coyote/1.1
59
- Connection:
60
- - keep-alive
61
- body:
62
- encoding: US-ASCII
63
- string: ''
64
- http_version:
65
- recorded_at: Fri, 22 Feb 2013 20:31:03 GMT
66
- recorded_with: VCR 2.4.0
@@ -1,189 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api.hubapi.com/contacts/v1/lists/1/contacts/all?hapikey=demo&property=email
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers: {}
10
- response:
11
- status:
12
- code: 200
13
- message: OK
14
- headers:
15
- Access-Control-Allow-Credentials:
16
- - 'false'
17
- Content-Type:
18
- - application/json; charset=UTF-8
19
- Date:
20
- - Fri, 20 Feb 2015 19:23:05 GMT
21
- Vary:
22
- - Accept-Encoding
23
- - Accept-Encoding
24
- Transfer-Encoding:
25
- - chunked
26
- Connection:
27
- - keep-alive
28
- body:
29
- encoding: UTF-8
30
- string: '{"contacts":[{"addedAt":1405348978152,"vid":154835,"canonical-vid":154835,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mODjWYjQOrc4-OG1UKIewQ73NoekhLaxF5x92UM5TAgvt0Q47ZYip_MsQWc1AMwgrtOZRzXBKR38eJjVnDS-3kErr1d1XJt8zK-i-DD6IL64VTgsL4lWrNiRE1hqj8FVgUz0mL7","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mODjWYjQOrc4-OG1UKIewQ73NoekhLaxF5x92UM5TAgvt0Q47ZYip_MsQWc1AMwgrtOZRzXBKR38eJjVnDS-3kErr1d1XJt8zK-i-DD6IL64VTgsL4lWrNiRE1hqj8FVgUz0mL7/","properties":{"lastmodifieddate":{"value":"1423205608157"},"email":{"value":"test@hubspot.com"}},"form-submissions":[{"conversion-id":"b18f9fd8-b8d3-49e5-898a-ac301fac93e9","timestamp":1405347851180,"form-id":"b844ad5e-32bd-41e1-b0e6-ed990c5f3d1b","portal-id":62515,"page-url":"http://demo.hubapi.com/your-stunning-headline-30","page-title":"Your
31
- stunning headline!","page-id":"324527","title":"My New Form","meta-data":[]}],"identity-profiles":[{"vid":154835,"saved-at-timestamp":1405347851237,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"test@hubspot.com","timestamp":1405347851180},{"type":"LEAD_GUID","value":"c8f20860-d3d6-4b57-b092-86a07cebdcbc","timestamp":1405347851237}]}],"merge-audits":[]},{"addedAt":1390571515638,"vid":196182,"canonical-vid":196182,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mNX7yxTOluOjo2x9k8lVUaqvFcmzJRL9KPlrIhvcBlOQQHJRRBo_AQGdQfrSvzVMd8UyWFan8LGGPpa7N0W4UGqMOtz_q-VXUZh-Tr3lDBw_vMsDlk0o5ZkYw-iXk6V4FWI4wXq","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mNX7yxTOluOjo2x9k8lVUaqvFcmzJRL9KPlrIhvcBlOQQHJRRBo_AQGdQfrSvzVMd8UyWFan8LGGPpa7N0W4UGqMOtz_q-VXUZh-Tr3lDBw_vMsDlk0o5ZkYw-iXk6V4FWI4wXq/","properties":{"lastmodifieddate":{"value":"1423205607564"},"email":{"value":"curtis.romig@bryancave.com"}},"form-submissions":[],"identity-profiles":[{"vid":196182,"saved-at-timestamp":1390569372699,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"curtis.romig@bryancave.com","timestamp":1390568725415},{"type":"LEAD_GUID","value":"e18dc184-0238-48f1-a8a2-4476733f50d3","timestamp":1390569372641}]}],"merge-audits":[]},{"addedAt":1390570818268,"vid":196186,"canonical-vid":196186,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mP1E1S0ytBpO8FT1P3H6PPeIJDnwyTyXdFcFq_cNpObLgTX2iCzHNMl87eAn--sH5FiifquuGMW8R-J1vOoTOCKEWS5EKZB7Xd3JbRffZg5nYjEJpml7Ri7XOIBRBU_eD84rjtd","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mP1E1S0ytBpO8FT1P3H6PPeIJDnwyTyXdFcFq_cNpObLgTX2iCzHNMl87eAn--sH5FiifquuGMW8R-J1vOoTOCKEWS5EKZB7Xd3JbRffZg5nYjEJpml7Ri7XOIBRBU_eD84rjtd/","properties":{"lastmodifieddate":{"value":"1423205608022"},"email":{"value":"ben@synaxisworks.com"}},"form-submissions":[],"identity-profiles":[{"vid":196186,"saved-at-timestamp":1390569372769,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"ben@synaxisworks.com","timestamp":1390568759222},{"type":"LEAD_GUID","value":"c0981af6-1d44-4375-a425-f880cef2fd83","timestamp":1390569372756}]}],"merge-audits":[]},{"addedAt":1390570783982,"vid":196189,"canonical-vid":196189,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mMG8IIvH1VvFPinqZeK5OapiYXPFUYrvqfbXLYjnQbfZNN0vK8elbVvZzbCsXjVqju4wNlT7S1HKhBcPfYc6Iok46sFYQR-KdE9kYJyNY8TRg2a324ikBr4Icj8VzMlLfnv4NfS","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mMG8IIvH1VvFPinqZeK5OapiYXPFUYrvqfbXLYjnQbfZNN0vK8elbVvZzbCsXjVqju4wNlT7S1HKhBcPfYc6Iok46sFYQR-KdE9kYJyNY8TRg2a324ikBr4Icj8VzMlLfnv4NfS/","properties":{"lastmodifieddate":{"value":"1414183436568"},"email":{"value":"glennbachman@att.net"}},"form-submissions":[],"identity-profiles":[{"vid":196189,"saved-at-timestamp":1390569372781,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"glennbachman@att.net","timestamp":1390568755598},{"type":"LEAD_GUID","value":"f97a9531-2780-4a53-bed1-3659c58e1b98","timestamp":1390569372775}]}],"merge-audits":[]},{"addedAt":1390579883039,"vid":196190,"canonical-vid":196190,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mOmKbAP3Ub6TT0YQEL51G4u6uSL0AHttpVif_1iM6UHMI5HWSHugwmQFDLiFrb1FA3ST5NDNJpy9F7IUZxiy6SpobyUOV9ggNu7dU5NUaHb_RkNJ7PD82311TVPLK6hS_hsRIeH","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mOmKbAP3Ub6TT0YQEL51G4u6uSL0AHttpVif_1iM6UHMI5HWSHugwmQFDLiFrb1FA3ST5NDNJpy9F7IUZxiy6SpobyUOV9ggNu7dU5NUaHb_RkNJ7PD82311TVPLK6hS_hsRIeH/","properties":{"lastmodifieddate":{"value":"1414183632930"},"email":{"value":"jamikohn@yahoo.com"}},"form-submissions":[],"identity-profiles":[{"vid":196190,"saved-at-timestamp":1390569372777,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"jamikohn@yahoo.com","timestamp":1390568666276},{"type":"LEAD_GUID","value":"e8ee498e-7947-4d8a-b386-c2b260dfad62","timestamp":1390569372767}]}],"merge-audits":[]},{"addedAt":1390576748642,"vid":196191,"canonical-vid":196191,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mNGzwFbmcUWJu0JbPwBM0YewhhEwsZCkbHAeqOyXhIWbs2WWkxmaBmeKVNAdiHXV0qethQdJ0D2dViZBUw2Yz9vuUxBNtPfBBUbdGXU275th9Ht3SlsBiuuIGuRlROpm8TgH6cR","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mNGzwFbmcUWJu0JbPwBM0YewhhEwsZCkbHAeqOyXhIWbs2WWkxmaBmeKVNAdiHXV0qethQdJ0D2dViZBUw2Yz9vuUxBNtPfBBUbdGXU275th9Ht3SlsBiuuIGuRlROpm8TgH6cR/","properties":{"lastmodifieddate":{"value":"1423205608464"},"email":{"value":"emily.palik@adp.com"}},"form-submissions":[],"identity-profiles":[{"vid":196191,"saved-at-timestamp":1390569372782,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"emily.palik@adp.com","timestamp":1390568893411},{"type":"LEAD_GUID","value":"a42c7c5c-939e-4b33-b6b1-7bbc5d6f165e","timestamp":1390569372773}]}],"merge-audits":[]},{"addedAt":1390570794523,"vid":196199,"canonical-vid":196199,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mMMya1emt_tUcoWhhQNn0IJyAOlpyLDAgp55zHDZ3Yxwq4fZP-HfZpKyY8BKIGI7EoMLQrVgB1XaYy4t3xoUzvkxjW-ET4jy9XdbxEN8ZiVsjYWHBkcF0buy_WBWL55nKRbGiNR","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mMMya1emt_tUcoWhhQNn0IJyAOlpyLDAgp55zHDZ3Yxwq4fZP-HfZpKyY8BKIGI7EoMLQrVgB1XaYy4t3xoUzvkxjW-ET4jy9XdbxEN8ZiVsjYWHBkcF0buy_WBWL55nKRbGiNR/","properties":{"lastmodifieddate":{"value":"1423205607391"},"email":{"value":"emorgan@mdecorps.com"}},"form-submissions":[],"identity-profiles":[{"vid":196199,"saved-at-timestamp":1390569372911,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"emorgan@mdecorps.com","timestamp":1390568741710},{"type":"LEAD_GUID","value":"2225f650-6781-4e20-9269-adc783a00474","timestamp":1390569372905}]}],"merge-audits":[]},{"addedAt":1390570790766,"vid":196202,"canonical-vid":196202,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mMwr8ZaZJ7YE7HDFm6M2eVwzl74EAYYxUKeCKcNkK9ms-D_c5zgV94M9ibmm8xKoeUOiIUJV53edvmZTm2965xtuiF7SuSuMghV_MeHXR0B-_IIS828v1YO-aMT2rWDAY5uEfJC","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mMwr8ZaZJ7YE7HDFm6M2eVwzl74EAYYxUKeCKcNkK9ms-D_c5zgV94M9ibmm8xKoeUOiIUJV53edvmZTm2965xtuiF7SuSuMghV_MeHXR0B-_IIS828v1YO-aMT2rWDAY5uEfJC/","properties":{"lastmodifieddate":{"value":"1414183314808"},"email":{"value":"janegoetz@bellsouth.net"}},"form-submissions":[],"identity-profiles":[{"vid":196202,"saved-at-timestamp":1390569372925,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"janegoetz@bellsouth.net","timestamp":1390568790409},{"type":"LEAD_GUID","value":"be95e629-635b-4fa3-a17d-dd357263a596","timestamp":1390569372918}]}],"merge-audits":[]},{"addedAt":1390570817019,"vid":196204,"canonical-vid":196204,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mMNhr8mZHTki8tSOY8N2lXSQ5RDt7X4d1DQ3fkblkag9kJq5YG-OfwOJ8hR5i0Px-8LjAH09zZ9mNwyYjofWxBRD0_NeA4oL9agT7CziXXP3whZDrlxPO_cJlYOaMGWl9PEQN3n","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mMNhr8mZHTki8tSOY8N2lXSQ5RDt7X4d1DQ3fkblkag9kJq5YG-OfwOJ8hR5i0Px-8LjAH09zZ9mNwyYjofWxBRD0_NeA4oL9agT7CziXXP3whZDrlxPO_cJlYOaMGWl9PEQN3n/","properties":{"lastmodifieddate":{"value":"1423205608880"},"email":{"value":"cwscragg@southernco.com"}},"form-submissions":[],"identity-profiles":[{"vid":196204,"saved-at-timestamp":1390569372937,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"cwscragg@southernco.com","timestamp":1390568620618},{"type":"LEAD_GUID","value":"3a6e4881-0d6f-455b-b036-5f77d75815db","timestamp":1390569372924}]}],"merge-audits":[]},{"addedAt":1390570790850,"vid":196206,"canonical-vid":196206,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mNSct22s6BA8seP_RIiuSua0Bes50GJyFnXYB0D3928fsqeDn30f16uytO7GOd44BFeSWPjD17ctmkeXVPnmvknjE6rP9FOZocChfmVpwWYBy9l6_IW5ntQneqgSvzamzBp2vW9","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mNSct22s6BA8seP_RIiuSua0Bes50GJyFnXYB0D3928fsqeDn30f16uytO7GOd44BFeSWPjD17ctmkeXVPnmvknjE6rP9FOZocChfmVpwWYBy9l6_IW5ntQneqgSvzamzBp2vW9/","properties":{"lastmodifieddate":{"value":"1423205608258"},"email":{"value":"gallen@boomtownroi.com"}},"form-submissions":[],"identity-profiles":[{"vid":196206,"saved-at-timestamp":1390569372951,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"gallen@boomtownroi.com","timestamp":1390568874749},{"type":"LEAD_GUID","value":"aa9278ab-79c4-4f3a-81b3-21ff50edb4b8","timestamp":1390569372923}]}],"merge-audits":[]},{"addedAt":1390570802502,"vid":196219,"canonical-vid":196219,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPNo8OQkTi9IzoVkXdRtIV33-4WHBL_7D-zBAhKUXtFnOfXmMidiTFOyWv6MAssQHbserp_DjLz_KwdtgSiyVZcrVbi8aLjC3oVan3uyDR2IOStKj0YCuHbCpf-2iKUneWnfz0l","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPNo8OQkTi9IzoVkXdRtIV33-4WHBL_7D-zBAhKUXtFnOfXmMidiTFOyWv6MAssQHbserp_DjLz_KwdtgSiyVZcrVbi8aLjC3oVan3uyDR2IOStKj0YCuHbCpf-2iKUneWnfz0l/","properties":{"lastmodifieddate":{"value":"1423205607823"},"email":{"value":"elisa@idealrealtyco.com"}},"form-submissions":[],"identity-profiles":[{"vid":196219,"saved-at-timestamp":1390569373147,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"elisa@idealrealtyco.com","timestamp":1390568666112},{"type":"LEAD_GUID","value":"169f0384-c374-4c28-bd20-3d452d706ede","timestamp":1390569373140}]}],"merge-audits":[]},{"addedAt":1390570795086,"vid":196223,"canonical-vid":196223,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mOFogKG3dwBBHkQNxe3YVA9Nrp7oX4RGxTxKUsGeGArONIig1Mg6-1KJZ4IM19yz-qTxvPKawwWh3e9UuhlTGdp1Lj_Qp_BWfpKH0_J7IJMj2eSni7wMFIvEHjwH7gIMKAPFt7Z","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mOFogKG3dwBBHkQNxe3YVA9Nrp7oX4RGxTxKUsGeGArONIig1Mg6-1KJZ4IM19yz-qTxvPKawwWh3e9UuhlTGdp1Lj_Qp_BWfpKH0_J7IJMj2eSni7wMFIvEHjwH7gIMKAPFt7Z/","properties":{"lastmodifieddate":{"value":"1423205607654"},"email":{"value":"greg@insuranceadv.com"}},"form-submissions":[],"identity-profiles":[{"vid":196223,"saved-at-timestamp":1390569373199,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"greg@insuranceadv.com","timestamp":1390568778324},{"type":"LEAD_GUID","value":"2ce50021-4ac6-4c30-9292-a29e8d0cecbf","timestamp":1390569373192}]}],"merge-audits":[]},{"addedAt":1390571511078,"vid":196226,"canonical-vid":196226,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mNLD-L1qEgkTYGvnWvJN1tSMvmy-SExqHN4xbqubpdoPhQqG2F8q46TdXn2PIz4s6V6wjfc_Mrt9dMDgxqKdSA0qF4kwJKO5bTC1boKjLoXo1yNYOibZprP2CIv0yXg0CZTsAsc","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mNLD-L1qEgkTYGvnWvJN1tSMvmy-SExqHN4xbqubpdoPhQqG2F8q46TdXn2PIz4s6V6wjfc_Mrt9dMDgxqKdSA0qF4kwJKO5bTC1boKjLoXo1yNYOibZprP2CIv0yXg0CZTsAsc/","properties":{"lastmodifieddate":{"value":"1423205609225"},"email":{"value":"jasaue@um.dk"}},"form-submissions":[],"identity-profiles":[{"vid":196226,"saved-at-timestamp":1390569373230,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"jasaue@um.dk","timestamp":1390568686333},{"type":"LEAD_GUID","value":"060e76ac-1408-4831-a045-6bb3869acad1","timestamp":1390569373224}]}],"merge-audits":[]},{"addedAt":1390570784988,"vid":196229,"canonical-vid":196229,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mO6ZqzLBf8uQz17QpXsDPFOaTMYK8eyUIwtrFwCgG4TnErdPQoElQz-7GXUg_qUJmXTrxpg2bEItB_IBP57Eonf_ttAHJgTO-SF5Vc5tidUCtd1Uyf2Ga3Al9VCCif3KyLpSVaO","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mO6ZqzLBf8uQz17QpXsDPFOaTMYK8eyUIwtrFwCgG4TnErdPQoElQz-7GXUg_qUJmXTrxpg2bEItB_IBP57Eonf_ttAHJgTO-SF5Vc5tidUCtd1Uyf2Ga3Al9VCCif3KyLpSVaO/","properties":{"lastmodifieddate":{"value":"1423205608402"},"email":{"value":"kcoughlin@kaymedical.com"}},"form-submissions":[],"identity-profiles":[{"vid":196229,"saved-at-timestamp":1390569373270,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"kcoughlin@kaymedical.com","timestamp":1390568685689},{"type":"LEAD_GUID","value":"0e906f48-d194-4b04-8c86-7fe57df25819","timestamp":1390569373264}]}],"merge-audits":[]},{"addedAt":1390572721298,"vid":196232,"canonical-vid":196232,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mP0V932OZ6xDxDNAk6NTvAAq3wyWIPxcBwhByv-Ou5XKTxKDwgjyP4GoZ7GWBIZQtVhfbN2JF0MzF3Jory1sp-GTKrz06BEH55lJyPmKNJE3mcwJGip7bIYp1PIHP9mCtHouU0X","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mP0V932OZ6xDxDNAk6NTvAAq3wyWIPxcBwhByv-Ou5XKTxKDwgjyP4GoZ7GWBIZQtVhfbN2JF0MzF3Jory1sp-GTKrz06BEH55lJyPmKNJE3mcwJGip7bIYp1PIHP9mCtHouU0X/","properties":{"lastmodifieddate":{"value":"1414183315424"},"email":{"value":"abbiewaite@gmail.com"}},"form-submissions":[],"identity-profiles":[{"vid":196232,"saved-at-timestamp":1390569373305,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"abbiewaite@gmail.com","timestamp":1390568851456},{"type":"LEAD_GUID","value":"913966d6-6d34-4c17-a412-d425dc4843c1","timestamp":1390569373286}]}],"merge-audits":[]},{"addedAt":1390570791046,"vid":196236,"canonical-vid":196236,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mMje3TrvDw2mDD9olP2Fkhv6Jrs4lmC8bdWRoX8DQFCcO-9y388FacSHboZ5w4zQINbvyMkwBb-T0Av-mn3A6MhcrY6SWasd1Jkuh19b0UuW2I4yflqFHZjjIotnPAGXIeImbFP","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mMje3TrvDw2mDD9olP2Fkhv6Jrs4lmC8bdWRoX8DQFCcO-9y388FacSHboZ5w4zQINbvyMkwBb-T0Av-mn3A6MhcrY6SWasd1Jkuh19b0UuW2I4yflqFHZjjIotnPAGXIeImbFP/","properties":{"lastmodifieddate":{"value":"1423205608135"},"email":{"value":"dhartnett@macoc.com"}},"form-submissions":[],"identity-profiles":[{"vid":196236,"saved-at-timestamp":1390569373344,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"dhartnett@macoc.com","timestamp":1390568628842},{"type":"LEAD_GUID","value":"246abaf6-8e82-47b1-98fb-422072748d68","timestamp":1390569373335}]}],"merge-audits":[]},{"addedAt":1390570817226,"vid":196262,"canonical-vid":196262,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mOcdiXeGT6IIjJCA8inUaqk5N0uqwxBk2wjgvqY64C2K0uq8S8ayQKu1wBMroEvhYNw9VvEzdkgQ-A69E61IsK1R2JuQxOHau4gNr3yqKpmOBGf__xdzuCsBhd_gW-lkgrOHj0h","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mOcdiXeGT6IIjJCA8inUaqk5N0uqwxBk2wjgvqY64C2K0uq8S8ayQKu1wBMroEvhYNw9VvEzdkgQ-A69E61IsK1R2JuQxOHau4gNr3yqKpmOBGf__xdzuCsBhd_gW-lkgrOHj0h/","properties":{"lastmodifieddate":{"value":"1423205607366"},"email":{"value":"john@twentysix2.com"}},"form-submissions":[],"identity-profiles":[{"vid":196262,"saved-at-timestamp":1390569373589,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"john@twentysix2.com","timestamp":1390568819184},{"type":"LEAD_GUID","value":"da7082b6-eecd-47af-acd3-666ce181264f","timestamp":1390569373581}]}],"merge-audits":[]},{"addedAt":1390570786383,"vid":196266,"canonical-vid":196266,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPUeycK5Tsv2J6mMRsA3uzL1dXf9sVgdgv7MF2uaxCsLv79BidGtXCy4IURTH77aF1wdH_RqAESMq_G-ZbSsYTbvleiWsRdh7clvaQgsO8d96xXU7SDvbK_rcFEHxF0DuoE331g","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPUeycK5Tsv2J6mMRsA3uzL1dXf9sVgdgv7MF2uaxCsLv79BidGtXCy4IURTH77aF1wdH_RqAESMq_G-ZbSsYTbvleiWsRdh7clvaQgsO8d96xXU7SDvbK_rcFEHxF0DuoE331g/","properties":{"lastmodifieddate":{"value":"1423205608331"},"email":{"value":"gregg.bedol@redzoneconsulting.com"}},"form-submissions":[],"identity-profiles":[{"vid":196266,"saved-at-timestamp":1390569373650,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"gregg.bedol@redzoneconsulting.com","timestamp":1390568772736},{"type":"LEAD_GUID","value":"c80f8190-7ae7-4b24-8017-8a91e216fb7b","timestamp":1390569373643}]}],"merge-audits":[]},{"addedAt":1390571523022,"vid":196268,"canonical-vid":196268,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mOIaJ3BoNxM7rWaHCeLCL759vfHxr-wyQh7eJJg19gApFoNRK_LlsxXJu2AXFOY8z69BXlC4wtPXFiYsNXlYS5U8iUApCGqnncppu49eZeLOH0MDZVTmg8r0vVaYygT2sEPa4Bo","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mOIaJ3BoNxM7rWaHCeLCL759vfHxr-wyQh7eJJg19gApFoNRK_LlsxXJu2AXFOY8z69BXlC4wtPXFiYsNXlYS5U8iUApCGqnncppu49eZeLOH0MDZVTmg8r0vVaYygT2sEPa4Bo/","properties":{"lastmodifieddate":{"value":"1423205607904"},"email":{"value":"dkelly@and-solution.com"}},"form-submissions":[],"identity-profiles":[{"vid":196268,"saved-at-timestamp":1390569373656,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"dkelly@and-solution.com","timestamp":1390568725471},{"type":"LEAD_GUID","value":"b1deda0d-9800-41db-bf9c-9f3c04f7159e","timestamp":1390569373649}]}],"merge-audits":[]},{"addedAt":1390570817337,"vid":196274,"canonical-vid":196274,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPUf7cakaLGOThccNV5ooegt_4P5ElT7pGwPkS8zxohL7W9z79cRmT9rBd2UAxwY95dJAix-Iq7PjEiUGoAciDoAec9zVS_fOXM_h8yz6-k4ekagHmwxJoucvGEk-A3Ln-Sye9W","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPUf7cakaLGOThccNV5ooegt_4P5ElT7pGwPkS8zxohL7W9z79cRmT9rBd2UAxwY95dJAix-Iq7PjEiUGoAciDoAec9zVS_fOXM_h8yz6-k4ekagHmwxJoucvGEk-A3Ln-Sye9W/","properties":{"lastmodifieddate":{"value":"1414183633060"},"email":{"value":"dan.pious@gmail.com"}},"form-submissions":[],"identity-profiles":[{"vid":196274,"saved-at-timestamp":1390569373690,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"dan.pious@gmail.com","timestamp":1390568851710},{"type":"LEAD_GUID","value":"9416cfbf-cc43-4fa0-9bba-2cd699c7b0c5","timestamp":1390569373680}]}],"merge-audits":[]}],"has-more":true,"vid-offset":196274}'
32
- http_version:
33
- recorded_at: Fri, 20 Feb 2015 19:23:06 GMT
34
- - request:
35
- method: get
36
- uri: https://api.hubapi.com/contacts/v1/lists/1?hapikey=demo
37
- body:
38
- encoding: US-ASCII
39
- string: ''
40
- headers: {}
41
- response:
42
- status:
43
- code: 200
44
- message: OK
45
- headers:
46
- Access-Control-Allow-Credentials:
47
- - 'false'
48
- Content-Type:
49
- - application/json; charset=UTF-8
50
- Date:
51
- - Wed, 25 Feb 2015 18:01:14 GMT
52
- Vary:
53
- - Accept-Encoding
54
- - Accept-Encoding
55
- Content-Length:
56
- - '439'
57
- Connection:
58
- - keep-alive
59
- body:
60
- encoding: UTF-8
61
- string: '{"dynamic":true,"metaData":{"processing":"DONE","lastProcessingStateChangeAt":1424576267785,"lastSizeChangeAt":1424834705600,"error":"","size":3363},"createdAt":1335448813688,"portalId":62515,"listId":1,"listType":"DYNAMIC","updatedAt":1424575262863,"filters":[[{"type":"string","operator":"IS_NOT_EMPTY","filterFamily":"PropertyValue","withinTimeMode":"PAST","property":"twitterhandle"}]],"internalListId":97398,"name":"update
62
- list name"}'
63
- http_version:
64
- recorded_at: Wed, 25 Feb 2015 18:01:13 GMT
65
- - request:
66
- method: get
67
- uri: https://api.hubapi.com/contacts/v1/lists/1/contacts/all?count=2&hapikey=demo&property=email
68
- body:
69
- encoding: US-ASCII
70
- string: ''
71
- headers: {}
72
- response:
73
- status:
74
- code: 200
75
- message: OK
76
- headers:
77
- Access-Control-Allow-Credentials:
78
- - 'false'
79
- Content-Type:
80
- - application/json; charset=UTF-8
81
- Date:
82
- - Wed, 25 Feb 2015 18:01:15 GMT
83
- Vary:
84
- - Accept-Encoding
85
- - Accept-Encoding
86
- Content-Length:
87
- - '2198'
88
- Connection:
89
- - keep-alive
90
- body:
91
- encoding: UTF-8
92
- string: '{"contacts":[{"addedAt":1424576253177,"vid":154835,"canonical-vid":154835,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPsPrn5f50fFJo6brWUCm8XpqwOtY7P1Tw8UdnovPMuzcoeM89FsICT0CKVD82IP6I3a0DOw4cD6zLtu2_6-nEdtudDQSp3bCkDAYzWGzI83CTpfQtvkbS9a5mmAeT41yNmEbqd","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPsPrn5f50fFJo6brWUCm8XpqwOtY7P1Tw8UdnovPMuzcoeM89FsICT0CKVD82IP6I3a0DOw4cD6zLtu2_6-nEdtudDQSp3bCkDAYzWGzI83CTpfQtvkbS9a5mmAeT41yNmEbqd/","properties":{"lastmodifieddate":{"value":"1423205608157"},"email":{"value":"test@hubspot.com"}},"form-submissions":[{"conversion-id":"b18f9fd8-b8d3-49e5-898a-ac301fac93e9","timestamp":1405347851180,"form-id":"b844ad5e-32bd-41e1-b0e6-ed990c5f3d1b","portal-id":62515,"page-url":"http://demo.hubapi.com/your-stunning-headline-30","page-title":"Your
93
- stunning headline!","page-id":"324527","title":"My New Form","meta-data":[]}],"identity-profiles":[{"vid":154835,"saved-at-timestamp":1405347851237,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"test@hubspot.com","timestamp":1405347851180},{"type":"LEAD_GUID","value":"c8f20860-d3d6-4b57-b092-86a07cebdcbc","timestamp":1405347851237}]}],"merge-audits":[]},{"addedAt":1424576253203,"vid":196182,"canonical-vid":196182,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mMixSGf2vahKA2nu31ePZFfvGFKnuyXeCuaRy5B6KNo1hTyuMWyuJhAy1lnzLto0-KWEhKPyzThuOuVt8OLYhn9Hk9V3VZQpcMUGRl7_mwih-aEPhRRr-gjfgncMVXsXPOvYPde","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mMixSGf2vahKA2nu31ePZFfvGFKnuyXeCuaRy5B6KNo1hTyuMWyuJhAy1lnzLto0-KWEhKPyzThuOuVt8OLYhn9Hk9V3VZQpcMUGRl7_mwih-aEPhRRr-gjfgncMVXsXPOvYPde/","properties":{"lastmodifieddate":{"value":"1423205607564"},"email":{"value":"curtis.romig@bryancave.com"}},"form-submissions":[],"identity-profiles":[{"vid":196182,"saved-at-timestamp":1390569372699,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"curtis.romig@bryancave.com","timestamp":1390568725415},{"type":"LEAD_GUID","value":"e18dc184-0238-48f1-a8a2-4476733f50d3","timestamp":1390569372641}]}],"merge-audits":[]}],"has-more":true,"vid-offset":196182}'
94
- http_version:
95
- recorded_at: Wed, 25 Feb 2015 18:01:14 GMT
96
- - request:
97
- method: get
98
- uri: https://api.hubapi.com/contacts/v1/lists/1?hapikey=demo
99
- body:
100
- encoding: US-ASCII
101
- string: ''
102
- headers: {}
103
- response:
104
- status:
105
- code: 200
106
- message: OK
107
- headers:
108
- Access-Control-Allow-Credentials:
109
- - 'false'
110
- Content-Type:
111
- - application/json; charset=UTF-8
112
- Date:
113
- - Wed, 25 Feb 2015 18:01:15 GMT
114
- Vary:
115
- - Accept-Encoding
116
- - Accept-Encoding
117
- Content-Length:
118
- - '439'
119
- Connection:
120
- - keep-alive
121
- body:
122
- encoding: UTF-8
123
- string: '{"metaData":{"processing":"DONE","error":"","lastProcessingStateChangeAt":1424576267785,"lastSizeChangeAt":1424834705600,"size":3363},"dynamic":true,"filters":[[{"operator":"IS_NOT_EMPTY","type":"string","filterFamily":"PropertyValue","withinTimeMode":"PAST","property":"twitterhandle"}]],"listId":1,"portalId":62515,"createdAt":1335448813688,"updatedAt":1424575262863,"listType":"DYNAMIC","internalListId":97398,"name":"update
124
- list name"}'
125
- http_version:
126
- recorded_at: Wed, 25 Feb 2015 18:01:14 GMT
127
- - request:
128
- method: get
129
- uri: https://api.hubapi.com/contacts/v1/lists/1/contacts/all?count=4&hapikey=demo&property=email
130
- body:
131
- encoding: US-ASCII
132
- string: ''
133
- headers: {}
134
- response:
135
- status:
136
- code: 200
137
- message: OK
138
- headers:
139
- Access-Control-Allow-Credentials:
140
- - 'false'
141
- Content-Type:
142
- - application/json; charset=UTF-8
143
- Date:
144
- - Wed, 25 Feb 2015 18:01:15 GMT
145
- Vary:
146
- - Accept-Encoding
147
- - Accept-Encoding
148
- Content-Length:
149
- - '4036'
150
- Connection:
151
- - keep-alive
152
- body:
153
- encoding: UTF-8
154
- string: '{"contacts":[{"addedAt":1424576253177,"vid":154835,"canonical-vid":154835,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mNj12rtbZDiwocvkm6i1OD9Y3F6fZ0pP-P_dSnXjve3NOeYp5OgZYQiIfCTDxUMNCQqAIF0j0qbjfUGyU9uo1mx0ogRf8aOHlvdeM6MK--7OuMfCF0gZqh_qaQTmzePvj2qGgWo","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mNj12rtbZDiwocvkm6i1OD9Y3F6fZ0pP-P_dSnXjve3NOeYp5OgZYQiIfCTDxUMNCQqAIF0j0qbjfUGyU9uo1mx0ogRf8aOHlvdeM6MK--7OuMfCF0gZqh_qaQTmzePvj2qGgWo/","properties":{"lastmodifieddate":{"value":"1423205608157"},"email":{"value":"test@hubspot.com"}},"form-submissions":[{"conversion-id":"b18f9fd8-b8d3-49e5-898a-ac301fac93e9","timestamp":1405347851180,"form-id":"b844ad5e-32bd-41e1-b0e6-ed990c5f3d1b","portal-id":62515,"page-url":"http://demo.hubapi.com/your-stunning-headline-30","page-title":"Your
155
- stunning headline!","page-id":"324527","title":"My New Form","meta-data":[]}],"identity-profiles":[{"vid":154835,"saved-at-timestamp":1405347851237,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"test@hubspot.com","timestamp":1405347851180},{"type":"LEAD_GUID","value":"c8f20860-d3d6-4b57-b092-86a07cebdcbc","timestamp":1405347851237}]}],"merge-audits":[]},{"addedAt":1424576253203,"vid":196182,"canonical-vid":196182,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPdCAOrB47G0Cp2oXDBTeUPJ6xxrDQtZ-pWTiU_H8Nj5irplUtZY_7YnDBvKML8MY4MPVswQ9oWiz4dLSNToJgUE99RgR-5WblB586H3Nox30hQPbRB_MYiY3bTk3W8tqIOaFzc","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPdCAOrB47G0Cp2oXDBTeUPJ6xxrDQtZ-pWTiU_H8Nj5irplUtZY_7YnDBvKML8MY4MPVswQ9oWiz4dLSNToJgUE99RgR-5WblB586H3Nox30hQPbRB_MYiY3bTk3W8tqIOaFzc/","properties":{"lastmodifieddate":{"value":"1423205607564"},"email":{"value":"curtis.romig@bryancave.com"}},"form-submissions":[],"identity-profiles":[{"vid":196182,"saved-at-timestamp":1390569372699,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"curtis.romig@bryancave.com","timestamp":1390568725415},{"type":"LEAD_GUID","value":"e18dc184-0238-48f1-a8a2-4476733f50d3","timestamp":1390569372641}]}],"merge-audits":[]},{"addedAt":1424576253213,"vid":196186,"canonical-vid":196186,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPqhHl_9zk12snMf7Wq7XxlUTlbCOw2RjBVRXT8HWlYjiofIbB_3afpiK_TEprzJxEbc67HzlsQU_eMBi4O4ceU-MRJsUEyRyMe2GzwVYmFcpF1Vbs0Qvssx-VKNXdjcJZDo1fr","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPqhHl_9zk12snMf7Wq7XxlUTlbCOw2RjBVRXT8HWlYjiofIbB_3afpiK_TEprzJxEbc67HzlsQU_eMBi4O4ceU-MRJsUEyRyMe2GzwVYmFcpF1Vbs0Qvssx-VKNXdjcJZDo1fr/","properties":{"lastmodifieddate":{"value":"1423205608022"},"email":{"value":"ben@synaxisworks.com"}},"form-submissions":[],"identity-profiles":[{"vid":196186,"saved-at-timestamp":1390569372769,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"ben@synaxisworks.com","timestamp":1390568759222},{"type":"LEAD_GUID","value":"c0981af6-1d44-4375-a425-f880cef2fd83","timestamp":1390569372756}]}],"merge-audits":[]},{"addedAt":1424576253220,"vid":196189,"canonical-vid":196189,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPYGyVMUv7Ffs8T2W9GwcYsiFUN3z_xppxUbq80B7i-oFGG0BhCdlrwxjGyN2wGCEfTdcTl2Xhi23ppiQwhcAxs5XHULyo9wfL8u8G24yk7vcRnxL2dQEF1bxLC89N1nx2ikKc_","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPYGyVMUv7Ffs8T2W9GwcYsiFUN3z_xppxUbq80B7i-oFGG0BhCdlrwxjGyN2wGCEfTdcTl2Xhi23ppiQwhcAxs5XHULyo9wfL8u8G24yk7vcRnxL2dQEF1bxLC89N1nx2ikKc_/","properties":{"lastmodifieddate":{"value":"1414183436568"},"email":{"value":"glennbachman@att.net"}},"form-submissions":[],"identity-profiles":[{"vid":196189,"saved-at-timestamp":1390569372781,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"glennbachman@att.net","timestamp":1390568755598},{"type":"LEAD_GUID","value":"f97a9531-2780-4a53-bed1-3659c58e1b98","timestamp":1390569372775}]}],"merge-audits":[]}],"has-more":true,"vid-offset":196189}'
156
- http_version:
157
- recorded_at: Wed, 25 Feb 2015 18:01:15 GMT
158
- - request:
159
- method: get
160
- uri: https://api.hubapi.com/contacts/v1/lists/1/contacts/all?count=2&hapikey=demo&offset=2&property=email
161
- body:
162
- encoding: US-ASCII
163
- string: ''
164
- headers: {}
165
- response:
166
- status:
167
- code: 200
168
- message: OK
169
- headers:
170
- Access-Control-Allow-Credentials:
171
- - 'false'
172
- Content-Type:
173
- - application/json; charset=UTF-8
174
- Date:
175
- - Wed, 25 Feb 2015 18:01:16 GMT
176
- Vary:
177
- - Accept-Encoding
178
- - Accept-Encoding
179
- Content-Length:
180
- - '2198'
181
- Connection:
182
- - keep-alive
183
- body:
184
- encoding: UTF-8
185
- string: '{"contacts":[{"addedAt":1424576253177,"vid":154835,"canonical-vid":154835,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mPs8zM_beF76ELIVmemK5JnblmjP8vVdXlBaGgpigYoFWnOgfNmlTXmX5WDCIajgNJ9ITjbqK6roOHSigYvLGMomWteah-64zRjZETbBEyBiPtzgP85hCV6bBjUtajPJYnN2u3-","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mPs8zM_beF76ELIVmemK5JnblmjP8vVdXlBaGgpigYoFWnOgfNmlTXmX5WDCIajgNJ9ITjbqK6roOHSigYvLGMomWteah-64zRjZETbBEyBiPtzgP85hCV6bBjUtajPJYnN2u3-/","properties":{"lastmodifieddate":{"value":"1423205608157"},"email":{"value":"test@hubspot.com"}},"form-submissions":[{"conversion-id":"b18f9fd8-b8d3-49e5-898a-ac301fac93e9","timestamp":1405347851180,"form-id":"b844ad5e-32bd-41e1-b0e6-ed990c5f3d1b","portal-id":62515,"page-url":"http://demo.hubapi.com/your-stunning-headline-30","page-title":"Your
186
- stunning headline!","page-id":"324527","title":"My New Form","meta-data":[]}],"identity-profiles":[{"vid":154835,"saved-at-timestamp":1405347851237,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"test@hubspot.com","timestamp":1405347851180},{"type":"LEAD_GUID","value":"c8f20860-d3d6-4b57-b092-86a07cebdcbc","timestamp":1405347851237}]}],"merge-audits":[]},{"addedAt":1424576253203,"vid":196182,"canonical-vid":196182,"merged-vids":[],"portal-id":62515,"is-contact":true,"profile-token":"AO_T-mM1WXp164C9aPPoZicEAEPvVfhpz62MOO6jSh_7VmcvN-qgpWUWA6abHP8PIIDfK3GodPs6KnsGujxJtY8lUkUkmeh3q8NhkDtolEh6zdndTJ_MbHVr7kzEvoUeB0MZiyJi6FAF","profile-url":"https://app.hubspot.com/contacts/62515/lists/public/contact/_AO_T-mM1WXp164C9aPPoZicEAEPvVfhpz62MOO6jSh_7VmcvN-qgpWUWA6abHP8PIIDfK3GodPs6KnsGujxJtY8lUkUkmeh3q8NhkDtolEh6zdndTJ_MbHVr7kzEvoUeB0MZiyJi6FAF/","properties":{"lastmodifieddate":{"value":"1423205607564"},"email":{"value":"curtis.romig@bryancave.com"}},"form-submissions":[],"identity-profiles":[{"vid":196182,"saved-at-timestamp":1390569372699,"deleted-changed-timestamp":0,"identities":[{"type":"EMAIL","value":"curtis.romig@bryancave.com","timestamp":1390568725415},{"type":"LEAD_GUID","value":"e18dc184-0238-48f1-a8a2-4476733f50d3","timestamp":1390569372641}]}],"merge-audits":[]}],"has-more":true,"vid-offset":196182}'
187
- http_version:
188
- recorded_at: Wed, 25 Feb 2015 18:01:16 GMT
189
- recorded_with: VCR 2.4.0
@@ -1,39 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.hubapi.com/contacts/v1/forms?hapikey=demo
6
- body:
7
- encoding: UTF-8
8
- string: '{"name":"Demo Form 1424708546","action":"","method":"POST","cssClass":"hs-form
9
- stacked","redirect":"","submitText":"Sign Up","followUpId":"","leadNurturingCampaignId":"","notifyRecipients":"","embeddedCode":""}'
10
- headers:
11
- Content-Type:
12
- - application/json
13
- response:
14
- status:
15
- code: 200
16
- message: OK
17
- headers:
18
- Access-Control-Allow-Credentials:
19
- - 'false'
20
- Content-Type:
21
- - application/json; charset=UTF-8
22
- Date:
23
- - Mon, 23 Feb 2015 16:22:26 GMT
24
- Vary:
25
- - Accept-Encoding
26
- - Accept-Encoding
27
- Content-Length:
28
- - '649'
29
- Connection:
30
- - keep-alive
31
- body:
32
- encoding: UTF-8
33
- string: '{"guid":"8291bdd1-0681-4d99-b5f7-76ffffb4f98d","name":"Demo Form 1424708546","action":"","method":"POST","cssClass":"hs-form
34
- stacked","redirect":"","fields":[],"submitText":"Sign Up","followUpId":"","notifyRecipients":"","leadNurturingCampaignId":"","formFieldGroups":[],"createdAt":1424708546415,"updatedAt":1424708546415,"performableHtml":"","migratedFrom":"","ignoreCurrentValues":false,"metaData":[],"deletable":true,"embeddedCode":"<script
35
- charset=\"utf-8\" src=\"http://js.hubspot.com/forms/current.js\"></script>\n<script>\n hbspt.forms.create({\n portalId:
36
- ''62515'',\n formId: ''8291bdd1-0681-4d99-b5f7-76ffffb4f98d''\n });\n</script>"}'
37
- http_version:
38
- recorded_at: Mon, 23 Feb 2015 16:22:26 GMT
39
- recorded_with: VCR 2.4.0
@@ -1,36 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.hubapi.com/contacts/v1/lists?hapikey=demo
6
- body:
7
- encoding: UTF-8
8
- string: '{"name":"testing list","dynamic":false,"portal_id":null}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- response:
13
- status:
14
- code: 200
15
- message: OK
16
- headers:
17
- Access-Control-Allow-Credentials:
18
- - 'false'
19
- Content-Type:
20
- - application/json; charset=UTF-8
21
- Date:
22
- - Sun, 22 Feb 2015 02:24:20 GMT
23
- Vary:
24
- - Accept-Encoding
25
- - Accept-Encoding
26
- Content-Length:
27
- - '297'
28
- Connection:
29
- - keep-alive
30
- body:
31
- encoding: UTF-8
32
- string: '{"metaData":{"processing":"DONE","lastProcessingStateChangeAt":1424571860081,"lastSizeChangeAt":0,"error":"","size":0},"dynamic":false,"listType":"STATIC","createdAt":1424571860081,"listId":97344,"updatedAt":1424571860081,"filters":[],"portalId":62515,"internalListId":97396,"name":"testing
33
- list"}'
34
- http_version:
35
- recorded_at: Sun, 22 Feb 2015 02:24:20 GMT
36
- recorded_with: VCR 2.4.0
@@ -1,36 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.hubapi.com/contacts/v1/lists?hapikey=demo
6
- body:
7
- encoding: UTF-8
8
- string: '{"name":"list with filters","filters":[[{"operator":"EQ","value":"@hubspot","property":"twitterhandle","type":"string"}]],"dynamic":false,"portal_id":null}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- response:
13
- status:
14
- code: 200
15
- message: OK
16
- headers:
17
- Access-Control-Allow-Credentials:
18
- - 'false'
19
- Content-Type:
20
- - application/json; charset=UTF-8
21
- Date:
22
- - Wed, 25 Feb 2015 15:20:55 GMT
23
- Vary:
24
- - Accept-Encoding
25
- - Accept-Encoding
26
- Content-Length:
27
- - '446'
28
- Connection:
29
- - keep-alive
30
- body:
31
- encoding: UTF-8
32
- string: '{"metaData":{"processing":"INITIALIZING","error":"","lastProcessingStateChangeAt":1424877655355,"lastSizeChangeAt":0,"size":0},"dynamic":false,"filters":[[{"operator":"EQ","type":"string","filterFamily":"PropertyValue","withinTimeMode":"PAST","property":"twitterhandle","value":"@hubspot"}]],"listId":97909,"portalId":62515,"createdAt":1424877655355,"updatedAt":1424877655355,"listType":"STATIC","internalListId":97963,"name":"list
33
- with filters"}'
34
- http_version:
35
- recorded_at: Wed, 25 Feb 2015 15:20:55 GMT
36
- recorded_with: VCR 2.4.0
@@ -1,61 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://api.hubapi.com/deals/v1/deal?hapikey=demo&portalId=62515
6
- body:
7
- encoding: UTF-8
8
- string: '{"portalId":62515,"associations":{"associatedCompanyIds":[8954037],"associatedVids":[27136]},"properties":[]}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- response:
13
- status:
14
- code: 200
15
- message: OK
16
- headers:
17
- Access-Control-Allow-Credentials:
18
- - 'false'
19
- Content-Type:
20
- - application/json; charset=UTF-8
21
- Date:
22
- - Mon, 08 Dec 2014 13:10:35 GMT
23
- Content-Length:
24
- - '562'
25
- Connection:
26
- - keep-alive
27
- body:
28
- encoding: UTF-8
29
- string: '{"portalId":62515,"dealId":1169756,"isDeleted":false,"associations":{"associatedVids":[27136],"associatedCompanyIds":[8954037],"associatedDealIds":[]},"properties":{"createdate":{"value":"1418044235821","timestamp":1418044235821,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1418044235821","timestamp":1418044235821,"sourceVid":[]}]},"hs_createdate":{"value":"1418044235821","timestamp":1418044235821,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1418044235821","timestamp":1418044235821,"sourceVid":[]}]}}}'
30
- http_version:
31
- recorded_at: Mon, 08 Dec 2014 13:11:06 GMT
32
- - request:
33
- method: post
34
- uri: https://api.hubapi.com/deals/v1/deal?hapikey=demo
35
- body:
36
- encoding: UTF-8
37
- string: '{"portalId":62515,"associations":{"associatedCompanyIds":[8954037],"associatedVids":[27136]},"properties":[]}'
38
- headers:
39
- Content-Type:
40
- - application/json
41
- response:
42
- status:
43
- code: 200
44
- message: OK
45
- headers:
46
- Access-Control-Allow-Credentials:
47
- - 'false'
48
- Content-Type:
49
- - application/json; charset=UTF-8
50
- Date:
51
- - Sun, 22 Feb 2015 16:16:53 GMT
52
- Content-Length:
53
- - '562'
54
- Connection:
55
- - keep-alive
56
- body:
57
- encoding: UTF-8
58
- string: '{"portalId":62515,"dealId":2153357,"isDeleted":false,"associations":{"associatedVids":[27136],"associatedCompanyIds":[8954037],"associatedDealIds":[]},"properties":{"hs_createdate":{"value":"1424621813221","timestamp":1424621813221,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1424621813221","timestamp":1424621813221,"sourceVid":[]}]},"createdate":{"value":"1424621813221","timestamp":1424621813221,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1424621813221","timestamp":1424621813221,"sourceVid":[]}]}}}'
59
- http_version:
60
- recorded_at: Sun, 22 Feb 2015 16:16:53 GMT
61
- recorded_with: VCR 2.4.0