hubspot-ruby 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +7 -5
- data/RELEASING.md +7 -0
- data/hubspot-ruby.gemspec +10 -7
- data/lib/hubspot/deal.rb +31 -2
- data/lib/hubspot/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/destroy_deal.yml +111 -0
- data/spec/fixtures/vcr_cassettes/find_all_recent_updated_deals.yml +130 -0
- data/spec/lib/hubspot-ruby_spec.rb +0 -2
- data/spec/lib/hubspot/blog_spec.rb +0 -1
- data/spec/lib/hubspot/config_spec.rb +0 -2
- data/spec/lib/hubspot/contact_spec.rb +0 -2
- data/spec/lib/hubspot/deal_spec.rb +46 -2
- data/spec/lib/hubspot/form_spec.rb +0 -2
- data/spec/lib/hubspot/topic_spec.rb +0 -2
- data/spec/lib/hubspot/utils_spec.rb +0 -2
- data/spec/live/contacts_integration_spec.rb +13 -21
- metadata +39 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef75f3037a1eb0438767ba158d626923ea337045
|
4
|
+
data.tar.gz: fbc90b45ef93cc64e4cc35e6eef3d5a492757803
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0355802ca294ec662724733c0a067cac05cb3721d0f5e315e96288d0ef39ff9d166e33d9d519c0ae05db537e5cc634dd54fb1dd7b3eb4209659d6662bad566e4
|
7
|
+
data.tar.gz: e6d0b729cc3065833c3f718d74679816ab551117600f1203f6d3380991da63e46b75c92f2f5d47b1f395e559f922bd8bfcd1293a9bf6fad344bd495606e4055a
|
data/.rspec
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -4,12 +4,13 @@ GEM
|
|
4
4
|
activesupport (3.2.12)
|
5
5
|
i18n (~> 0.6)
|
6
6
|
multi_json (~> 1.0)
|
7
|
-
addressable (2.3.
|
7
|
+
addressable (2.3.6)
|
8
8
|
awesome_print (1.1.0)
|
9
9
|
celluloid (0.16.0)
|
10
10
|
timers (~> 4.0.0)
|
11
11
|
coderay (1.1.0)
|
12
|
-
crack (0.
|
12
|
+
crack (0.4.2)
|
13
|
+
safe_yaml (~> 1.0.0)
|
13
14
|
diff-lcs (1.2.1)
|
14
15
|
ffi (1.9.6)
|
15
16
|
formatador (0.2.5)
|
@@ -33,7 +34,7 @@ GEM
|
|
33
34
|
git (>= 1.2.5)
|
34
35
|
rake
|
35
36
|
rdoc
|
36
|
-
json (1.
|
37
|
+
json (1.8.1)
|
37
38
|
listen (2.7.11)
|
38
39
|
celluloid (>= 0.15.2)
|
39
40
|
rb-fsevent (>= 0.9.3)
|
@@ -61,6 +62,7 @@ GEM
|
|
61
62
|
rspec-expectations (2.13.0)
|
62
63
|
diff-lcs (>= 1.1.3, < 2.0)
|
63
64
|
rspec-mocks (2.13.0)
|
65
|
+
safe_yaml (1.0.4)
|
64
66
|
simplecov (0.7.1)
|
65
67
|
multi_json (~> 1.0)
|
66
68
|
simplecov-html (~> 0.7.1)
|
@@ -71,7 +73,7 @@ GEM
|
|
71
73
|
timers (4.0.1)
|
72
74
|
hitimes
|
73
75
|
vcr (2.4.0)
|
74
|
-
webmock (1.
|
76
|
+
webmock (1.9.3)
|
75
77
|
addressable (>= 2.2.7)
|
76
78
|
crack (>= 0.3.2)
|
77
79
|
|
@@ -91,4 +93,4 @@ DEPENDENCIES
|
|
91
93
|
simplecov
|
92
94
|
timecop
|
93
95
|
vcr
|
94
|
-
webmock
|
96
|
+
webmock (< 1.10)
|
data/RELEASING.md
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# Releasing to Rubygems
|
2
|
+
|
3
|
+
1. Update version in `lib/hubspot/version.rb`.
|
4
|
+
2. Regenerate gemspec with `rake gemspec:generate`.
|
5
|
+
3. Commiti & push `version.rb` and `hubspot-ruby.gemspec`.
|
6
|
+
4. Build the gem with `gem build hubspot-ruby.gemspec`.
|
7
|
+
5. Push the resulting .gem file to Rubygems with `gem push`
|
data/hubspot-ruby.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: hubspot-ruby 0.1.
|
5
|
+
# stub: hubspot-ruby 0.1.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "hubspot-ruby"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.6"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Andrew DiMichele"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2015-01-09"
|
15
15
|
s.description = "hubspot-ruby is a wrapper for the HubSpot REST API"
|
16
16
|
s.email = "hello@omadahealth.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
"Guardfile",
|
27
27
|
"LICENSE.txt",
|
28
28
|
"README.md",
|
29
|
+
"RELEASING.md",
|
29
30
|
"Rakefile",
|
30
31
|
"hubspot-ruby.gemspec",
|
31
32
|
"lib/hubspot-ruby.rb",
|
@@ -54,6 +55,8 @@ Gem::Specification.new do |s|
|
|
54
55
|
"spec/fixtures/vcr_cassettes/deal_create.yml",
|
55
56
|
"spec/fixtures/vcr_cassettes/deal_example.yml",
|
56
57
|
"spec/fixtures/vcr_cassettes/deal_find.yml",
|
58
|
+
"spec/fixtures/vcr_cassettes/destroy_deal.yml",
|
59
|
+
"spec/fixtures/vcr_cassettes/find_all_recent_updated_deals.yml",
|
57
60
|
"spec/fixtures/vcr_cassettes/form_post.yml",
|
58
61
|
"spec/fixtures/vcr_cassettes/one_month_blog_posts_filter_state.yml",
|
59
62
|
"spec/fixtures/vcr_cassettes/one_month_blog_posts_list.yml",
|
@@ -72,7 +75,7 @@ Gem::Specification.new do |s|
|
|
72
75
|
"spec/support/cassette_helper.rb"
|
73
76
|
]
|
74
77
|
s.homepage = "http://github.com/omadahealth/hubspot-ruby"
|
75
|
-
s.rubygems_version = "2.4.
|
78
|
+
s.rubygems_version = "2.4.1"
|
76
79
|
s.summary = "hubspot-ruby is a wrapper for the HubSpot REST API"
|
77
80
|
|
78
81
|
if s.respond_to? :specification_version then
|
@@ -83,7 +86,7 @@ Gem::Specification.new do |s|
|
|
83
86
|
s.add_runtime_dependency(%q<httparty>, [">= 0.10.0"])
|
84
87
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
85
88
|
s.add_development_dependency(%q<rr>, [">= 0"])
|
86
|
-
s.add_development_dependency(%q<webmock>, ["
|
89
|
+
s.add_development_dependency(%q<webmock>, ["< 1.10"])
|
87
90
|
s.add_development_dependency(%q<vcr>, [">= 0"])
|
88
91
|
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
89
92
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
@@ -97,7 +100,7 @@ Gem::Specification.new do |s|
|
|
97
100
|
s.add_dependency(%q<httparty>, [">= 0.10.0"])
|
98
101
|
s.add_dependency(%q<rspec>, [">= 0"])
|
99
102
|
s.add_dependency(%q<rr>, [">= 0"])
|
100
|
-
s.add_dependency(%q<webmock>, ["
|
103
|
+
s.add_dependency(%q<webmock>, ["< 1.10"])
|
101
104
|
s.add_dependency(%q<vcr>, [">= 0"])
|
102
105
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
103
106
|
s.add_dependency(%q<bundler>, [">= 0"])
|
@@ -112,7 +115,7 @@ Gem::Specification.new do |s|
|
|
112
115
|
s.add_dependency(%q<httparty>, [">= 0.10.0"])
|
113
116
|
s.add_dependency(%q<rspec>, [">= 0"])
|
114
117
|
s.add_dependency(%q<rr>, [">= 0"])
|
115
|
-
s.add_dependency(%q<webmock>, ["
|
118
|
+
s.add_dependency(%q<webmock>, ["< 1.10"])
|
116
119
|
s.add_dependency(%q<vcr>, [">= 0"])
|
117
120
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
118
121
|
s.add_dependency(%q<bundler>, [">= 0"])
|
data/lib/hubspot/deal.rb
CHANGED
@@ -16,7 +16,8 @@ module Hubspot
|
|
16
16
|
attr_reader :vids
|
17
17
|
|
18
18
|
CREATE_DEAL_PATH = "/deals/v1/deal"
|
19
|
-
|
19
|
+
DEAL_PATH = "/deals/v1/deal/:deal_id"
|
20
|
+
RECENT_UPDATED_PATH = "/deals/v1/deal/recent/modified"
|
20
21
|
|
21
22
|
def initialize(response_hash)
|
22
23
|
@portal_id = response_hash["portalId"]
|
@@ -36,7 +37,7 @@ module Hubspot
|
|
36
37
|
end
|
37
38
|
|
38
39
|
def find(deal_id)
|
39
|
-
url = Hubspot::Utils.generate_url(
|
40
|
+
url = Hubspot::Utils.generate_url(DEAL_PATH, {deal_id: deal_id})
|
40
41
|
resp = HTTParty.get(url, format: :json)
|
41
42
|
if resp.success?
|
42
43
|
Hubspot::Deal.new(resp.parsed_response)
|
@@ -44,6 +45,34 @@ module Hubspot
|
|
44
45
|
nil
|
45
46
|
end
|
46
47
|
end
|
48
|
+
|
49
|
+
# Find recent updated deals.
|
50
|
+
# {http://developers.hubspot.com/docs/methods/deals/get_deals_modified}
|
51
|
+
# @param count [Integer] the amount of deals to return.
|
52
|
+
# @param offset [Integer] pages back through recent contacts.
|
53
|
+
def recent(opts = {})
|
54
|
+
url = Hubspot::Utils.generate_url(RECENT_UPDATED_PATH, opts)
|
55
|
+
request = HTTParty.get(url, format: :json)
|
56
|
+
|
57
|
+
raise(Hubspot::RequestError.new(request)) unless request.success?
|
58
|
+
|
59
|
+
found = request.parsed_response['results']
|
60
|
+
return found.map{|h| new(h) }
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# Archives the contact in hubspot
|
65
|
+
# {https://developers.hubspot.com/docs/methods/contacts/delete_contact}
|
66
|
+
# @return [TrueClass] true
|
67
|
+
def destroy!
|
68
|
+
url = Hubspot::Utils.generate_url(DEAL_PATH, {deal_id: deal_id})
|
69
|
+
request = HTTParty.delete(url, format: :json)
|
70
|
+
raise(Hubspot::RequestError.new(request)) unless request.success?
|
71
|
+
@destroyed = true
|
72
|
+
end
|
73
|
+
|
74
|
+
def destroyed?
|
75
|
+
!!@destroyed
|
47
76
|
end
|
48
77
|
end
|
49
78
|
end
|
data/lib/hubspot/version.rb
CHANGED
@@ -0,0 +1,111 @@
|
|
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":[{"name":"amount","value":30}]}'
|
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
|
+
- Fri, 09 Jan 2015 19:34:49 GMT
|
23
|
+
Content-Length:
|
24
|
+
- '986'
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
body:
|
28
|
+
encoding: UTF-8
|
29
|
+
string: '{"portalId":62515,"dealId":1418749,"isDeleted":false,"associations":{"associatedVids":[27136],"associatedCompanyIds":[8954037],"associatedDealIds":[]},"properties":{"amount":{"value":"30","timestamp":1420832089249,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"30","timestamp":1420832089249,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420832089253","timestamp":1420832089253,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420832089253","timestamp":1420832089253,"source":"CALCULATED","sourceVid":[]}]},"hs_createdate":{"value":"1420832089253","timestamp":1420832089253,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420832089253","timestamp":1420832089253,"sourceVid":[]}]},"createdate":{"value":"1420832089253","timestamp":1420832089253,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420832089253","timestamp":1420832089253,"sourceVid":[]}]}}}'
|
30
|
+
http_version:
|
31
|
+
recorded_at: Fri, 09 Jan 2015 19:34:49 GMT
|
32
|
+
- request:
|
33
|
+
method: get
|
34
|
+
uri: https://api.hubapi.com/deals/v1/deal/1418749?hapikey=demo
|
35
|
+
body:
|
36
|
+
encoding: US-ASCII
|
37
|
+
string: ''
|
38
|
+
headers: {}
|
39
|
+
response:
|
40
|
+
status:
|
41
|
+
code: 200
|
42
|
+
message: OK
|
43
|
+
headers:
|
44
|
+
Access-Control-Allow-Credentials:
|
45
|
+
- 'false'
|
46
|
+
Content-Type:
|
47
|
+
- application/json; charset=UTF-8
|
48
|
+
Date:
|
49
|
+
- Fri, 09 Jan 2015 19:34:49 GMT
|
50
|
+
Content-Length:
|
51
|
+
- '1175'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
body:
|
55
|
+
encoding: UTF-8
|
56
|
+
string: '{"portalId":62515,"dealId":1418749,"isDeleted":false,"associations":{"associatedVids":[27136],"associatedCompanyIds":[8954037],"associatedDealIds":[]},"properties":{"amount":{"value":"30","timestamp":1420832089260,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"30","timestamp":1420832089260,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420832089253","timestamp":1420832089260,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420832089253","timestamp":1420832089260,"source":"CALCULATED","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"hs_createdate":{"value":"1420832089253","timestamp":1420832089260,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420832089253","timestamp":1420832089260,"sourceVid":[]}]},"createdate":{"value":"1420832089253","timestamp":1420832089260,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420832089253","timestamp":1420832089260,"sourceVid":[]}]}}}'
|
57
|
+
http_version:
|
58
|
+
recorded_at: Fri, 09 Jan 2015 19:34:49 GMT
|
59
|
+
- request:
|
60
|
+
method: delete
|
61
|
+
uri: https://api.hubapi.com/deals/v1/deal/1418749?hapikey=demo
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers: {}
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 204
|
69
|
+
message: No Content
|
70
|
+
headers:
|
71
|
+
Access-Control-Allow-Credentials:
|
72
|
+
- 'false'
|
73
|
+
Content-Type:
|
74
|
+
- application/json; charset=UTF-8
|
75
|
+
Date:
|
76
|
+
- Fri, 09 Jan 2015 19:37:37 GMT
|
77
|
+
Connection:
|
78
|
+
- keep-alive
|
79
|
+
body:
|
80
|
+
encoding: UTF-8
|
81
|
+
string: ''
|
82
|
+
http_version:
|
83
|
+
recorded_at: Fri, 09 Jan 2015 19:37:37 GMT
|
84
|
+
- request:
|
85
|
+
method: get
|
86
|
+
uri: https://api.hubapi.com/deals/v1/deal/1418749?hapikey=demo
|
87
|
+
body:
|
88
|
+
encoding: US-ASCII
|
89
|
+
string: ''
|
90
|
+
headers: {}
|
91
|
+
response:
|
92
|
+
status:
|
93
|
+
code: 404
|
94
|
+
message: Not Found
|
95
|
+
headers:
|
96
|
+
Access-Control-Allow-Credentials:
|
97
|
+
- 'false'
|
98
|
+
Content-Type:
|
99
|
+
- application/json; charset=UTF-8
|
100
|
+
Date:
|
101
|
+
- Fri, 09 Jan 2015 19:39:20 GMT
|
102
|
+
Content-Length:
|
103
|
+
- '101'
|
104
|
+
Connection:
|
105
|
+
- keep-alive
|
106
|
+
body:
|
107
|
+
encoding: UTF-8
|
108
|
+
string: '{"status":"error","message":"Deal does not exist","requestId":"31456253-ec6a-49a6-a170-6721fc030277"}'
|
109
|
+
http_version:
|
110
|
+
recorded_at: Fri, 09 Jan 2015 19:39:20 GMT
|
111
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,130 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.hubapi.com/deals/v1/deal/recent/modified?hapikey=demo
|
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, 09 Jan 2015 18:46:46 GMT
|
21
|
+
Transfer-Encoding:
|
22
|
+
- chunked
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
25
|
+
body:
|
26
|
+
encoding: UTF-8
|
27
|
+
string: '{"results":[{"portalId":62515,"dealId":1245777,"isDeleted":false,"associations":{"associatedVids":[259323],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
28
|
+
- 1 month","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
29
|
+
- 1 month","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420787916-gou2rzdgjzx2@u2rzdgjzx2.com","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420787916-gou2rzdgjzx2@u2rzdgjzx2.com","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"amount":{"value":"0","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"0","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420787917686","timestamp":1420787917692,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420787917686","timestamp":1420787917692,"sourceVid":[]}]},"subscription_expiration":{"value":"02/10/2015","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/10/2015","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"YES","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"YES","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420787917686","timestamp":1420787917692,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420787917686","timestamp":1420787917692,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420787917686","timestamp":1420787917692,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420787917686","timestamp":1420787917692,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420787917692,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1390526,"isDeleted":false,"associations":{"associatedVids":[259249],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
30
|
+
- 3 months","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
31
|
+
- 3 months","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420704406-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420704406-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"amount":{"value":"199","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"199","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420704408846","timestamp":1420704408848,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420704408846","timestamp":1420704408848,"sourceVid":[]}]},"subscription_expiration":{"value":"04/09/2015","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"04/09/2015","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420704408846","timestamp":1420704408848,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420704408846","timestamp":1420704408848,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420704408846","timestamp":1420704408848,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420704408846","timestamp":1420704408848,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420704408848,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1380154,"isDeleted":false,"associations":{"associatedVids":[259249],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPlus
|
32
|
+
- 1 year","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPlus
|
33
|
+
- 1 year","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420704402-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420704402-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"amount":{"value":"58","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"58","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420704404766","timestamp":1420704404771,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420704404766","timestamp":1420704404771,"sourceVid":[]}]},"subscription_expiration":{"value":"01/09/2016","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"01/09/2016","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420704404766","timestamp":1420704404771,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420704404766","timestamp":1420704404771,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420704404771,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420704404766","timestamp":1420704404771,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420704404766","timestamp":1420704404771,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420704404771,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420704404771,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1231842,"isDeleted":false,"associations":{"associatedVids":[259239],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
34
|
+
- 1 month","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
35
|
+
- 1 month","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420702978-gozopt0zjjdi@zopt0zjjdi.com","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420702978-gozopt0zjjdi@zopt0zjjdi.com","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"amount":{"value":"40.01","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"40.01","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420702980584","timestamp":1420702980612,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420702980584","timestamp":1420702980612,"sourceVid":[]}]},"subscription_expiration":{"value":"02/08/2015","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/08/2015","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420702980583","timestamp":1420702980612,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420702980583","timestamp":1420702980612,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420702980612,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420702980584","timestamp":1420702980612,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420702980584","timestamp":1420702980612,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420702980612,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420702980612,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1231732,"isDeleted":false,"associations":{"associatedVids":[259239],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPublish
|
36
|
+
- 1 month","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPublish
|
37
|
+
- 1 month","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420702974-gozopt0zjjdi@zopt0zjjdi.com","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420702974-gozopt0zjjdi@zopt0zjjdi.com","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"amount":{"value":"39","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"39","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420702976437","timestamp":1420702976472,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420702976437","timestamp":1420702976472,"sourceVid":[]}]},"subscription_expiration":{"value":"02/09/2015","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/09/2015","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420702976437","timestamp":1420702976472,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420702976437","timestamp":1420702976472,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420702976472,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420702976437","timestamp":1420702976472,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420702976437","timestamp":1420702976472,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420702976472,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420702976472,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1288065,"isDeleted":false,"associations":{"associatedVids":[259238],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoTeam
|
38
|
+
- 1 year","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoTeam
|
39
|
+
- 1 year","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420702965-go1ahmiiszdl@1ahmiiszdl.com","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420702965-go1ahmiiszdl@1ahmiiszdl.com","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"amount":{"value":"1961.01","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"1961.01","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420702968111","timestamp":1420702968121,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420702968111","timestamp":1420702968121,"sourceVid":[]}]},"subscription_expiration":{"value":"01/09/2016","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"01/09/2016","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"admin","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"admin","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420702968111","timestamp":1420702968121,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420702968111","timestamp":1420702968121,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420702968121,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420702968111","timestamp":1420702968121,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420702968111","timestamp":1420702968121,"sourceVid":[]}]},"goteam_size":{"value":"3","timestamp":1420702968121,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"3","timestamp":1420702968121,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1231782,"isDeleted":false,"associations":{"associatedVids":[259238],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPublish
|
40
|
+
- 1 month","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPublish
|
41
|
+
- 1 month","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420702961-go1ahmiiszdl@1ahmiiszdl.com","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420702961-go1ahmiiszdl@1ahmiiszdl.com","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"amount":{"value":"39","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"39","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420702964062","timestamp":1420702964069,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420702964062","timestamp":1420702964069,"sourceVid":[]}]},"subscription_expiration":{"value":"02/09/2015","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/09/2015","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420702964062","timestamp":1420702964069,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420702964062","timestamp":1420702964069,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420702964069,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420702964062","timestamp":1420702964069,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420702964062","timestamp":1420702964069,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420702964069,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420702964069,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1288060,"isDeleted":false,"associations":{"associatedVids":[259237],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
42
|
+
- 1 month","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
43
|
+
- 1 month","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420702958-goay1ebmzttj@ay1ebmzttj.com","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420702958-goay1ebmzttj@ay1ebmzttj.com","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"amount":{"value":"40.01","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"40.01","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420702960747","timestamp":1420702960760,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420702960747","timestamp":1420702960760,"sourceVid":[]}]},"subscription_expiration":{"value":"02/08/2015","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/08/2015","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420702960747","timestamp":1420702960760,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420702960747","timestamp":1420702960760,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420702960760,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420702960747","timestamp":1420702960760,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420702960747","timestamp":1420702960760,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420702960760,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420702960760,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1231777,"isDeleted":false,"associations":{"associatedVids":[259237],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPublish
|
44
|
+
- 1 month","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPublish
|
45
|
+
- 1 month","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420702954-goay1ebmzttj@ay1ebmzttj.com","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420702954-goay1ebmzttj@ay1ebmzttj.com","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"amount":{"value":"39","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"39","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420702956478","timestamp":1420702956501,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420702956478","timestamp":1420702956501,"sourceVid":[]}]},"subscription_expiration":{"value":"02/09/2015","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/09/2015","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420702956478","timestamp":1420702956501,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420702956478","timestamp":1420702956501,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420702956501,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420702956478","timestamp":1420702956501,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420702956478","timestamp":1420702956501,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420702956501,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420702956501,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1380119,"isDeleted":false,"associations":{"associatedVids":[259235],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
46
|
+
- 1 month","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
47
|
+
- 1 month","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420699794-go3u548ewaam@3u548ewaam.com","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420699794-go3u548ewaam@3u548ewaam.com","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"amount":{"value":"55.3","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"55.3","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420699796376","timestamp":1420699796386,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420699796376","timestamp":1420699796386,"sourceVid":[]}]},"subscription_expiration":{"value":"02/09/2015","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/09/2015","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"YES","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"YES","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420699796376","timestamp":1420699796386,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420699796376","timestamp":1420699796386,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420699796386,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420699796376","timestamp":1420699796386,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420699796376","timestamp":1420699796386,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420699796386,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420699796386,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1390496,"isDeleted":false,"associations":{"associatedVids":[259234],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
48
|
+
- 1 month","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
49
|
+
- 1 month","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420699789-go845tqpi11u@845tqpi11u.com","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420699789-go845tqpi11u@845tqpi11u.com","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"amount":{"value":"79","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"79","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420699792107","timestamp":1420699792112,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420699792107","timestamp":1420699792112,"sourceVid":[]}]},"subscription_expiration":{"value":"02/09/2015","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/09/2015","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420699792107","timestamp":1420699792112,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420699792107","timestamp":1420699792112,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420699792112,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420699792107","timestamp":1420699792112,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420699792107","timestamp":1420699792112,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420699792112,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420699792112,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1224622,"isDeleted":false,"associations":{"associatedVids":[259046],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoTeam
|
50
|
+
- 1 month","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoTeam
|
51
|
+
- 1 month","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420618902-govg1glkpvlx@vg1glkpvlx.com","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420618902-govg1glkpvlx@vg1glkpvlx.com","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"amount":{"value":"250","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"250","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420618904164","timestamp":1420618904171,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420618904164","timestamp":1420618904171,"sourceVid":[]}]},"subscription_expiration":{"value":"02/08/2015","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/08/2015","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"admin","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"admin","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420618904164","timestamp":1420618904171,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420618904164","timestamp":1420618904171,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420618904171,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420618904164","timestamp":1420618904171,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420618904164","timestamp":1420618904171,"sourceVid":[]}]},"goteam_size":{"value":"3","timestamp":1420618904171,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"3","timestamp":1420618904171,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1224592,"isDeleted":false,"associations":{"associatedVids":[259045],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
52
|
+
- 1 month","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
53
|
+
- 1 month","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420618898-goqzmn4d5or4@qzmn4d5or4.com","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420618898-goqzmn4d5or4@qzmn4d5or4.com","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"amount":{"value":"79","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"79","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420618899993","timestamp":1420618900004,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420618899993","timestamp":1420618900004,"sourceVid":[]}]},"subscription_expiration":{"value":"02/08/2015","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/08/2015","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420618899993","timestamp":1420618900004,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420618899993","timestamp":1420618900004,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420618900004,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420618899993","timestamp":1420618900004,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420618899993","timestamp":1420618900004,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420618900004,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420618900004,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1279840,"isDeleted":false,"associations":{"associatedVids":[259044],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPublish
|
54
|
+
- 1 month","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPublish
|
55
|
+
- 1 month","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420618894-gou93pvzc2pi@u93pvzc2pi.com","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420618894-gou93pvzc2pi@u93pvzc2pi.com","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"amount":{"value":"39","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"39","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420618895812","timestamp":1420618895814,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420618895812","timestamp":1420618895814,"sourceVid":[]}]},"subscription_expiration":{"value":"02/08/2015","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/08/2015","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420618895812","timestamp":1420618895814,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420618895812","timestamp":1420618895814,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420618895814,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420618895812","timestamp":1420618895814,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420618895812","timestamp":1420618895814,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420618895814,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420618895814,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1224617,"isDeleted":false,"associations":{"associatedVids":[259043],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPlus
|
56
|
+
- 3 months","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPlus
|
57
|
+
- 3 months","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420618889-go31a2cu8389@31a2cu8389.com","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420618889-go31a2cu8389@31a2cu8389.com","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"amount":{"value":"18","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"18","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420618891529","timestamp":1420618891529,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420618891529","timestamp":1420618891529,"sourceVid":[]}]},"subscription_expiration":{"value":"04/08/2015","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"04/08/2015","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420618891529","timestamp":1420618891529,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420618891529","timestamp":1420618891529,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420618891529,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420618891529","timestamp":1420618891529,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420618891529","timestamp":1420618891529,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420618891529,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420618891529,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1253018,"isDeleted":false,"associations":{"associatedVids":[258868],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPlus
|
58
|
+
- 3 months","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPlus
|
59
|
+
- 3 months","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420512028-C5JXH9VQ56@C5JXH9VQ56.com","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420512028-C5JXH9VQ56@C5JXH9VQ56.com","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"amount":{"value":"18","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"18","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420512029401","timestamp":1420512029412,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420512029401","timestamp":1420512029412,"sourceVid":[]}]},"subscription_expiration":{"value":"04/06/2015","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"04/06/2015","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420512029401","timestamp":1420512029412,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420512029401","timestamp":1420512029412,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420512029412,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420512029401","timestamp":1420512029412,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420512029401","timestamp":1420512029412,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420512029412,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420512029412,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1253013,"isDeleted":false,"associations":{"associatedVids":[258867],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoTeam
|
60
|
+
- 1 month","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoTeam
|
61
|
+
- 1 month","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420512015-QB7G0BOJ9Z@QB7G0BOJ9Z.com","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420512015-QB7G0BOJ9Z@QB7G0BOJ9Z.com","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"amount":{"value":"171.01","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"171.01","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420512017157","timestamp":1420512017168,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420512017157","timestamp":1420512017168,"sourceVid":[]}]},"subscription_expiration":{"value":"02/06/2015","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/06/2015","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"admin","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"admin","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420512017157","timestamp":1420512017168,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420512017157","timestamp":1420512017168,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420512017168,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420512017157","timestamp":1420512017168,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420512017157","timestamp":1420512017168,"sourceVid":[]}]},"goteam_size":{"value":"3","timestamp":1420512017168,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"3","timestamp":1420512017168,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1342119,"isDeleted":false,"associations":{"associatedVids":[258867],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
62
|
+
- 1 month","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
63
|
+
- 1 month","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420512011-QB7G0BOJ9Z@QB7G0BOJ9Z.com","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420512011-QB7G0BOJ9Z@QB7G0BOJ9Z.com","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"amount":{"value":"79","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"79","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420512013121","timestamp":1420512013126,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420512013121","timestamp":1420512013126,"sourceVid":[]}]},"subscription_expiration":{"value":"02/06/2015","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/06/2015","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420512013121","timestamp":1420512013126,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420512013121","timestamp":1420512013126,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420512013126,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420512013121","timestamp":1420512013126,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420512013121","timestamp":1420512013126,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420512013126,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420512013126,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1253008,"isDeleted":false,"associations":{"associatedVids":[258866],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoTeam
|
64
|
+
- 1 month","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoTeam
|
65
|
+
- 1 month","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420512002-7VJSY4MWNY@7VJSY4MWNY.com","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420512002-7VJSY4MWNY@7VJSY4MWNY.com","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"amount":{"value":"250","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"250","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420512003988","timestamp":1420512004006,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420512003988","timestamp":1420512004006,"sourceVid":[]}]},"subscription_expiration":{"value":"02/06/2015","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/06/2015","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"admin","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"admin","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420512003988","timestamp":1420512004006,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420512003988","timestamp":1420512004006,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420512004006,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420512003988","timestamp":1420512004006,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420512003988","timestamp":1420512004006,"sourceVid":[]}]},"goteam_size":{"value":"3","timestamp":1420512004006,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"3","timestamp":1420512004006,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1351716,"isDeleted":false,"associations":{"associatedVids":[258865],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoTeam
|
66
|
+
- 1 month","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoTeam
|
67
|
+
- 1 month","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420511993-U9862RD9XR@U9862RD9XR.com","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420511993-U9862RD9XR@U9862RD9XR.com","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"amount":{"value":"250","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"250","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420511994668","timestamp":1420511994681,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420511994668","timestamp":1420511994681,"sourceVid":[]}]},"subscription_expiration":{"value":"02/06/2015","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/06/2015","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"admin","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"admin","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420511994668","timestamp":1420511994681,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420511994668","timestamp":1420511994681,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420511994681,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420511994668","timestamp":1420511994681,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420511994668","timestamp":1420511994681,"sourceVid":[]}]},"goteam_size":{"value":"3","timestamp":1420511994681,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"3","timestamp":1420511994681,"source":"API","sourceVid":[]}]}}}],"hasMore":true,"offset":20,"total":94}'
|
68
|
+
http_version:
|
69
|
+
recorded_at: Fri, 09 Jan 2015 18:46:46 GMT
|
70
|
+
- request:
|
71
|
+
method: get
|
72
|
+
uri: https://api.hubapi.com/deals/v1/deal/recent/modified?count=2&hapikey=demo
|
73
|
+
body:
|
74
|
+
encoding: US-ASCII
|
75
|
+
string: ''
|
76
|
+
headers: {}
|
77
|
+
response:
|
78
|
+
status:
|
79
|
+
code: 200
|
80
|
+
message: OK
|
81
|
+
headers:
|
82
|
+
Access-Control-Allow-Credentials:
|
83
|
+
- 'false'
|
84
|
+
Content-Type:
|
85
|
+
- application/json; charset=UTF-8
|
86
|
+
Date:
|
87
|
+
- Fri, 09 Jan 2015 18:46:48 GMT
|
88
|
+
Content-Length:
|
89
|
+
- '5818'
|
90
|
+
Connection:
|
91
|
+
- keep-alive
|
92
|
+
body:
|
93
|
+
encoding: UTF-8
|
94
|
+
string: '{"results":[{"portalId":62515,"dealId":1245777,"isDeleted":false,"associations":{"associatedVids":[259323],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
95
|
+
- 1 month","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
96
|
+
- 1 month","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420787916-gou2rzdgjzx2@u2rzdgjzx2.com","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420787916-gou2rzdgjzx2@u2rzdgjzx2.com","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"amount":{"value":"0","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"0","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420787917686","timestamp":1420787917692,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420787917686","timestamp":1420787917692,"sourceVid":[]}]},"subscription_expiration":{"value":"02/10/2015","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"02/10/2015","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"YES","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"YES","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420787917686","timestamp":1420787917692,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420787917686","timestamp":1420787917692,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420787917692,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420787917686","timestamp":1420787917692,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420787917686","timestamp":1420787917692,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420787917692,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420787917692,"source":"API","sourceVid":[]}]}}},{"portalId":62515,"dealId":1390526,"isDeleted":false,"associations":{"associatedVids":[259249],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
97
|
+
- 3 months","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
98
|
+
- 3 months","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420704406-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420704406-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"amount":{"value":"199","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"199","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420704408846","timestamp":1420704408848,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420704408846","timestamp":1420704408848,"sourceVid":[]}]},"subscription_expiration":{"value":"04/09/2015","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"04/09/2015","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420704408846","timestamp":1420704408848,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420704408846","timestamp":1420704408848,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420704408846","timestamp":1420704408848,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420704408846","timestamp":1420704408848,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420704408848,"source":"API","sourceVid":[]}]}}}],"hasMore":true,"offset":2,"total":94}'
|
99
|
+
http_version:
|
100
|
+
recorded_at: Fri, 09 Jan 2015 18:46:48 GMT
|
101
|
+
- request:
|
102
|
+
method: get
|
103
|
+
uri: https://api.hubapi.com/deals/v1/deal/recent/modified?count=1&hapikey=demo&offset=1
|
104
|
+
body:
|
105
|
+
encoding: US-ASCII
|
106
|
+
string: ''
|
107
|
+
headers: {}
|
108
|
+
response:
|
109
|
+
status:
|
110
|
+
code: 200
|
111
|
+
message: OK
|
112
|
+
headers:
|
113
|
+
Access-Control-Allow-Credentials:
|
114
|
+
- 'false'
|
115
|
+
Content-Type:
|
116
|
+
- application/json; charset=UTF-8
|
117
|
+
Date:
|
118
|
+
- Fri, 09 Jan 2015 18:49:22 GMT
|
119
|
+
Content-Length:
|
120
|
+
- '2936'
|
121
|
+
Connection:
|
122
|
+
- keep-alive
|
123
|
+
body:
|
124
|
+
encoding: UTF-8
|
125
|
+
string: '{"results":[{"portalId":62515,"dealId":1390526,"isDeleted":false,"associations":{"associatedVids":[259249],"associatedCompanyIds":[],"associatedDealIds":[]},"properties":{"goanimatesubscriptionplan":{"value":"GoPremium
|
126
|
+
- 3 months","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goanimatesubscriptionplan","value":"GoPremium
|
127
|
+
- 3 months","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"dealname":{"value":"1420704406-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"dealname","value":"1420704406-goy6v83a97nr@y6v83a97nr.com","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"amount":{"value":"199","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"amount","value":"199","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"num_associated_contacts":{"value":"1","timestamp":0,"source":"CALCULATED","sourceId":null,"versions":[{"name":"num_associated_contacts","value":"1","source":"CALCULATED","sourceVid":[]}]},"createdate":{"value":"1420704408846","timestamp":1420704408848,"source":null,"sourceId":null,"versions":[{"name":"createdate","value":"1420704408846","timestamp":1420704408848,"sourceVid":[]}]},"subscription_expiration":{"value":"04/09/2015","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"subscription_expiration","value":"04/09/2015","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"goteam_role":{"value":"","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goteam_role","value":"","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"have_a_coupon_code_":{"value":"NO","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"have_a_coupon_code_","value":"NO","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"autorenew":{"value":"ON","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"autorenew","value":"ON","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"hs_lastmodifieddate":{"value":"1420704408846","timestamp":1420704408848,"source":"CALCULATED","sourceId":null,"versions":[{"name":"hs_lastmodifieddate","value":"1420704408846","timestamp":1420704408848,"source":"CALCULATED","sourceVid":[]}]},"dealstage":{"value":"closedwon","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"dealstage","value":"closedwon","timestamp":1420704408848,"source":"API","sourceVid":[]}]},"hs_createdate":{"value":"1420704408846","timestamp":1420704408848,"source":null,"sourceId":null,"versions":[{"name":"hs_createdate","value":"1420704408846","timestamp":1420704408848,"sourceVid":[]}]},"goteam_size":{"value":"0","timestamp":1420704408848,"source":"API","sourceId":null,"versions":[{"name":"goteam_size","value":"0","timestamp":1420704408848,"source":"API","sourceVid":[]}]}}}],"hasMore":true,"offset":2,"total":94}'
|
128
|
+
http_version:
|
129
|
+
recorded_at: Fri, 09 Jan 2015 18:49:21 GMT
|
130
|
+
recorded_with: VCR 2.4.0
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
1
|
describe Hubspot::Deal do
|
4
2
|
let(:example_deal_hash) do
|
5
3
|
VCR.use_cassette("deal_example") do
|
@@ -35,4 +33,50 @@ describe Hubspot::Deal do
|
|
35
33
|
find_deal.properties["amount"].should eql "30"
|
36
34
|
end
|
37
35
|
end
|
36
|
+
|
37
|
+
describe '.recent' do
|
38
|
+
cassette 'find_all_recent_updated_deals'
|
39
|
+
|
40
|
+
it 'must get the recents updated deals' do
|
41
|
+
deals = Hubspot::Deal.recent
|
42
|
+
|
43
|
+
first = deals.first
|
44
|
+
last = deals.last
|
45
|
+
|
46
|
+
expect(first).to be_a Hubspot::Deal
|
47
|
+
expect(first.properties['amount']).to eql '0'
|
48
|
+
expect(first.properties['dealname']).to eql '1420787916-gou2rzdgjzx2@u2rzdgjzx2.com'
|
49
|
+
expect(first.properties['dealstage']).to eql 'closedwon'
|
50
|
+
|
51
|
+
expect(last).to be_a Hubspot::Deal
|
52
|
+
expect(last.properties['amount']).to eql '250'
|
53
|
+
expect(last.properties['dealname']).to eql '1420511993-U9862RD9XR@U9862RD9XR.com'
|
54
|
+
expect(last.properties['dealstage']).to eql 'closedwon'
|
55
|
+
end
|
56
|
+
|
57
|
+
it 'must filter only 2 deals' do
|
58
|
+
deals = Hubspot::Deal.recent(count: 2)
|
59
|
+
expect(deals.size).to eql 2
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'it must offset the deals' do
|
63
|
+
deal = Hubspot::Deal.recent(count: 1, offset: 1).first
|
64
|
+
expect(deal.properties['dealname']).to eql '1420704406-goy6v83a97nr@y6v83a97nr.com' # the third deal
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe '#destroy!' do
|
69
|
+
cassette 'destroy_deal'
|
70
|
+
|
71
|
+
let(:deal) {Hubspot::Deal.create!(62515, [8954037], [27136], {amount: 30})}
|
72
|
+
|
73
|
+
it 'should remove from hubspot' do
|
74
|
+
expect(Hubspot::Deal.find(deal.deal_id)).to_not be_nil
|
75
|
+
|
76
|
+
expect(deal.destroy!).to be_true
|
77
|
+
expect(deal.destroyed?).to be_true
|
78
|
+
|
79
|
+
expect(Hubspot::Deal.find(deal.deal_id)).to be_nil
|
80
|
+
end
|
81
|
+
end
|
38
82
|
end
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
1
|
describe "Contacts API Live test", live: true do
|
4
2
|
# Let's try to hit all the API endpoints at least once
|
5
3
|
|
@@ -7,26 +5,20 @@ describe "Contacts API Live test", live: true do
|
|
7
5
|
Hubspot.configure hapikey: "demo"
|
8
6
|
end
|
9
7
|
|
10
|
-
it
|
11
|
-
contact = Hubspot::Contact.find_by_email "testingapis@hubspot.com"
|
12
|
-
contact.update! firstname: "Clint", lastname: "Eastwood"
|
13
|
-
contact = Hubspot::Contact.find_by_id contact.vid
|
14
|
-
contact["firstname"].should == "Clint"
|
15
|
-
contact["lastname"].should == "Eastwood"
|
16
|
-
end
|
17
|
-
|
18
|
-
it "creates and destroys a contact" do
|
8
|
+
it 'find, update and destroy a contact' do
|
19
9
|
contact = Hubspot::Contact.find_by_email("create_delete_test@hsgemtest.com")
|
20
10
|
contact.destroy! if contact
|
21
|
-
Hubspot::Contact.create!("create_delete_test@hsgemtest.com")
|
22
|
-
contact = Hubspot::Contact.find_by_email("create_delete_test@hsgemtest.com")
|
23
|
-
contact.should be_present
|
24
|
-
contact.destroy!
|
25
|
-
contact = Hubspot::Contact.find_by_email("create_delete_test@hsgemtest.com")
|
26
|
-
contact.should_not be_present
|
27
|
-
end
|
28
11
|
|
29
|
-
|
30
|
-
|
31
|
-
|
12
|
+
contact = Hubspot::Contact.create!("create_delete_test@hsgemtest.com")
|
13
|
+
expect(contact).to be_present
|
14
|
+
|
15
|
+
contact.update! firstname: "Clint", lastname: "Eastwood"
|
16
|
+
contact = Hubspot::Contact.find_by_id(contact.vid)
|
17
|
+
|
18
|
+
expect(contact["firstname"]).to eql "Clint"
|
19
|
+
expect(contact["lastname"]).to eql "Eastwood"
|
20
|
+
|
21
|
+
expect(contact.destroy!).to be_true
|
22
|
+
expect(Hubspot::Contact.find_by_email("create_delete_test@hsgemtest.com")).to be_nil
|
23
|
+
end
|
32
24
|
end
|
metadata
CHANGED
@@ -1,195 +1,195 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubspot-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew DiMichele
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: httparty
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.10.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.10.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rr
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: webmock
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - <
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.10'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - <
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.10'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: vcr
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rdoc
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - '>='
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: jeweler
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - '>='
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: simplecov
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: awesome_print
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- -
|
157
|
+
- - '>='
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - '>='
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: timecop
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - '>='
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: guard-rspec
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- -
|
185
|
+
- - '>='
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- -
|
192
|
+
- - '>='
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
description: hubspot-ruby is a wrapper for the HubSpot REST API
|
@@ -200,13 +200,14 @@ extra_rdoc_files:
|
|
200
200
|
- LICENSE.txt
|
201
201
|
- README.md
|
202
202
|
files:
|
203
|
-
-
|
204
|
-
-
|
203
|
+
- .document
|
204
|
+
- .rspec
|
205
205
|
- Gemfile
|
206
206
|
- Gemfile.lock
|
207
207
|
- Guardfile
|
208
208
|
- LICENSE.txt
|
209
209
|
- README.md
|
210
|
+
- RELEASING.md
|
210
211
|
- Rakefile
|
211
212
|
- hubspot-ruby.gemspec
|
212
213
|
- lib/hubspot-ruby.rb
|
@@ -235,6 +236,8 @@ files:
|
|
235
236
|
- spec/fixtures/vcr_cassettes/deal_create.yml
|
236
237
|
- spec/fixtures/vcr_cassettes/deal_example.yml
|
237
238
|
- spec/fixtures/vcr_cassettes/deal_find.yml
|
239
|
+
- spec/fixtures/vcr_cassettes/destroy_deal.yml
|
240
|
+
- spec/fixtures/vcr_cassettes/find_all_recent_updated_deals.yml
|
238
241
|
- spec/fixtures/vcr_cassettes/form_post.yml
|
239
242
|
- spec/fixtures/vcr_cassettes/one_month_blog_posts_filter_state.yml
|
240
243
|
- spec/fixtures/vcr_cassettes/one_month_blog_posts_list.yml
|
@@ -260,18 +263,19 @@ require_paths:
|
|
260
263
|
- lib
|
261
264
|
required_ruby_version: !ruby/object:Gem::Requirement
|
262
265
|
requirements:
|
263
|
-
- -
|
266
|
+
- - '>='
|
264
267
|
- !ruby/object:Gem::Version
|
265
268
|
version: '0'
|
266
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
270
|
requirements:
|
268
|
-
- -
|
271
|
+
- - '>='
|
269
272
|
- !ruby/object:Gem::Version
|
270
273
|
version: '0'
|
271
274
|
requirements: []
|
272
275
|
rubyforge_project:
|
273
|
-
rubygems_version: 2.4.
|
276
|
+
rubygems_version: 2.4.1
|
274
277
|
signing_key:
|
275
278
|
specification_version: 4
|
276
279
|
summary: hubspot-ruby is a wrapper for the HubSpot REST API
|
277
280
|
test_files: []
|
281
|
+
has_rdoc:
|