desk_api 0.5.8 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +2 -2
- data/README.md +274 -120
- data/lib/desk_api.rb +2 -2
- data/lib/desk_api/client.rb +6 -1
- data/lib/desk_api/configuration.rb +34 -26
- data/lib/desk_api/request/encode_json.rb +11 -0
- data/lib/desk_api/request/oauth.rb +20 -0
- data/lib/desk_api/request/retry.rb +37 -42
- data/lib/desk_api/resource.rb +86 -22
- data/lib/desk_api/response/parse_dates.rb +28 -0
- data/lib/desk_api/response/parse_json.rb +9 -0
- data/lib/desk_api/response/raise_error.rb +11 -16
- data/lib/desk_api/version.rb +1 -1
- data/spec/cassettes/DeskApi_Resource/_all/iterates_over_each_resource_on_each_page.yml +1953 -0
- data/spec/cassettes/DeskApi_Resource/_each_page/iterates_over_each_page.yml +1953 -0
- data/spec/cassettes/DeskApi_Resource/_each_page/raises_NoMethodError_is_called_on_non-page_resources.yml +207 -0
- data/spec/cassettes/DeskApi_Resource/_each_page/uses_a_default_per_page_of_1000.yml +1953 -0
- data/spec/cassettes/DeskApi_Resource/_load/loads_the_resource_if_not_already_loaded.yml +205 -0
- data/spec/cassettes/DeskApi_Resource/_loaded_/returns_true_if_the_resource_is_loaded.yml +205 -0
- data/spec/cassettes/DeskApi_Resource/_next_/changes__definition_to_next_page.yml +407 -0
- data/spec/cassettes/DeskApi_Resource/_next_/returns_nil_on_the_last_page.yml +315 -0
- data/spec/cassettes/DeskApi_Resource/_request/sends_request_through_a_client_and_returns_Faraday_Response.yml +207 -0
- data/spec/cassettes/DeskApi_Resource/_reset_/sets__links__embedded__changed_and__loaded_to_default_values.yml +253 -0
- data/spec/cassettes/DeskApi_Resource/_to_hash/converts_embedded_resources_to_hashes.yml +251 -0
- data/spec/cassettes/DeskApi_Resource/_to_hash/returns_a_hash_for_a_desk_resource.yml +66 -0
- data/spec/cassettes/DeskApi_Resource/_update/can_handle_action_params.yml +427 -0
- data/spec/desk_api/client_spec.rb +23 -17
- data/spec/desk_api/configuration_spec.rb +49 -41
- data/spec/desk_api/default_spec.rb +3 -3
- data/spec/desk_api/error_spec.rb +9 -7
- data/spec/desk_api/rate_limit_spec.rb +1 -1
- data/spec/desk_api/request/encode_json_spec.rb +33 -0
- data/spec/desk_api/request/oauth_spec.rb +31 -0
- data/spec/desk_api/request/retry_spec.rb +4 -4
- data/spec/desk_api/resource_spec.rb +247 -71
- data/spec/desk_api/response/parse_dates_spec.rb +34 -0
- data/spec/desk_api/response/parse_json_spec.rb +34 -0
- data/spec/desk_api/response/raise_error_spec.rb +31 -0
- data/spec/desk_api_spec.rb +6 -6
- data/spec/spec_helper.rb +2 -2
- data/spec/stubs/article.json +51 -0
- data/spec/stubs/to_hash_embed.json +1 -0
- metadata +78 -28
- data/.coveralls.yml +0 -1
- data/.gitignore +0 -23
- data/.rspec +0 -1
- data/.travis.yml +0 -4
- data/.yardopts +0 -3
- data/Gemfile +0 -10
- data/Guardfile +0 -5
- data/Rakefile +0 -32
- data/desk_api.gemspec +0 -32
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'desk_api/response/parse_dates'
|
3
|
+
|
4
|
+
describe DeskApi::Response::ParseDates do
|
5
|
+
before do
|
6
|
+
VCR.turn_off!
|
7
|
+
|
8
|
+
stubs = Faraday::Adapter::Test::Stubs.new do |stub|
|
9
|
+
stub.get('/echo') do
|
10
|
+
[
|
11
|
+
200,
|
12
|
+
{ 'content-type' => 'application/json' },
|
13
|
+
File.open(File.join(RSpec.configuration.root_path, 'stubs', 'article.json')).read
|
14
|
+
]
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
@conn = Faraday.new do |builder|
|
19
|
+
builder.response :desk_parse_dates
|
20
|
+
builder.response :desk_parse_json
|
21
|
+
builder.adapter :test, stubs
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
VCR.turn_on!
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'parses iso 8601 strings to time' do
|
30
|
+
created_at = @conn.get('http://localhost/echo').body['created_at']
|
31
|
+
expect(created_at).to be_instance_of(Time)
|
32
|
+
expect(created_at).to eql(Time.parse('2013-12-12T02:55:05Z'))
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'desk_api/response/parse_json'
|
3
|
+
|
4
|
+
describe DeskApi::Response::ParseJson do
|
5
|
+
before do
|
6
|
+
VCR.turn_off!
|
7
|
+
|
8
|
+
stubs = Faraday::Adapter::Test::Stubs.new do |stub|
|
9
|
+
stub.get('/echo') do
|
10
|
+
[
|
11
|
+
200,
|
12
|
+
{ 'content-type' => 'application/json' },
|
13
|
+
File.open(File.join(RSpec.configuration.root_path, 'stubs', 'article.json')).read
|
14
|
+
]
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
@conn = Faraday.new do |builder|
|
19
|
+
builder.response :desk_parse_json
|
20
|
+
builder.adapter :test, stubs
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
VCR.turn_on!
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'parses the response body into a hash' do
|
29
|
+
body = @conn.get('http://localhost/echo').body
|
30
|
+
compare = JSON.parse File.open(File.join(RSpec.configuration.root_path, 'stubs', 'article.json')).read
|
31
|
+
expect(body).to be_instance_of(Hash)
|
32
|
+
expect(body).to eql(compare)
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'desk_api/response/raise_error'
|
3
|
+
|
4
|
+
describe DeskApi::Response::RaiseError do
|
5
|
+
before do
|
6
|
+
VCR.turn_off!
|
7
|
+
|
8
|
+
stubs = Faraday::Adapter::Test::Stubs.new do |stub|
|
9
|
+
stub.get('/404'){ [404, {}, ''] }
|
10
|
+
stub.get('/502'){ [502, {}, ''] }
|
11
|
+
end
|
12
|
+
|
13
|
+
@conn = Faraday.new do |builder|
|
14
|
+
builder.response :desk_raise_error, DeskApi::Error::ClientError
|
15
|
+
builder.response :desk_raise_error, DeskApi::Error::ServerError
|
16
|
+
builder.adapter :test, stubs
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
after do
|
21
|
+
VCR.turn_on!
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'raises the correct error for client side errors' do
|
25
|
+
expect{ @conn.get('http://localhost/404') }.to raise_error(DeskApi::Error::NotFound)
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'raises the correct error for server side errors' do
|
29
|
+
expect{ @conn.get('http://localhost/502') }.to raise_error(DeskApi::Error::BadGateway)
|
30
|
+
end
|
31
|
+
end
|
data/spec/desk_api_spec.rb
CHANGED
@@ -3,22 +3,22 @@ require 'spec_helper'
|
|
3
3
|
describe DeskApi do
|
4
4
|
describe '.method_missing' do
|
5
5
|
it 'delegates config to DeskApi::Client' do
|
6
|
-
DeskApi.method_missing(:endpoint).
|
6
|
+
expect(DeskApi.method_missing(:endpoint)).to be_a(String)
|
7
7
|
end
|
8
8
|
|
9
9
|
it 'delegates resource request to DeskApi::Client' do
|
10
|
-
DeskApi.method_missing(:cases).
|
10
|
+
expect(DeskApi.method_missing(:cases)).to be_a(DeskApi::Resource)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
describe '.client' do
|
15
15
|
it 'should return a client' do
|
16
|
-
DeskApi.client.
|
16
|
+
expect(DeskApi.client).to be_an_instance_of(DeskApi::Client)
|
17
17
|
end
|
18
18
|
|
19
19
|
context 'when the options do not change' do
|
20
20
|
it 'caches the client' do
|
21
|
-
DeskApi.client.
|
21
|
+
expect(DeskApi.client).to eq(DeskApi.client)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -30,8 +30,8 @@ describe DeskApi do
|
|
30
30
|
config.password = 'password'
|
31
31
|
end
|
32
32
|
client2 = DeskApi.client
|
33
|
-
client1.
|
33
|
+
expect(client1).not_to eq(client2)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
37
|
-
end
|
37
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -12,7 +12,7 @@ end
|
|
12
12
|
|
13
13
|
require 'rspec'
|
14
14
|
require 'vcr'
|
15
|
-
require '
|
15
|
+
require 'desk_api'
|
16
16
|
|
17
17
|
begin
|
18
18
|
require_relative '../config'
|
@@ -45,4 +45,4 @@ end
|
|
45
45
|
RSpec.configure do |config|
|
46
46
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
47
47
|
config.add_setting :root_path, default: File.dirname(__FILE__)
|
48
|
-
end
|
48
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"subject": "Testing OAuth",
|
3
|
+
"body": "OAuth testing",
|
4
|
+
"body_email": "OAuth testing",
|
5
|
+
"body_email_auto": true,
|
6
|
+
"body_chat": "OAuth testing",
|
7
|
+
"body_chat_auto": true,
|
8
|
+
"body_web_callback": "OAuth testing",
|
9
|
+
"body_web_callback_auto": true,
|
10
|
+
"body_twitter": "OAuth testing",
|
11
|
+
"body_twitter_auto": true,
|
12
|
+
"body_qna": "OAuth testing",
|
13
|
+
"body_qna_auto": true,
|
14
|
+
"body_phone": "OAuth testing",
|
15
|
+
"body_phone_auto": true,
|
16
|
+
"body_facebook": "OAuth testing",
|
17
|
+
"body_facebook_auto": true,
|
18
|
+
"rating": 0,
|
19
|
+
"rating_count": 0,
|
20
|
+
"rating_score": 0,
|
21
|
+
"keywords": null,
|
22
|
+
"position": 4,
|
23
|
+
"quickcode": null,
|
24
|
+
"in_support_center": null,
|
25
|
+
"internal_notes": null,
|
26
|
+
"publish_at": null,
|
27
|
+
"created_at": "2013-12-12T02:55:05Z",
|
28
|
+
"updated_at": "2013-12-12T02:55:05Z",
|
29
|
+
"_links": {
|
30
|
+
"self": {
|
31
|
+
"href": "/api/v2/articles/1391017",
|
32
|
+
"class": "article"
|
33
|
+
},
|
34
|
+
"topic": {
|
35
|
+
"href": "/api/v2/topics/498301",
|
36
|
+
"class": "topic"
|
37
|
+
},
|
38
|
+
"translations": {
|
39
|
+
"href": "/api/v2/articles/1391017/translations",
|
40
|
+
"class": "article_translation"
|
41
|
+
},
|
42
|
+
"created_by": {
|
43
|
+
"href": "/api/v2/users/16096734",
|
44
|
+
"class": "user"
|
45
|
+
},
|
46
|
+
"updated_by": {
|
47
|
+
"href": "/api/v2/users/16096734",
|
48
|
+
"class": "user"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"total_entries":386,"page":1,"_links":{"self":{"href":"/api/v2/cases?embed=customer&page=1&per_page=50","class":"page"},"first":{"href":"/api/v2/cases?embed=customer&page=1&per_page=50","class":"page"},"last":{"href":"/api/v2/cases?embed=customer&page=8&per_page=50","class":"page"},"previous":null,"next":{"href":"/api/v2/cases?embed=customer&page=2&per_page=50","class":"page"}},"_embedded":{"entries":[{"id":3012,"external_id":null,"blurb":null,"subject":"","priority":4,"locked_until":null,"description":null,"status":"pending","type":"email","labels":[],"label_ids":[],"language":"en","active_at":"2013-05-10 18:55:10 UTC","created_at":"2013-05-09 18:38:17 UTC","updated_at":"2013-08-05 18:45:21 UTC","received_at":null,"first_opened_at":"2013-05-09 18:38:17 UTC","opened_at":"2013-05-09 18:38:17 UTC","first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3012","class":"case"},"message":{"href":"/api/v2/cases/3012/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3012/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3012/history","class":"history"},"case_links":{"href":"/api/v2/cases/3012/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3012/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3012/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3012/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3012/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3012/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3013,"external_id":null,"blurb":null,"subject":"","priority":4,"locked_until":null,"description":"","status":"open","type":"email","labels":[],"label_ids":[],"language":"en","active_at":"2013-05-10 18:28:14 UTC","created_at":"2013-05-09 21:50:06 UTC","updated_at":"2013-05-10 18:28:11 UTC","received_at":null,"first_opened_at":"2013-05-09 21:50:07 UTC","opened_at":"2013-05-09 21:50:07 UTC","first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":"0","my_new_date_field":null,"my_new_boolean_field":false,"my_new_list_field":"Option 1","follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3013","class":"case"},"message":{"href":"/api/v2/cases/3013/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3013/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3013/history","class":"history"},"case_links":{"href":"/api/v2/cases/3013/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3013/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3013/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3013/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3013/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3013/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3014,"external_id":"","blurb":null,"subject":"Testing Quick Case","priority":8,"locked_until":null,"description":"Some additional Description regarding this email.","status":"resolved","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-10 19:08:27 UTC","created_at":"2013-05-10 19:08:10 UTC","updated_at":"2013-09-10 21:34:34 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":"2013-05-10 19:08:10 UTC","resolved_at":"2013-05-10 19:08:10 UTC","custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3014","class":"case"},"message":{"href":"/api/v2/cases/3014/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3014/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3014/history","class":"history"},"case_links":{"href":"/api/v2/cases/3014/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3014/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3014/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3014/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3014/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3014/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3015,"external_id":null,"blurb":null,"subject":"Testing the Quick Case","priority":9,"locked_until":null,"description":"Additional description.","status":"open","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-10 20:21:21 UTC","created_at":"2013-05-10 20:20:18 UTC","updated_at":"2013-09-10 21:34:34 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3015","class":"case"},"message":{"href":"/api/v2/cases/3015/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3015/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3015/history","class":"history"},"case_links":{"href":"/api/v2/cases/3015/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3015/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3015/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3015/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3015/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3015/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3016,"external_id":null,"blurb":null,"subject":"Testing Quick Case again","priority":8,"locked_until":null,"description":"And a description.","status":"open","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-10 22:01:36 UTC","created_at":"2013-05-10 22:01:25 UTC","updated_at":"2013-09-10 21:34:34 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3016","class":"case"},"message":{"href":"/api/v2/cases/3016/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3016/labels","class":"label"},"assigned_user":{"href":"/api/v2/users/16107036","class":"user"},"assigned_group":{"href":"/api/v2/groups/171214","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3016/history","class":"history"},"case_links":{"href":"/api/v2/cases/3016/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3016/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3016/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3016/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3016/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3016/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3017,"external_id":null,"blurb":null,"subject":"Testing Quick Case once more","priority":5,"locked_until":null,"description":null,"status":"resolved","type":"email","labels":[],"label_ids":[],"language":"de","active_at":null,"created_at":"2013-05-10 22:11:43 UTC","updated_at":"2013-09-10 21:34:35 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":"2013-05-10 22:11:43 UTC","resolved_at":"2013-05-10 22:11:43 UTC","custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3017","class":"case"},"message":{"href":"/api/v2/cases/3017/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3017/labels","class":"label"},"assigned_user":{"href":"/api/v2/users/16096734","class":"user"},"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3017/history","class":"history"},"case_links":{"href":"/api/v2/cases/3017/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3017/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3017/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3017/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3017/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3017/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3018,"external_id":null,"blurb":null,"subject":"Quick Case - 1","priority":8,"locked_until":null,"description":"","status":"open","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-16 01:10:29 UTC","created_at":"2013-05-10 22:20:01 UTC","updated_at":"2013-05-16 01:01:33 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":"0","my_new_date_field":null,"my_new_boolean_field":false,"my_new_list_field":"Option 1","follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3018","class":"case"},"message":{"href":"/api/v2/cases/3018/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3018/labels","class":"label"},"assigned_user":{"href":"/api/v2/users/16107036","class":"user"},"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3018/history","class":"history"},"case_links":{"href":"/api/v2/cases/3018/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3018/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3018/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3018/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3018/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3018/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3019,"external_id":null,"blurb":null,"subject":"Testing Stuff","priority":5,"locked_until":null,"description":"Testing stuff","status":"open","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-10 22:25:38 UTC","created_at":"2013-05-10 22:25:19 UTC","updated_at":"2013-09-10 21:34:35 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3019","class":"case"},"message":{"href":"/api/v2/cases/3019/message","class":"email"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3019/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3019/history","class":"history"},"case_links":{"href":"/api/v2/cases/3019/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3019/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3019/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3019/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3019/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3019/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3021,"external_id":null,"blurb":"","subject":"Testing stuff","priority":5,"locked_until":null,"description":"","status":"open","type":"phone","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-23 23:15:51 UTC","created_at":"2013-05-10 23:02:08 UTC","updated_at":"2013-05-15 00:17:23 UTC","received_at":"2013-05-15 00:17:23 UTC","first_opened_at":null,"opened_at":"2013-05-15 00:17:23 UTC","first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":"0","my_new_date_field":null,"my_new_boolean_field":false,"my_new_list_field":"Option 1","follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3021","class":"case"},"message":{"href":"/api/v2/cases/3021/message","class":"phone"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3021/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3021/history","class":"history"},"case_links":{"href":"/api/v2/cases/3021/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3021/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3021/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3021/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3021/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3021/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3022,"external_id":null,"blurb":"Hugs, wisdom, boundless affection\n\nThe moms in your life sure know how to deliver. \nWouldn't it be awesome to deliver for them this Mother's Day?\n\nHire a TaskRabbit to drop off flowers, chocolates, \ncupcakes, or anything else to the amazing moms in y","subject":"The moms in your life always deliver.","priority":4,"locked_until":null,"description":null,"status":"open","type":"email","labels":[],"label_ids":[],"language":"en","active_at":"2013-05-11 01:43:17 UTC","created_at":"2013-05-11 00:03:08 UTC","updated_at":"2013-09-10 21:34:35 UTC","received_at":"2013-05-11 00:03:08 UTC","first_opened_at":"2013-05-11 01:39:46 UTC","opened_at":"2013-05-11 01:39:46 UTC","first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3022","class":"case"},"message":{"href":"/api/v2/cases/3022/message","class":"email"},"customer":{"href":"/api/v2/customers/85614510","class":"customer"},"labels":{"href":"/api/v2/cases/3022/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3022/history","class":"history"},"case_links":{"href":"/api/v2/cases/3022/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3022/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3022/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3022/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3022/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3022/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85614510,"first_name":"TaskRabbit","last_name":"","company":"taskrabbitmail.com","title":null,"avatar":"http://www.gravatar.com/avatar/ed0d2cf9ef49c183db555b5deab14215?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 00:03:08 UTC","updated_at":"2013-05-11 00:03:08 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"support@taskrabbitmail.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85614510","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5343717","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85614510/cases","class":"case","count":1}}}}},{"id":3023,"external_id":null,"blurb":"","subject":"Thomas Stachl - You got 1 new mention","priority":4,"locked_until":null,"description":null,"status":"open","type":"email","labels":[],"label_ids":[],"language":"en","active_at":"2013-05-16 18:12:22 UTC","created_at":"2013-05-11 00:05:00 UTC","updated_at":"2013-09-10 21:34:35 UTC","received_at":"2013-05-11 00:05:00 UTC","first_opened_at":"2013-05-16 18:12:22 UTC","opened_at":"2013-05-16 18:12:22 UTC","first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3023","class":"case"},"message":{"href":"/api/v2/cases/3023/message","class":"email"},"customer":{"href":"/api/v2/customers/85614731","class":"customer"},"labels":{"href":"/api/v2/cases/3023/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3023/history","class":"history"},"case_links":{"href":"/api/v2/cases/3023/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3023/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3023/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3023/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3023/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3023/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85614731,"first_name":"mention","last_name":"","company":"mention.net","title":null,"avatar":"http://www.gravatar.com/avatar/b25657f03851423660ff4530859250f3?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 00:05:00 UTC","updated_at":"2013-05-11 00:05:00 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"notification@mention.net"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85614731","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5343742","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85614731/cases","class":"case","count":1}}}}},{"id":3024,"external_id":null,"blurb":"Please use an HTML-capable email client to view this message.\n\n","subject":"[The Uptown] Daily Digest for 05/10/2013","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 00:49:57 UTC","updated_at":"2013-09-10 21:34:35 UTC","received_at":"2013-05-11 00:49:57 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3024","class":"case"},"message":{"href":"/api/v2/cases/3024/message","class":"email"},"customer":{"href":"/api/v2/customers/85620183","class":"customer"},"labels":{"href":"/api/v2/cases/3024/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3024/history","class":"history"},"case_links":{"href":"/api/v2/cases/3024/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3024/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3024/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3024/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3024/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3024/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85620183,"first_name":"No","last_name":"Reply","company":"activebuilding.com","title":null,"avatar":"http://www.gravatar.com/avatar/d187f0f5e5d9c2c91d846d90a5c20060?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 00:49:57 UTC","updated_at":"2013-05-11 00:49:57 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@activebuilding.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85620183","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5344164","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85620183/cases","class":"case","count":3}}}}},{"id":3025,"external_id":null,"blurb":"MyFonts: Rising Stars, May 2013\r\n\r\n - the MyFonts newsletter of popular new fonts (issue #110)\r\n\r\nIf the Best Seller lists on MyFonts are something of a barometer of trends\r\nin typography, then there are two main currents - and they are\r\ndiametricall","subject":"Rising Stars May 2013","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 01:23:54 UTC","updated_at":"2013-09-10 21:34:35 UTC","received_at":"2013-05-11 01:23:54 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3025","class":"case"},"message":{"href":"/api/v2/cases/3025/message","class":"email"},"customer":{"href":"/api/v2/customers/85623855","class":"customer"},"labels":{"href":"/api/v2/cases/3025/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3025/history","class":"history"},"case_links":{"href":"/api/v2/cases/3025/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3025/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3025/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3025/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3025/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3025/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85623855,"first_name":"MyFonts","last_name":"News","company":"myfonts.com","title":null,"avatar":"http://www.gravatar.com/avatar/758fa48602339897908507b3066af508?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 01:23:54 UTC","updated_at":"2013-05-11 01:23:54 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"newsletters-no-reply@myfonts.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85623855","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5344428","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85623855/cases","class":"case","count":1}}}}},{"id":3026,"external_id":null,"blurb":"iohojho","subject":"kjhj","priority":5,"locked_until":null,"description":null,"status":"open","type":"phone","labels":[],"label_ids":[],"language":"de","active_at":null,"created_at":"2013-05-11 01:41:04 UTC","updated_at":"2013-09-10 21:34:36 UTC","received_at":"2013-05-11 01:41:05 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3026","class":"case"},"message":{"href":"/api/v2/cases/3026/message","class":"phone"},"customer":{"href":"/api/v2/customers/176573942","class":"customer"},"labels":{"href":"/api/v2/cases/3026/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3026/history","class":"history"},"case_links":{"href":"/api/v2/cases/3026/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3026/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3026/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3026/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3026/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3026/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":176573942,"first_name":"Thomas","last_name":"Stachl","company":"stachl.me","title":"Master of Script Artistry","avatar":"https://graph.facebook.com/1107078380/picture?type=square","external_id":null,"background":"Some Background information.","language":"en_us","locked_until":null,"created_at":"2014-04-14 19:40:43 UTC","updated_at":"2014-04-14 19:42:20 UTC","custom_fields":{"my_custom_field":null,"my_number_field":"0","my_boolean_field":null,"my_date_field":null,"my_list_field":"Option 1","magento_id":null},"emails":[{"type":"home","value":"tstachl@salesforce.com"},{"type":"home","value":"thomas@stachl.me"}],"phone_numbers":[{"type":"mobile","value":"4156060761"}],"addresses":[{"type":"home","value":"600 William Street #526\r\nOakland, CA 94612"}],"_links":{"self":{"href":"/api/v2/customers/176573942","class":"customer"},"locked_by":{"href":null,"class":"site"},"company":{"href":"/api/v2/companies/373760","class":"company"},"facebook_user":{"href":"/api/v2/facebook_users/1885471","class":"facebook_user"},"twitter_user":null,"cases":{"href":"/api/v2/customers/176573942/cases","class":"case","count":0}}}}},{"id":3027,"external_id":null,"blurb":"Please use an HTML-capable email client to view this message.\n\n","subject":"[The Uptown] New Package Notification","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 02:14:38 UTC","updated_at":"2013-09-10 21:34:36 UTC","received_at":"2013-05-11 02:14:38 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3027","class":"case"},"message":{"href":"/api/v2/cases/3027/message","class":"email"},"customer":{"href":"/api/v2/customers/85620183","class":"customer"},"labels":{"href":"/api/v2/cases/3027/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3027/history","class":"history"},"case_links":{"href":"/api/v2/cases/3027/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3027/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3027/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3027/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3027/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3027/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85620183,"first_name":"No","last_name":"Reply","company":"activebuilding.com","title":null,"avatar":"http://www.gravatar.com/avatar/d187f0f5e5d9c2c91d846d90a5c20060?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 00:49:57 UTC","updated_at":"2013-05-11 00:49:57 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@activebuilding.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85620183","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5344164","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85620183/cases","class":"case","count":3}}}}},{"id":3028,"external_id":null,"blurb":"\r\n\r\nYour Weekly Summary Friday, May 3, 2013 - Friday, May 10, 2013\r\n\r\n\r\nYour Accounts\r\n\r\n * PayPal - PayPal Account: $6,366.64\r\n * Wells Fargo - WELLS FARGO AT WORK(SM) CHECKING: $3,933.74\r\n * Lending Club - LendingClub: $1,002.32\r\n\r\nNet Wor","subject":"Your Weekly Financial Summary from Mint.com - 05/10/2013","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 02:25:47 UTC","updated_at":"2013-09-10 21:34:36 UTC","received_at":"2013-05-11 02:25:48 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3028","class":"case"},"message":{"href":"/api/v2/cases/3028/message","class":"email"},"customer":{"href":"/api/v2/customers/85630608","class":"customer"},"labels":{"href":"/api/v2/cases/3028/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3028/history","class":"history"},"case_links":{"href":"/api/v2/cases/3028/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3028/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3028/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3028/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3028/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3028/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85630608,"first_name":"noreply","last_name":"","company":"mint.com","title":null,"avatar":"http://www.gravatar.com/avatar/87bd008c72e9a6dc3aa953d5d6952b2e?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 02:25:47 UTC","updated_at":"2013-05-11 02:25:47 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@mint.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85630608","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5344918","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85630608/cases","class":"case","count":1}}}}},{"id":3029,"external_id":null,"blurb":"Wenn dieser Newsletter nicht richtig angezeigt wird, klicken Sie bitte\nhier:\nhttp://news.eduscho.at/go/8/QNYVF67-QKP4RMR-Y429K1-JP532M.html\n**********************************************************************\n\nLiebe Eduscho.at Kundin, lieber Edusch","subject":"Städtehighlights z.B. Hamburg mit Flug ab 299,- €","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 08:16:41 UTC","updated_at":"2013-09-10 21:34:36 UTC","received_at":"2013-05-11 08:16:41 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3029","class":"case"},"message":{"href":"/api/v2/cases/3029/message","class":"email"},"customer":{"href":"/api/v2/customers/85666173","class":"customer"},"labels":{"href":"/api/v2/cases/3029/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3029/history","class":"history"},"case_links":{"href":"/api/v2/cases/3029/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3029/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3029/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3029/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3029/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3029/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85666173,"first_name":"newsletter","last_name":"","company":"eduscho.at","title":null,"avatar":"http://www.gravatar.com/avatar/f67bd5acc23972f77a05432f6491383d?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 08:16:41 UTC","updated_at":"2013-05-11 08:16:41 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"newsletter@eduscho.at"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85666173","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5347732","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85666173/cases","class":"case","count":1}}}}},{"id":3030,"external_id":null,"blurb":"Platform-as-a-Service\r\n Send me an email for each new discussion » http://www.linkedin.com/e/xz83s3-hgklyhay-6n/snp/728097/true/grp_email_subscribe_new_posts/?hs=false&tok=0r6kbcJ6z9ZRI1\r\n\r\n\r\n\r\n Manager's Choice\r\n RingDNA releases mobile ","subject":"RingDNA releases mobile call tracking app to 'make sales reps smarter'","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 09:45:50 UTC","updated_at":"2013-09-10 21:34:36 UTC","received_at":"2013-05-11 09:45:50 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3030","class":"case"},"message":{"href":"/api/v2/cases/3030/message","class":"email"},"customer":{"href":"/api/v2/customers/85674329","class":"customer"},"labels":{"href":"/api/v2/cases/3030/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3030/history","class":"history"},"case_links":{"href":"/api/v2/cases/3030/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3030/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3030/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3030/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3030/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3030/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85674329,"first_name":"Platform-as-a-Service","last_name":"Group Members","company":"linkedin.com","title":null,"avatar":"http://www.gravatar.com/avatar/0b017ff9463939f2ce2892c22bdf40dd?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 09:45:50 UTC","updated_at":"2013-05-11 09:45:50 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"group-digest@linkedin.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85674329","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5348368","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85674329/cases","class":"case","count":1}}}}},{"id":3031,"external_id":null,"blurb":"http://hoteltonight.com/\r\nhttp://www.facebook.com/HotelTonight\r\nhttp://twitter.com/HotelTonight\r\n\r\nAnnouncing the latest & greatest from HT: Snap Your Stay\r\n\r\nIt's been busy 'round here at HT HQ, per ushe! Not only are we now in 100+ destinations, 12","subject":"Get credits for trying out our new Snap Your Stay feature","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 10:06:36 UTC","updated_at":"2013-09-10 21:34:37 UTC","received_at":"2013-05-11 10:06:36 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3031","class":"case"},"message":{"href":"/api/v2/cases/3031/message","class":"email"},"customer":{"href":"/api/v2/customers/85676376","class":"customer"},"labels":{"href":"/api/v2/cases/3031/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3031/history","class":"history"},"case_links":{"href":"/api/v2/cases/3031/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3031/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3031/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3031/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3031/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3031/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85676376,"first_name":"Hotel","last_name":"Tonight","company":"hoteltonight.com","title":null,"avatar":"http://www.gravatar.com/avatar/3fe2ce767ebb76f8e7bc2a3ad88649ca?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 10:06:36 UTC","updated_at":"2013-05-11 10:06:36 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"sleeptight@hoteltonight.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85676376","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5348501","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85676376/cases","class":"case","count":1}}}}},{"id":3032,"external_id":null,"blurb":"LinkedIn\r\n------------\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n Simone Seri has indicated you are a Friend\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n------------------------------------------\r\n\r\nI'd like to add you to my professional network on LinkedIn","subject":"Thomas, stay in touch with me on LinkedIn","priority":4,"locked_until":null,"description":null,"status":"open","type":"email","labels":[],"label_ids":[],"language":"en","active_at":"2013-05-13 16:49:33 UTC","created_at":"2013-05-11 11:07:46 UTC","updated_at":"2013-09-10 21:34:37 UTC","received_at":"2013-05-11 11:07:46 UTC","first_opened_at":"2013-05-13 16:49:34 UTC","opened_at":"2013-05-13 16:49:34 UTC","first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3032","class":"case"},"message":{"href":"/api/v2/cases/3032/message","class":"email"},"customer":{"href":"/api/v2/customers/85682378","class":"customer"},"labels":{"href":"/api/v2/cases/3032/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3032/history","class":"history"},"case_links":{"href":"/api/v2/cases/3032/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3032/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3032/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3032/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3032/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3032/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85682378,"first_name":"Simone","last_name":"Seri","company":null,"title":null,"avatar":"http://www.gravatar.com/avatar/7115b1cef9b91e7a6d1cf71f8a3b2b64?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 11:07:46 UTC","updated_at":"2013-05-11 11:07:46 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"skatter78@gmail.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85682378","class":"customer"},"locked_by":null,"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85682378/cases","class":"case","count":1}}}}},{"id":3033,"external_id":null,"blurb":"MEINVERZEICHNIS \n \n \n\nmeinVZ (http://www.meinvz.net/Home/?cmpid=eml_PD_avz_default_top_logo)\n \t Hallo Thomas,\n bei Dir hat sich was getan! \n\n Irene (http://www.meinvz.net/?cmpid=eml_PD_avz_default_top_birthday_pic#Profile/U:@BGQnlFLGRhjE3qk","subject":"Neuigkeiten für Dich bei meinVZ.","priority":4,"locked_until":null,"description":"","status":"resolved","type":"email","labels":[],"label_ids":[],"language":"en","active_at":"2013-08-07 19:22:19 UTC","created_at":"2013-05-11 11:15:29 UTC","updated_at":"2013-08-07 19:23:03 UTC","received_at":"2013-05-11 11:15:29 UTC","first_opened_at":"2013-08-07 19:22:19 UTC","opened_at":"2013-08-07 19:22:19 UTC","first_resolved_at":"2013-08-07 19:22:27 UTC","resolved_at":"2013-08-07 19:22:27 UTC","custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3033","class":"case"},"message":{"href":"/api/v2/cases/3033/message","class":"email"},"customer":{"href":"/api/v2/customers/85682944","class":"customer"},"labels":{"href":"/api/v2/cases/3033/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3033/history","class":"history"},"case_links":{"href":"/api/v2/cases/3033/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3033/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3033/replies","class":"reply","count":2},"draft":{"href":"/api/v2/cases/3033/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3033/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3033/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85682944,"first_name":"meinVZ-Team","last_name":"","company":"meinvz.net","title":null,"avatar":"http://www.gravatar.com/avatar/5e6f04eb6761be35fd8f2b3431d2a745?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 11:15:29 UTC","updated_at":"2013-05-11 11:15:29 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply-1@meinvz.net"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85682944","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5349054","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85682944/cases","class":"case","count":1}}}}},{"id":3034,"external_id":null,"blurb":"Salesforce.com Certified Professionals\n Today's new discussions from Salesforce.com Certified Professionals group members. Change the frequency of this digest:\n http://www.linkedin.com/e/xz83s3-hgksl3xd-2h/ahs/151420/EMLt_anet_settings/?hs=false&t","subject":"How many Lead Status values do you have in your org? If recordtypes are used, answer with the average. Feel free to comment on what they are. Thanks.","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 12:53:09 UTC","updated_at":"2013-09-10 21:34:37 UTC","received_at":"2013-05-11 12:53:09 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3034","class":"case"},"message":{"href":"/api/v2/cases/3034/message","class":"email"},"customer":{"href":"/api/v2/customers/85693711","class":"customer"},"labels":{"href":"/api/v2/cases/3034/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3034/history","class":"history"},"case_links":{"href":"/api/v2/cases/3034/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3034/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3034/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3034/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3034/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3034/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85693711,"first_name":"Salesforce.com","last_name":"Certified Professionals Group Members","company":"linkedin.com","title":null,"avatar":"http://www.gravatar.com/avatar/e6861488cc388fc3ddf5396f40bdb803?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 12:53:09 UTC","updated_at":"2013-05-11 12:53:09 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"group-digests@linkedin.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85693711","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5348368","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85693711/cases","class":"case","count":2}}}}},{"id":3035,"external_id":null,"blurb":"your daily deal\r\n\r\nSAN FRANCISCO presented by LivingSocial\r\n\r\nGael Modern Health\r\n74% Off Body Vibration and Hydrocolonic Therapy\r\n\r\nPrice: $99\r\n\r\n\r\n\r\n1 Deal Location:\r\n\r\n\r\n\r\n\r\nThe professional staff at Gael Modern Health will harness the power of cl","subject":"Hydrocolonic Therapy","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 13:09:43 UTC","updated_at":"2013-09-10 21:34:37 UTC","received_at":"2013-05-11 13:09:43 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3035","class":"case"},"message":{"href":"/api/v2/cases/3035/message","class":"email"},"customer":{"href":"/api/v2/customers/85696350","class":"customer"},"labels":{"href":"/api/v2/cases/3035/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3035/history","class":"history"},"case_links":{"href":"/api/v2/cases/3035/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3035/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3035/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3035/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3035/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3035/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85696350,"first_name":"replies","last_name":"","company":"livingsocial.com","title":null,"avatar":"http://www.gravatar.com/avatar/7a2c4bc6c44984174ba5f016ea4d374f?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 13:09:43 UTC","updated_at":"2013-05-11 13:09:43 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"replies@livingsocial.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85696350","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5350200","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85696350/cases","class":"case","count":4}}}}},{"id":3036,"external_id":null,"blurb":"your daily deal\r\n\r\nOAKLAND / EAST BAY presented by LivingSocial\r\n\r\nA Better Body\r\n94% Off 20 Boot Camp Classes\r\n\r\nPrice: $30\r\n\r\n\r\n\r\n1 Deal Location:\r\n\r\n\r\n\r\n\r\nThe folks at this Jack London Square fitness facility can help you go from good to better to","subject":"Boot Camp","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 13:09:44 UTC","updated_at":"2013-09-10 21:34:37 UTC","received_at":"2013-05-11 13:09:44 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3036","class":"case"},"message":{"href":"/api/v2/cases/3036/message","class":"email"},"customer":{"href":"/api/v2/customers/85696350","class":"customer"},"labels":{"href":"/api/v2/cases/3036/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3036/history","class":"history"},"case_links":{"href":"/api/v2/cases/3036/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3036/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3036/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3036/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3036/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3036/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85696350,"first_name":"replies","last_name":"","company":"livingsocial.com","title":null,"avatar":"http://www.gravatar.com/avatar/7a2c4bc6c44984174ba5f016ea4d374f?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 13:09:43 UTC","updated_at":"2013-05-11 13:09:43 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"replies@livingsocial.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85696350","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5350200","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85696350/cases","class":"case","count":4}}}}},{"id":3037,"external_id":null,"blurb":"Hojoki Daily Catch-Up: Sat, 11 May 2013\r\n========================================\r\n\r\nHi Thomas,\r\n\r\nThis is what has happened over the past 24 hours:\r\n\r\n## My Apps\r\nhttps://my.hojoki.com/#/p7940813\r\n\r\n###### GitHub\r\n* fractastical/BlockAlertsAnd-Actio","subject":"Daily Catch-Up - Sat, 11 May 2013","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 13:58:58 UTC","updated_at":"2013-09-10 21:34:37 UTC","received_at":"2013-05-11 13:58:58 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3037","class":"case"},"message":{"href":"/api/v2/cases/3037/message","class":"email"},"customer":{"href":"/api/v2/customers/85702560","class":"customer"},"labels":{"href":"/api/v2/cases/3037/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3037/history","class":"history"},"case_links":{"href":"/api/v2/cases/3037/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3037/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3037/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3037/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3037/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3037/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85702560,"first_name":"Hojoki","last_name":"","company":"hojoki.com","title":null,"avatar":"http://www.gravatar.com/avatar/36f2a8c03c297e99e6e983955ffc5c05?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 13:58:58 UTC","updated_at":"2013-05-11 13:58:58 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"daily@hojoki.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85702560","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5350690","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85702560/cases","class":"case","count":2}}}}},{"id":3038,"external_id":null,"blurb":"One Kings Lane\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r","subject":"Retro kitchenware, bird-themed tableware, floor lamps, rugs by designers we love, tables & more","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 15:04:49 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 15:04:49 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3038","class":"case"},"message":{"href":"/api/v2/cases/3038/message","class":"email"},"customer":{"href":"/api/v2/customers/85711506","class":"customer"},"labels":{"href":"/api/v2/cases/3038/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3038/history","class":"history"},"case_links":{"href":"/api/v2/cases/3038/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3038/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3038/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3038/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3038/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3038/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85711506,"first_name":"OneKingsLane.com","last_name":"","company":"communications.onekingslane.com","title":null,"avatar":"http://www.gravatar.com/avatar/b295766c6f6d8ae7ee9c6ac8c905aad7?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 15:04:49 UTC","updated_at":"2013-05-11 15:04:49 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"events@communications.onekingslane.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85711506","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5351388","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85711506/cases","class":"case","count":2}}}}},{"id":3039,"external_id":null,"blurb":"Your Weekly Pinterest (http://email.pinterest.com/wf/click?upn=LneOtn3z4joCHC-2FVwrRO3-2BLhyOdLh-2FfZCZ0Fuqs3wR1fIcTjHYklUcZhEW4VF39pHwXT8inEa-2BWXehOtVoxuR8T0gZpQxliZs1gf7a-2BosVNKfyjxk1eTFOm5Xc5Oa-2BIVhPRngUI5tUJ6YGyIXqtML167SNyu5KPJhThynNpGQnAjzbs","subject":"Your Weekly Inspiration from Pinterest","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 15:04:50 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 15:04:50 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3039","class":"case"},"message":{"href":"/api/v2/cases/3039/message","class":"email"},"customer":{"href":"/api/v2/customers/85711509","class":"customer"},"labels":{"href":"/api/v2/cases/3039/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3039/history","class":"history"},"case_links":{"href":"/api/v2/cases/3039/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3039/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3039/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3039/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3039/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3039/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85711509,"first_name":"no-reply","last_name":"","company":"pinterest.com","title":null,"avatar":"http://www.gravatar.com/avatar/07684fe7d831bbb054f7600e1f386fa0?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 15:04:50 UTC","updated_at":"2013-05-11 15:04:50 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"no-reply@pinterest.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85711509","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5351390","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85711509/cases","class":"case","count":1}}}}},{"id":3040,"external_id":null,"blurb":"Your Daily San Francisco Groupon | Go to Groupon.com (http://www.groupon.com/san-francisco?utm_source=newsletter&utm_medium=email&sid=a75449fd-3508-4add-9e67-7c6dce2c728e&division=san-francisco&user=f07795573252fce82801526610d60eb812686886dfc07d0","subject":"Ferrari or Lamborghini Drive","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 15:11:06 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 15:11:06 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3040","class":"case"},"message":{"href":"/api/v2/cases/3040/message","class":"email"},"customer":{"href":"/api/v2/customers/85712173","class":"customer"},"labels":{"href":"/api/v2/cases/3040/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3040/history","class":"history"},"case_links":{"href":"/api/v2/cases/3040/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3040/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3040/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3040/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3040/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3040/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85712173,"first_name":"Groupon","last_name":"","company":"r.groupon.com","title":null,"avatar":"http://www.gravatar.com/avatar/d7038e27f7fcc99cbeedace6e3f57c67?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 15:11:06 UTC","updated_at":"2013-05-11 15:11:06 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@r.groupon.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85712173","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5351449","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85712173/cases","class":"case","count":2}}}}},{"id":3041,"external_id":null,"blurb":"To All Our Valued Users,\n \n I'm proud to announce that we have changed our company name - Pageonce is now Check!\n \n I wanted to personally write and let you know about the exciting news. We continually strive to evolve and enhance our product to prov","subject":"Special Announcement: Pageonce is now Check!","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 15:17:19 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 15:17:19 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3041","class":"case"},"message":{"href":"/api/v2/cases/3041/message","class":"email"},"customer":{"href":"/api/v2/customers/85712890","class":"customer"},"labels":{"href":"/api/v2/cases/3041/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3041/history","class":"history"},"case_links":{"href":"/api/v2/cases/3041/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3041/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3041/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3041/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3041/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3041/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85712890,"first_name":"Check","last_name":"(formerly Pageonce)","company":"check.me","title":null,"avatar":"http://www.gravatar.com/avatar/a4a1ec06a989d7ccdf83c2d14b19aa32?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 15:17:18 UTC","updated_at":"2013-05-11 15:17:18 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"updates@check.me"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85712890","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5351522","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85712890/cases","class":"case","count":1}}}}},{"id":3042,"external_id":null,"blurb":"----------------\r\nJACKTHREADS.COM\r\n----------------\r\n\r\nON SALE NOW\r\n\r\nNew Arrivals: Warm-Weather Gear, New Arrivals: Summer Shoes,\r\nNew Arrivals: Props for Your Pad, Beans & Bones Printed &\r\nLeather Ties, Most-Wanted Watches ft. Monument, Happy Socks","subject":"New Arrivals: Warm-Weather Gear, Props for Your Pad & More | Need It Now: Beans & Bones | Most-Wanted Watches | Graphic Hip-Hop Tees | Happy Socks Gift Boxes & More","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 16:49:22 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 16:49:22 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3042","class":"case"},"message":{"href":"/api/v2/cases/3042/message","class":"email"},"customer":{"href":"/api/v2/customers/85726596","class":"customer"},"labels":{"href":"/api/v2/cases/3042/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3042/history","class":"history"},"case_links":{"href":"/api/v2/cases/3042/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3042/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3042/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3042/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3042/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3042/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85726596,"first_name":"JackThreads","last_name":"","company":"jackthreads.com","title":null,"avatar":"http://www.gravatar.com/avatar/8122b8ed6893a86c4a46609a43627451?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 16:49:21 UTC","updated_at":"2013-05-11 16:49:22 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@jackthreads.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85726596","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5352568","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85726596/cases","class":"case","count":1}}}}},{"id":3043,"external_id":null,"blurb":"ETRADE FINANCIAL (https://us.etrade.com/e/t/home) \nImportant Information \n \t\n\nMay 10, 2013\tSecond Notice \n \n Dear Valued Investor, \n \n We have some important information about your account that requires your attention. Please call us at your earli","subject":"Important Account Notice","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 17:00:32 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 17:00:32 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3043","class":"case"},"message":{"href":"/api/v2/cases/3043/message","class":"email"},"customer":{"href":"/api/v2/customers/85728040","class":"customer"},"labels":{"href":"/api/v2/cases/3043/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3043/history","class":"history"},"case_links":{"href":"/api/v2/cases/3043/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3043/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3043/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3043/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3043/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3043/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85728040,"first_name":"smartalerts-donotreply","last_name":"","company":"etrade.com","title":null,"avatar":"http://www.gravatar.com/avatar/5c801b96167d0accc17efe3cdb8cbf27?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 17:00:32 UTC","updated_at":"2013-05-11 17:00:32 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"smartalerts-donotreply@etrade.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85728040","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5352699","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85728040/cases","class":"case","count":1}}}}},{"id":3047,"external_id":null,"blurb":"Hulu Plus\r\n\r\nTop 5: SNL's Best Mom Moments\r\n\r\n\r\n1. The perfect way to show her how special she is\r\n\r\nHere's a chance to give your mom a present she'll never forget. Just make sure you knock before surprising her in the bedroom. (2 min.) \r\n\r\nhttp://cl","subject":"Mother's Day love from Will Ferrell & Adam Sandler and SNL's Best Mom Moments","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 20:02:14 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 20:02:14 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3047","class":"case"},"message":{"href":"/api/v2/cases/3047/message","class":"email"},"customer":{"href":"/api/v2/customers/85752345","class":"customer"},"labels":{"href":"/api/v2/cases/3047/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3047/history","class":"history"},"case_links":{"href":"/api/v2/cases/3047/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3047/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3047/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3047/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3047/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3047/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85752345,"first_name":"Hulu","last_name":"","company":"hulumail.com","title":null,"avatar":"http://www.gravatar.com/avatar/4dc28d47aca2c606cce53c8bd3950729?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 20:02:14 UTC","updated_at":"2013-05-11 20:02:14 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"reply-fecd107275670179-48_html-109770101-1064447-6010@hulumail.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85752345","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5354696","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85752345/cases","class":"case","count":1}}}}},{"id":3048,"external_id":null,"blurb":"Your week in the cloud\r\n\r\nHello Thomas,\r\n\r\nThis is the weekly stats email sent by Hojoki to thomas@stachl.me. It contains lots of infographic stuff so it's only available in html mode. Please open it with a modern email client. You can add more apps ","subject":"Your week in the cloud 5th May - 12th May","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 22:35:58 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 22:35:58 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3048","class":"case"},"message":{"href":"/api/v2/cases/3048/message","class":"email"},"customer":{"href":"/api/v2/customers/85771500","class":"customer"},"labels":{"href":"/api/v2/cases/3048/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3048/history","class":"history"},"case_links":{"href":"/api/v2/cases/3048/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3048/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3048/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3048/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3048/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3048/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85771500,"first_name":"Hojoki","last_name":"","company":"hojoki.com","title":null,"avatar":"http://www.gravatar.com/avatar/f9ea64800cbf6856bc4dfdf41b78b2c9?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 22:35:58 UTC","updated_at":"2013-05-11 22:35:58 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"weekly@hojoki.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85771500","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5350690","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85771500/cases","class":"case","count":1}}}}},{"id":3049,"external_id":null,"blurb":"We've updated your balance\r\nFor your security:\r\nDear Thomas Stachl,\r\nWe've updated the outstanding balance for your Corporate Card account.\r\nAs of Thu, May 09 at 10:04 AM ET\r\nOutstanding Balance:\r\n$19.64\r\n \r\nView recent activity\r\nMake a payment\r\nUpda","subject":"Account Alert: Your Account Snapshot","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 23:16:25 UTC","updated_at":"2013-09-10 21:34:38 UTC","received_at":"2013-05-11 23:16:25 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3049","class":"case"},"message":{"href":"/api/v2/cases/3049/message","class":"email"},"customer":{"href":"/api/v2/customers/85776070","class":"customer"},"labels":{"href":"/api/v2/cases/3049/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3049/history","class":"history"},"case_links":{"href":"/api/v2/cases/3049/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3049/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3049/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3049/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3049/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3049/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85776070,"first_name":"American","last_name":"Express","company":"service.americanexpress.com","title":null,"avatar":"http://www.gravatar.com/avatar/c456ab26550522bf5ea7ff855782f050?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 23:16:25 UTC","updated_at":"2013-05-11 23:16:25 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"donotreplyus@service.americanexpress.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85776070","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5356330","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85776070/cases","class":"case","count":1}}}}},{"id":3050,"external_id":null,"blurb":"========================================\nGo to Facebook\nhttp://www.facebook.com/n/?index.php&mid=7f8d41fG41fcacecG0G1a&bcode=1.1368315633.AbnjIea3pYjf77Gs&n_m=thomas%40stachl.me\n\nPlan an Event\nhttp://www.facebook.com/n/?events%2Fcreate%2F&mid=7f8d41f","subject":"Bibi Scheuchl, Bethany Herold and 4 others have birthdays this week","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-11 23:41:09 UTC","updated_at":"2013-09-10 21:34:39 UTC","received_at":"2013-05-11 23:41:09 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3050","class":"case"},"message":{"href":"/api/v2/cases/3050/message","class":"email"},"customer":{"href":"/api/v2/customers/85779426","class":"customer"},"labels":{"href":"/api/v2/cases/3050/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3050/history","class":"history"},"case_links":{"href":"/api/v2/cases/3050/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3050/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3050/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3050/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3050/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3050/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85779426,"first_name":"noreply","last_name":"","company":"facebookmail.com","title":null,"avatar":"http://www.gravatar.com/avatar/e554508e953f28a3a1305f7e622de128?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 23:41:09 UTC","updated_at":"2013-05-11 23:41:09 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@facebookmail.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85779426","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5356522","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85779426/cases","class":"case","count":1}}}}},{"id":3051,"external_id":null,"blurb":"LinkedIn\n------------Group: LinkedPHPers - The Largest PHP Group\n\nSubject: LinkedPHPers Announcement - Posting JOBS and PROMOTIONS on the LinkedPHPers\n\nHello everyone,\n\nAs you probably know in this group we have quite strict rules regarding posting t","subject":"LinkedPHPers Announcement - Posting JOBS and PROMOTIONS on the LinkedPHPers","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 00:01:51 UTC","updated_at":"2013-09-10 21:34:39 UTC","received_at":"2013-05-12 00:01:51 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3051","class":"case"},"message":{"href":"/api/v2/cases/3051/message","class":"email"},"customer":{"href":"/api/v2/customers/85781990","class":"customer"},"labels":{"href":"/api/v2/cases/3051/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3051/history","class":"history"},"case_links":{"href":"/api/v2/cases/3051/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3051/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3051/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3051/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3051/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3051/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85781990,"first_name":"LinkedPHPers","last_name":"- The Largest PHP Group","company":"linkedin.com","title":null,"avatar":"http://www.gravatar.com/avatar/a532a83038d0c40c8aef0db58a37a3de?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-12 00:01:51 UTC","updated_at":"2013-05-12 00:01:51 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"groups-noreply@linkedin.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85781990","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5348368","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85781990/cases","class":"case","count":1}}}}},{"id":3052,"external_id":null,"blurb":"Please use an HTML-capable email client to view this message.\n\n","subject":"[The Uptown] Daily Digest for 05/11/2013","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 00:50:58 UTC","updated_at":"2013-09-10 21:34:39 UTC","received_at":"2013-05-12 00:50:58 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3052","class":"case"},"message":{"href":"/api/v2/cases/3052/message","class":"email"},"customer":{"href":"/api/v2/customers/85620183","class":"customer"},"labels":{"href":"/api/v2/cases/3052/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3052/history","class":"history"},"case_links":{"href":"/api/v2/cases/3052/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3052/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3052/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3052/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3052/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3052/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85620183,"first_name":"No","last_name":"Reply","company":"activebuilding.com","title":null,"avatar":"http://www.gravatar.com/avatar/d187f0f5e5d9c2c91d846d90a5c20060?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 00:49:57 UTC","updated_at":"2013-05-11 00:49:57 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@activebuilding.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85620183","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5344164","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85620183/cases","class":"case","count":3}}}}},{"id":3054,"external_id":null,"blurb":"\r\nWe found 10+ new jobs for you this week\r\n\r\nSolution Sales Specialist Director - Engineered Systems, Global Sales Support - new\r\nMultinational Enterprise Software Company - Menlo Park, CA\r\n14 hours ago\r\nhttp://www.glassdoor.com/partner/jobListing.ht","subject":"10+ new jobs found for you this week","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 03:26:01 UTC","updated_at":"2013-09-10 21:34:39 UTC","received_at":"2013-05-12 03:26:01 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3054","class":"case"},"message":{"href":"/api/v2/cases/3054/message","class":"email"},"customer":{"href":"/api/v2/customers/85807851","class":"customer"},"labels":{"href":"/api/v2/cases/3054/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3054/history","class":"history"},"case_links":{"href":"/api/v2/cases/3054/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3054/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3054/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3054/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3054/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3054/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85807851,"first_name":"Glassdoor","last_name":"","company":"glassdoor.com","title":null,"avatar":"http://www.gravatar.com/avatar/b3ec22f3a405d012c862627c381c3520?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-12 03:26:01 UTC","updated_at":"2013-05-12 03:26:01 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"reply@glassdoor.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85807851","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5358193","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85807851/cases","class":"case","count":1}}}}},{"id":3055,"external_id":null,"blurb":"\n\n=====================================================================\nAMAZON.COM\n=====================================================================\n \nCheck out our collection of men's classic clothes for everyday wear¿from Nautica, Izod, Dock","subject":"Men's Classic Clothes | Nautica, Izod &More","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 08:05:00 UTC","updated_at":"2013-09-10 21:34:39 UTC","received_at":"2013-05-12 08:05:01 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3055","class":"case"},"message":{"href":"/api/v2/cases/3055/message","class":"email"},"customer":{"href":"/api/v2/customers/85838535","class":"customer"},"labels":{"href":"/api/v2/cases/3055/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3055/history","class":"history"},"case_links":{"href":"/api/v2/cases/3055/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3055/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3055/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3055/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3055/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3055/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85838535,"first_name":"Amazon.com","last_name":"","company":"amazon.com","title":null,"avatar":"http://www.gravatar.com/avatar/306fabf5f10d7f91820c058676dd3c1a?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-12 08:05:00 UTC","updated_at":"2013-05-12 08:05:00 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"store-news@amazon.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85838535","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5360141","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85838535/cases","class":"case","count":1}}}}},{"id":3056,"external_id":null,"blurb":"Reminder: Make a deposit today \r\n\r\nAccount Ending: 0482\r\nDear Thomas Stachl,\r\n\r\nThank you for setting up a High-Yield Savings Account account with American Express\r\nPersonal Savings. As a reminder, you should make a deposit right away\r\nso you can st","subject":"Reminder: Make a deposit today","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 08:30:23 UTC","updated_at":"2013-09-10 21:34:40 UTC","received_at":"2013-05-12 08:30:23 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3056","class":"case"},"message":{"href":"/api/v2/cases/3056/message","class":"email"},"customer":{"href":"/api/v2/customers/85840817","class":"customer"},"labels":{"href":"/api/v2/cases/3056/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3056/history","class":"history"},"case_links":{"href":"/api/v2/cases/3056/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3056/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3056/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3056/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3056/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3056/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85840817,"first_name":"American","last_name":"Express","company":"email.americanexpress.com","title":null,"avatar":"http://www.gravatar.com/avatar/76fea0e08cc25299a1a014cd11f957d1?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-12 08:30:23 UTC","updated_at":"2013-05-12 08:30:23 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"support-b77dvhabgwkw05axbvdvxqcg4msu7m@email.americanexpress.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85840817","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5360361","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85840817/cases","class":"case","count":1}}}}},{"id":3057,"external_id":null,"blurb":"Salesforce.com Certified Professionals\r\n Today's new discussions from Salesforce.com Certified Professionals group members. Change the frequency of this digest:\r\n http://www.linkedin.com/e/xz83s3-hgm5wigc-5q/ahs/151420/EMLt_anet_settings/?hs=false","subject":"I need a developer for a couple of hours work. I need to have a Apex trigger created to trigger a WSDL and get the data retrieved via the WSDL into SF.","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 11:54:57 UTC","updated_at":"2013-09-10 21:34:40 UTC","received_at":"2013-05-12 11:54:57 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3057","class":"case"},"message":{"href":"/api/v2/cases/3057/message","class":"email"},"customer":{"href":"/api/v2/customers/85693711","class":"customer"},"labels":{"href":"/api/v2/cases/3057/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3057/history","class":"history"},"case_links":{"href":"/api/v2/cases/3057/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3057/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3057/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3057/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3057/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3057/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85693711,"first_name":"Salesforce.com","last_name":"Certified Professionals Group Members","company":"linkedin.com","title":null,"avatar":"http://www.gravatar.com/avatar/e6861488cc388fc3ddf5396f40bdb803?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 12:53:09 UTC","updated_at":"2013-05-11 12:53:09 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"group-digests@linkedin.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85693711","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5348368","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85693711/cases","class":"case","count":2}}}}},{"id":3058,"external_id":null,"blurb":"One-week Bible plans, plus new plans from James MacDonald and Walk in the Word ministries\n\n5 Popular Week-Long Plans\n\nHere’s a little insider info: If you want to up your odds of finishing a Bible Plan, aim for a short one. In the YouVersion Communit","subject":"Bible Plans You Can Finish this Week, Plus New James MacDonald Plans","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 13:01:00 UTC","updated_at":"2013-09-10 21:34:40 UTC","received_at":"2013-05-12 13:01:00 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3058","class":"case"},"message":{"href":"/api/v2/cases/3058/message","class":"email"},"customer":{"href":"/api/v2/customers/85868602","class":"customer"},"labels":{"href":"/api/v2/cases/3058/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3058/history","class":"history"},"case_links":{"href":"/api/v2/cases/3058/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3058/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3058/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3058/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3058/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3058/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85868602,"first_name":"YouVersion","last_name":"– The Bible App","company":"youversion.com","title":null,"avatar":"http://www.gravatar.com/avatar/b015805d84e9a5a09207e7faafa88b08?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-12 13:01:00 UTC","updated_at":"2013-05-12 13:01:00 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"no-reply@youversion.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85868602","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5362824","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85868602/cases","class":"case","count":1}}}}},{"id":3059,"external_id":null,"blurb":"your daily deal\r\n\r\nOAKLAND / EAST BAY presented by LivingSocial\r\n\r\nCafe Lizzi\r\nStart Five Days with Delicious Breakfasts & Espresso Drinks\r\n\r\nPrice: $18\r\n\r\n\r\n\r\n1 Deal Location:\r\n\r\n\r\n\r\n\r\nA long-time local favorite for those looking for comfort food, f","subject":"50% Off Cafe Lizzi","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 13:14:24 UTC","updated_at":"2013-09-10 21:34:40 UTC","received_at":"2013-05-12 13:14:24 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3059","class":"case"},"message":{"href":"/api/v2/cases/3059/message","class":"email"},"customer":{"href":"/api/v2/customers/85696350","class":"customer"},"labels":{"href":"/api/v2/cases/3059/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3059/history","class":"history"},"case_links":{"href":"/api/v2/cases/3059/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3059/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3059/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3059/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3059/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3059/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85696350,"first_name":"replies","last_name":"","company":"livingsocial.com","title":null,"avatar":"http://www.gravatar.com/avatar/7a2c4bc6c44984174ba5f016ea4d374f?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 13:09:43 UTC","updated_at":"2013-05-11 13:09:43 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"replies@livingsocial.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85696350","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5350200","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85696350/cases","class":"case","count":4}}}}},{"id":3060,"external_id":null,"blurb":"your daily deal\r\n\r\nSAN FRANCISCO presented by LivingSocial\r\n\r\nTerranea Resort\r\nFive Stars on the Pacific Ocean\r\n\r\nPrice: $249\r\n\r\n\r\n\r\n1 Deal Location:\r\n\r\n\r\n\r\n\r\nEscape Kit\r\n• A One-Night Stay for Two in a Resort-View Guest Room ($249 per Night) \r\n• Or","subject":"Celebrate Mother's Day with $5 Off Almost All Purchases + 1 or 3 Nights in Palos Verdes for 2, 4, or 6","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 13:14:25 UTC","updated_at":"2013-09-10 21:34:41 UTC","received_at":"2013-05-12 13:14:25 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3060","class":"case"},"message":{"href":"/api/v2/cases/3060/message","class":"email"},"customer":{"href":"/api/v2/customers/85696350","class":"customer"},"labels":{"href":"/api/v2/cases/3060/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3060/history","class":"history"},"case_links":{"href":"/api/v2/cases/3060/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3060/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3060/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3060/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3060/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3060/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85696350,"first_name":"replies","last_name":"","company":"livingsocial.com","title":null,"avatar":"http://www.gravatar.com/avatar/7a2c4bc6c44984174ba5f016ea4d374f?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 13:09:43 UTC","updated_at":"2013-05-11 13:09:43 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"replies@livingsocial.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85696350","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5350200","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85696350/cases","class":"case","count":4}}}}},{"id":3061,"external_id":null,"blurb":"Hojoki Daily Catch-Up: Sun, 12 May 2013\r\n========================================\r\n\r\nHi Thomas,\r\n\r\nThis is what has happened over the past 24 hours:\r\n\r\n## My Apps\r\nhttps://my.hojoki.com/#/p7940813\r\n\r\n###### GitHub\r\n* wlaurance/time-stamp-hash by wlau","subject":"Daily Catch-Up - Sun, 12 May 2013","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 14:02:16 UTC","updated_at":"2013-09-10 21:34:41 UTC","received_at":"2013-05-12 14:02:16 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3061","class":"case"},"message":{"href":"/api/v2/cases/3061/message","class":"email"},"customer":{"href":"/api/v2/customers/85702560","class":"customer"},"labels":{"href":"/api/v2/cases/3061/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3061/history","class":"history"},"case_links":{"href":"/api/v2/cases/3061/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3061/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3061/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3061/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3061/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3061/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85702560,"first_name":"Hojoki","last_name":"","company":"hojoki.com","title":null,"avatar":"http://www.gravatar.com/avatar/36f2a8c03c297e99e6e983955ffc5c05?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 13:58:58 UTC","updated_at":"2013-05-11 13:58:58 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"daily@hojoki.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85702560","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5350690","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85702560/cases","class":"case","count":2}}}}},{"id":3062,"external_id":null,"blurb":"One Kings Lane\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r","subject":"Living room furniture, elegant jewelry, rugs for every budget, Downstairs clearance items & more","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 15:03:22 UTC","updated_at":"2013-09-10 21:34:41 UTC","received_at":"2013-05-12 15:03:22 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3062","class":"case"},"message":{"href":"/api/v2/cases/3062/message","class":"email"},"customer":{"href":"/api/v2/customers/85711506","class":"customer"},"labels":{"href":"/api/v2/cases/3062/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3062/history","class":"history"},"case_links":{"href":"/api/v2/cases/3062/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3062/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3062/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3062/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3062/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3062/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85711506,"first_name":"OneKingsLane.com","last_name":"","company":"communications.onekingslane.com","title":null,"avatar":"http://www.gravatar.com/avatar/b295766c6f6d8ae7ee9c6ac8c905aad7?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 15:04:49 UTC","updated_at":"2013-05-11 15:04:49 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"events@communications.onekingslane.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85711506","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5351388","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85711506/cases","class":"case","count":2}}}}},{"id":3063,"external_id":null,"blurb":"Your Daily San Francisco Groupon | Go to Groupon.com (http://www.groupon.com/san-francisco?utm_source=newsletter&utm_medium=email&sid=7c5c148c-ab40-45c0-a4e0-9bcaac4a92a1&division=san-francisco&user=f07795573252fce82801526610d60eb812686886dfc07d0","subject":"Mexican Food","priority":4,"locked_until":null,"description":null,"status":"new","type":"email","labels":[],"label_ids":[],"language":"en","active_at":null,"created_at":"2013-05-12 15:10:11 UTC","updated_at":"2013-09-10 21:34:41 UTC","received_at":"2013-05-12 15:10:11 UTC","first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3063","class":"case"},"message":{"href":"/api/v2/cases/3063/message","class":"email"},"customer":{"href":"/api/v2/customers/85712173","class":"customer"},"labels":{"href":"/api/v2/cases/3063/labels","class":"label"},"assigned_user":null,"assigned_group":{"href":"/api/v2/groups/171213","class":"group"},"locked_by":null,"history":{"href":"/api/v2/cases/3063/history","class":"history"},"case_links":{"href":"/api/v2/cases/3063/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3063/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3063/replies","class":"reply","count":1},"draft":{"href":"/api/v2/cases/3063/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3063/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3063/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":85712173,"first_name":"Groupon","last_name":"","company":"r.groupon.com","title":null,"avatar":"http://www.gravatar.com/avatar/d7038e27f7fcc99cbeedace6e3f57c67?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":"en","locked_until":null,"created_at":"2013-05-11 15:11:06 UTC","updated_at":"2013-05-11 15:11:06 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"noreply@r.groupon.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/85712173","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/5351449","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/85712173/cases","class":"case","count":2}}}}},{"id":3064,"external_id":null,"blurb":null,"subject":"Testing customer create","priority":5,"locked_until":null,"description":null,"status":"open","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-13 19:20:43 UTC","created_at":"2013-05-13 18:12:07 UTC","updated_at":"2013-09-10 21:34:42 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3064","class":"case"},"message":{"href":"/api/v2/cases/3064/message","class":"email"},"customer":{"href":"/api/v2/customers/86101780","class":"customer"},"labels":{"href":"/api/v2/cases/3064/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3064/history","class":"history"},"case_links":{"href":"/api/v2/cases/3064/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3064/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3064/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3064/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3064/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3064/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":86101780,"first_name":"Thomas","last_name":"The Tank","company":"Desk.com","title":null,"avatar":"http://www.gravatar.com/avatar/d5bef3ad82b90063a3a25ae8bacb3201?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":null,"locked_until":null,"created_at":"2013-05-13 18:14:21 UTC","updated_at":"2013-05-13 19:21:15 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"tank+1@desk.com"},{"type":"home","value":"tank+2@desk.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/86101780","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/138963","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/86101780/cases","class":"case","count":3}}}}},{"id":3065,"external_id":null,"blurb":null,"subject":"Testing the Tank again","priority":5,"locked_until":null,"description":null,"status":"open","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-13 19:20:59 UTC","created_at":"2013-05-13 18:13:39 UTC","updated_at":"2013-09-10 21:34:42 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":null,"my_new_date_field":null,"my_new_boolean_field":null,"my_new_list_field":null,"follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3065","class":"case"},"message":{"href":"/api/v2/cases/3065/message","class":"email"},"customer":{"href":"/api/v2/customers/86101780","class":"customer"},"labels":{"href":"/api/v2/cases/3065/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3065/history","class":"history"},"case_links":{"href":"/api/v2/cases/3065/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3065/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3065/replies","class":"reply","count":0},"draft":{"href":"/api/v2/cases/3065/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3065/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3065/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":86101780,"first_name":"Thomas","last_name":"The Tank","company":"Desk.com","title":null,"avatar":"http://www.gravatar.com/avatar/d5bef3ad82b90063a3a25ae8bacb3201?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":null,"locked_until":null,"created_at":"2013-05-13 18:14:21 UTC","updated_at":"2013-05-13 19:21:15 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"tank+1@desk.com"},{"type":"home","value":"tank+2@desk.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/86101780","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/138963","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/86101780/cases","class":"case","count":3}}}}},{"id":3066,"external_id":null,"blurb":null,"subject":"Testing more stuff","priority":5,"locked_until":null,"description":"","status":"pending","type":"email","labels":[],"label_ids":[],"language":"de","active_at":"2013-05-14 20:20:58 UTC","created_at":"2013-05-13 19:20:03 UTC","updated_at":"2013-08-16 17:04:52 UTC","received_at":null,"first_opened_at":null,"opened_at":null,"first_resolved_at":null,"resolved_at":null,"custom_fields":{"my_new_custom_field":null,"my_new_number_field":"0","my_new_date_field":null,"my_new_boolean_field":false,"my_new_list_field":"Option 1","follow_up":null,"dependent":null},"_links":{"self":{"href":"/api/v2/cases/3066","class":"case"},"message":{"href":"/api/v2/cases/3066/message","class":"email"},"customer":{"href":"/api/v2/customers/86116163","class":"customer"},"labels":{"href":"/api/v2/cases/3066/labels","class":"label"},"assigned_user":null,"assigned_group":null,"locked_by":null,"history":{"href":"/api/v2/cases/3066/history","class":"history"},"case_links":{"href":"/api/v2/cases/3066/links","class":"case_link"},"macro_preview":{"href":"/api/v2/cases/3066/macros/preview","class":"macro_preview"},"replies":{"href":"/api/v2/cases/3066/replies","class":"reply","count":3},"draft":{"href":"/api/v2/cases/3066/replies/draft","class":"reply"},"notes":{"href":"/api/v2/cases/3066/notes","class":"note","count":0},"attachments":{"href":"/api/v2/cases/3066/attachments","class":"attachment","count":0}},"_embedded":{"customer":{"id":86116163,"first_name":"Thomas","last_name":"Stachl","company":"Desk.com","title":null,"avatar":"http://www.gravatar.com/avatar/da0df25dcb4bac844a151176948bd611?default=https%3A%2F%2Fd218iqt4mo6adh.cloudfront.net%2Fassets%2Funknown_user_50-521aae04e00222d7dd814e72d7d869d0.png&rating=PG&size=50","external_id":null,"background":null,"language":null,"locked_until":null,"created_at":"2013-05-13 19:20:02 UTC","updated_at":"2013-05-14 20:26:26 UTC","custom_fields":{"my_custom_field":null,"my_number_field":null,"my_boolean_field":null,"my_date_field":null,"my_list_field":null,"magento_id":null},"emails":[{"type":"home","value":"tank+3@desk.com"}],"phone_numbers":[],"addresses":[],"_links":{"self":{"href":"/api/v2/customers/86116163","class":"customer"},"locked_by":null,"company":{"href":"/api/v2/companies/138963","class":"company"},"facebook_user":null,"twitter_user":null,"cases":{"href":"/api/v2/customers/86116163/cases","class":"case","count":1}}}}}]}}
|
metadata
CHANGED
@@ -1,27 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: desk_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Stachl
|
8
|
+
- Andrew Frauen
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-05-22 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
+
name: faraday
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- -
|
18
|
+
- - '>='
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: 0.8.0
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- -
|
25
|
+
- - '>='
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: 0.8.0
|
27
28
|
- !ruby/object:Gem::Dependency
|
@@ -122,26 +123,34 @@ dependencies:
|
|
122
123
|
- - ~>
|
123
124
|
- !ruby/object:Gem::Version
|
124
125
|
version: '0.6'
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: appraisal
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ~>
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 1.0.0
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ~>
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 1.0.0
|
140
|
+
description: |2
|
141
|
+
This is a lightweight, flexible ruby gem to interact with the desk.com APIv2.
|
142
|
+
It allows to create, read and delete resources available through the API
|
143
|
+
endpoints. It can be used either with OAuth or HTTP Basic Authentication.
|
144
|
+
email:
|
145
|
+
- tstachl@salesforce.com
|
146
|
+
- afrauen@salesforce.com
|
129
147
|
executables: []
|
130
148
|
extensions: []
|
131
149
|
extra_rdoc_files:
|
132
150
|
- README.md
|
133
151
|
files:
|
134
|
-
- .coveralls.yml
|
135
|
-
- .gitignore
|
136
|
-
- .rspec
|
137
|
-
- .travis.yml
|
138
|
-
- .yardopts
|
139
|
-
- Gemfile
|
140
|
-
- Guardfile
|
141
152
|
- LICENSE
|
142
153
|
- README.md
|
143
|
-
- Rakefile
|
144
|
-
- desk_api.gemspec
|
145
154
|
- lib/desk.rb
|
146
155
|
- lib/desk_api.rb
|
147
156
|
- lib/desk_api/client.rb
|
@@ -167,8 +176,12 @@ files:
|
|
167
176
|
- lib/desk_api/error/unprocessable_entity.rb
|
168
177
|
- lib/desk_api/error/unsupported_media_type.rb
|
169
178
|
- lib/desk_api/rate_limit.rb
|
179
|
+
- lib/desk_api/request/encode_json.rb
|
180
|
+
- lib/desk_api/request/oauth.rb
|
170
181
|
- lib/desk_api/request/retry.rb
|
171
182
|
- lib/desk_api/resource.rb
|
183
|
+
- lib/desk_api/response/parse_dates.rb
|
184
|
+
- lib/desk_api/response/parse_json.rb
|
172
185
|
- lib/desk_api/response/raise_error.rb
|
173
186
|
- lib/desk_api/version.rb
|
174
187
|
- spec/cassettes/DeskApi_Client/using_Basic_Authentication/_delete/deletes_a_resource.yml
|
@@ -182,11 +195,15 @@ files:
|
|
182
195
|
- spec/cassettes/DeskApi_Error/_from_response/can_be_created_from_a_faraday_response.yml
|
183
196
|
- spec/cassettes/DeskApi_Error/_from_response/uses_the_body_message_if_present.yml
|
184
197
|
- spec/cassettes/DeskApi_Error/on_validation_error/allows_access_to_error_hash.yml
|
198
|
+
- spec/cassettes/DeskApi_Resource/_all/iterates_over_each_resource_on_each_page.yml
|
185
199
|
- spec/cassettes/DeskApi_Resource/_by_url/finds_resources_by_url.yml
|
186
200
|
- spec/cassettes/DeskApi_Resource/_create/creates_a_new_topic.yml
|
187
201
|
- spec/cassettes/DeskApi_Resource/_create/throws_an_error_creating_a_user.yml
|
188
202
|
- spec/cassettes/DeskApi_Resource/_delete/deletes_a_resource.yml
|
189
203
|
- spec/cassettes/DeskApi_Resource/_delete/throws_an_error_deleting_a_non_deletalbe_resource.yml
|
204
|
+
- spec/cassettes/DeskApi_Resource/_each_page/iterates_over_each_page.yml
|
205
|
+
- spec/cassettes/DeskApi_Resource/_each_page/raises_NoMethodError_is_called_on_non-page_resources.yml
|
206
|
+
- spec/cassettes/DeskApi_Resource/_each_page/uses_a_default_per_page_of_1000.yml
|
190
207
|
- spec/cassettes/DeskApi_Resource/_exec_/can_be_forced_to_reload.yml
|
191
208
|
- spec/cassettes/DeskApi_Resource/_exec_/loads_the_current_resource.yml
|
192
209
|
- spec/cassettes/DeskApi_Resource/_find/has_an_alias_by_id.yml
|
@@ -194,13 +211,22 @@ files:
|
|
194
211
|
- spec/cassettes/DeskApi_Resource/_get_linked_resource/returns_linked_resources.yml
|
195
212
|
- spec/cassettes/DeskApi_Resource/_get_linked_resource/returns_nil_if_link_is_nil.yml
|
196
213
|
- spec/cassettes/DeskApi_Resource/_get_linked_resource/saves_the_linked_resource_instead_of_the_url.yml
|
214
|
+
- spec/cassettes/DeskApi_Resource/_load/loads_the_resource_if_not_already_loaded.yml
|
215
|
+
- spec/cassettes/DeskApi_Resource/_loaded_/returns_true_if_the_resource_is_loaded.yml
|
197
216
|
- spec/cassettes/DeskApi_Resource/_method_missing/loads_the_resource_to_find_a_suitable_method.yml
|
198
217
|
- spec/cassettes/DeskApi_Resource/_method_missing/raises_an_error_if_method_does_not_exist.yml
|
218
|
+
- spec/cassettes/DeskApi_Resource/_next_/changes__definition_to_next_page.yml
|
219
|
+
- spec/cassettes/DeskApi_Resource/_next_/returns_nil_on_the_last_page.yml
|
199
220
|
- spec/cassettes/DeskApi_Resource/_page/keeps_the_resource_as_loaded.yml
|
200
221
|
- spec/cassettes/DeskApi_Resource/_page/returns_the_current_page_and_loads_if_page_not_defined.yml
|
201
222
|
- spec/cassettes/DeskApi_Resource/_page/sets_the_resource_to_not_loaded.yml
|
223
|
+
- spec/cassettes/DeskApi_Resource/_request/sends_request_through_a_client_and_returns_Faraday_Response.yml
|
224
|
+
- spec/cassettes/DeskApi_Resource/_reset_/sets__links__embedded__changed_and__loaded_to_default_values.yml
|
202
225
|
- spec/cassettes/DeskApi_Resource/_search/allows_searching_on_search_enabled_resources.yml
|
203
226
|
- spec/cassettes/DeskApi_Resource/_search/throws_an_error_if_search_is_not_enabled.yml
|
227
|
+
- spec/cassettes/DeskApi_Resource/_to_hash/converts_embedded_resources_to_hashes.yml
|
228
|
+
- spec/cassettes/DeskApi_Resource/_to_hash/returns_a_hash_for_a_desk_resource.yml
|
229
|
+
- spec/cassettes/DeskApi_Resource/_update/can_handle_action_params.yml
|
204
230
|
- spec/cassettes/DeskApi_Resource/_update/can_handle_update_action_params.yml
|
205
231
|
- spec/cassettes/DeskApi_Resource/_update/can_replace_instead_of_append.yml
|
206
232
|
- spec/cassettes/DeskApi_Resource/_update/can_update_without_a_hash.yml
|
@@ -213,28 +239,32 @@ files:
|
|
213
239
|
- spec/desk_api/default_spec.rb
|
214
240
|
- spec/desk_api/error_spec.rb
|
215
241
|
- spec/desk_api/rate_limit_spec.rb
|
242
|
+
- spec/desk_api/request/encode_json_spec.rb
|
243
|
+
- spec/desk_api/request/oauth_spec.rb
|
216
244
|
- spec/desk_api/request/retry_spec.rb
|
217
245
|
- spec/desk_api/resource_spec.rb
|
246
|
+
- spec/desk_api/response/parse_dates_spec.rb
|
247
|
+
- spec/desk_api/response/parse_json_spec.rb
|
248
|
+
- spec/desk_api/response/raise_error_spec.rb
|
218
249
|
- spec/desk_api_spec.rb
|
219
250
|
- spec/spec_helper.rb
|
251
|
+
- spec/stubs/article.json
|
220
252
|
- spec/stubs/case_embed_customer.json
|
221
253
|
- spec/stubs/cases_embed_assigned_user.json
|
222
|
-
|
223
|
-
|
254
|
+
- spec/stubs/to_hash_embed.json
|
255
|
+
homepage: http://github.com/tstachl/desk_api
|
256
|
+
licenses:
|
257
|
+
- MIT
|
224
258
|
metadata: {}
|
225
259
|
post_install_message:
|
226
|
-
rdoc_options:
|
227
|
-
- --line-numbers
|
228
|
-
- --inline--source
|
229
|
-
- --title
|
230
|
-
- desk.rb
|
260
|
+
rdoc_options: []
|
231
261
|
require_paths:
|
232
262
|
- lib
|
233
263
|
required_ruby_version: !ruby/object:Gem::Requirement
|
234
264
|
requirements:
|
235
265
|
- - '>='
|
236
266
|
- !ruby/object:Gem::Version
|
237
|
-
version:
|
267
|
+
version: 1.9.2
|
238
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
269
|
requirements:
|
240
270
|
- - '>='
|
@@ -242,10 +272,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
272
|
version: '0'
|
243
273
|
requirements: []
|
244
274
|
rubyforge_project:
|
245
|
-
rubygems_version: 2.
|
275
|
+
rubygems_version: 2.2.2
|
246
276
|
signing_key:
|
247
277
|
specification_version: 4
|
248
|
-
summary: A lightweight, flexible
|
278
|
+
summary: A lightweight, flexible client for the desk.com APIv2.
|
249
279
|
test_files:
|
250
280
|
- spec/cassettes/DeskApi_Client/using_Basic_Authentication/_delete/deletes_a_resource.yml
|
251
281
|
- spec/cassettes/DeskApi_Client/using_Basic_Authentication/_get/fetches_resources.yml
|
@@ -258,11 +288,15 @@ test_files:
|
|
258
288
|
- spec/cassettes/DeskApi_Error/_from_response/can_be_created_from_a_faraday_response.yml
|
259
289
|
- spec/cassettes/DeskApi_Error/_from_response/uses_the_body_message_if_present.yml
|
260
290
|
- spec/cassettes/DeskApi_Error/on_validation_error/allows_access_to_error_hash.yml
|
291
|
+
- spec/cassettes/DeskApi_Resource/_all/iterates_over_each_resource_on_each_page.yml
|
261
292
|
- spec/cassettes/DeskApi_Resource/_by_url/finds_resources_by_url.yml
|
262
293
|
- spec/cassettes/DeskApi_Resource/_create/creates_a_new_topic.yml
|
263
294
|
- spec/cassettes/DeskApi_Resource/_create/throws_an_error_creating_a_user.yml
|
264
295
|
- spec/cassettes/DeskApi_Resource/_delete/deletes_a_resource.yml
|
265
296
|
- spec/cassettes/DeskApi_Resource/_delete/throws_an_error_deleting_a_non_deletalbe_resource.yml
|
297
|
+
- spec/cassettes/DeskApi_Resource/_each_page/iterates_over_each_page.yml
|
298
|
+
- spec/cassettes/DeskApi_Resource/_each_page/raises_NoMethodError_is_called_on_non-page_resources.yml
|
299
|
+
- spec/cassettes/DeskApi_Resource/_each_page/uses_a_default_per_page_of_1000.yml
|
266
300
|
- spec/cassettes/DeskApi_Resource/_exec_/can_be_forced_to_reload.yml
|
267
301
|
- spec/cassettes/DeskApi_Resource/_exec_/loads_the_current_resource.yml
|
268
302
|
- spec/cassettes/DeskApi_Resource/_find/has_an_alias_by_id.yml
|
@@ -270,13 +304,22 @@ test_files:
|
|
270
304
|
- spec/cassettes/DeskApi_Resource/_get_linked_resource/returns_linked_resources.yml
|
271
305
|
- spec/cassettes/DeskApi_Resource/_get_linked_resource/returns_nil_if_link_is_nil.yml
|
272
306
|
- spec/cassettes/DeskApi_Resource/_get_linked_resource/saves_the_linked_resource_instead_of_the_url.yml
|
307
|
+
- spec/cassettes/DeskApi_Resource/_load/loads_the_resource_if_not_already_loaded.yml
|
308
|
+
- spec/cassettes/DeskApi_Resource/_loaded_/returns_true_if_the_resource_is_loaded.yml
|
273
309
|
- spec/cassettes/DeskApi_Resource/_method_missing/loads_the_resource_to_find_a_suitable_method.yml
|
274
310
|
- spec/cassettes/DeskApi_Resource/_method_missing/raises_an_error_if_method_does_not_exist.yml
|
311
|
+
- spec/cassettes/DeskApi_Resource/_next_/changes__definition_to_next_page.yml
|
312
|
+
- spec/cassettes/DeskApi_Resource/_next_/returns_nil_on_the_last_page.yml
|
275
313
|
- spec/cassettes/DeskApi_Resource/_page/keeps_the_resource_as_loaded.yml
|
276
314
|
- spec/cassettes/DeskApi_Resource/_page/returns_the_current_page_and_loads_if_page_not_defined.yml
|
277
315
|
- spec/cassettes/DeskApi_Resource/_page/sets_the_resource_to_not_loaded.yml
|
316
|
+
- spec/cassettes/DeskApi_Resource/_request/sends_request_through_a_client_and_returns_Faraday_Response.yml
|
317
|
+
- spec/cassettes/DeskApi_Resource/_reset_/sets__links__embedded__changed_and__loaded_to_default_values.yml
|
278
318
|
- spec/cassettes/DeskApi_Resource/_search/allows_searching_on_search_enabled_resources.yml
|
279
319
|
- spec/cassettes/DeskApi_Resource/_search/throws_an_error_if_search_is_not_enabled.yml
|
320
|
+
- spec/cassettes/DeskApi_Resource/_to_hash/converts_embedded_resources_to_hashes.yml
|
321
|
+
- spec/cassettes/DeskApi_Resource/_to_hash/returns_a_hash_for_a_desk_resource.yml
|
322
|
+
- spec/cassettes/DeskApi_Resource/_update/can_handle_action_params.yml
|
280
323
|
- spec/cassettes/DeskApi_Resource/_update/can_handle_update_action_params.yml
|
281
324
|
- spec/cassettes/DeskApi_Resource/_update/can_replace_instead_of_append.yml
|
282
325
|
- spec/cassettes/DeskApi_Resource/_update/can_update_without_a_hash.yml
|
@@ -289,10 +332,17 @@ test_files:
|
|
289
332
|
- spec/desk_api/default_spec.rb
|
290
333
|
- spec/desk_api/error_spec.rb
|
291
334
|
- spec/desk_api/rate_limit_spec.rb
|
335
|
+
- spec/desk_api/request/encode_json_spec.rb
|
336
|
+
- spec/desk_api/request/oauth_spec.rb
|
292
337
|
- spec/desk_api/request/retry_spec.rb
|
293
338
|
- spec/desk_api/resource_spec.rb
|
339
|
+
- spec/desk_api/response/parse_dates_spec.rb
|
340
|
+
- spec/desk_api/response/parse_json_spec.rb
|
341
|
+
- spec/desk_api/response/raise_error_spec.rb
|
294
342
|
- spec/desk_api_spec.rb
|
295
343
|
- spec/spec_helper.rb
|
344
|
+
- spec/stubs/article.json
|
296
345
|
- spec/stubs/case_embed_customer.json
|
297
346
|
- spec/stubs/cases_embed_assigned_user.json
|
347
|
+
- spec/stubs/to_hash_embed.json
|
298
348
|
has_rdoc:
|