tendril 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in tendril.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ Bundler::GemHelper.install_tasks
5
+ RSpec::Core::RakeTask.new('spec')
6
+
7
+ task :default => :spec
@@ -0,0 +1,63 @@
1
+ module Tendril
2
+
3
+ class Client
4
+ include HTTParty
5
+
6
+ attr_reader :email, :password, :account_id, :subdomain
7
+
8
+ def initialize(options={})
9
+ @subdomain = options[:subdomain] || Tendril.subdomain
10
+ @email = options[:email] || Tendril.email
11
+ @password = options[:password] || Tendril.password
12
+ @account_id = options[:account_id] || Tendril.account_id
13
+
14
+ self.class.base_uri "https://#{@subdomain}.tendrildemo.com/api/rest"
15
+ self.class.headers 'Accept' => 'application/json',
16
+ 'Emsauthtoken' => "#{@email}:#{@password}"
17
+ end
18
+
19
+ def pricing(secondary, options={})
20
+ mashup(self.class.get("/pricing/#{secondary}#{hash_to_querystring(options)}"))
21
+ end
22
+
23
+ def meter(secondary, options={})
24
+ mashup(self.class.get("/meter/#{secondary}#{hash_to_querystring(options)}"))
25
+ end
26
+
27
+ protected
28
+
29
+ def hash_to_querystring(hash)
30
+ hash.keys.inject('') do |query_string, key|
31
+ query_string << ';'
32
+
33
+ if key.to_s == "from" || key.to_s == "to"
34
+ value = tendril_convert_time(hash[key].to_s)
35
+ query_string << "#{URI.encode(key.to_s)}=#{URI.encode(value)}"
36
+ else
37
+ query_string << "#{URI.encode(key.to_s)}=#{URI.encode(hash[key])}"
38
+ end
39
+ end
40
+ end
41
+
42
+ def tendril_convert_time(time)
43
+ Time.parse(time).strftime("%Y-%d-%mT%H:%M:%S%z")
44
+ # time.gsub(/((\d+-){2}\d+)(\s+)((\d+:){2}\d+)(\s+)(\S+)/, '\1'+'T'+'\4\7')
45
+ end
46
+
47
+ def mashup(response)
48
+ case response.code
49
+ when 200
50
+ if response.is_a?(Hash)
51
+ Hashie::Mash.new(response)
52
+ else
53
+ if response.first.is_a?(Hash)
54
+ response.map{|item| Hashie::Mash.new(item)}
55
+ else
56
+ response
57
+ end
58
+ end
59
+ end
60
+ end
61
+
62
+ end
63
+ end
@@ -0,0 +1,3 @@
1
+ module Tendril
2
+ VERSION = "0.0.1"
3
+ end
data/lib/tendril.rb ADDED
@@ -0,0 +1,23 @@
1
+ require 'rubygems'
2
+ require 'httparty'
3
+ require 'hashie'
4
+ require 'json'
5
+
6
+ directory = File.expand_path(File.dirname(__FILE__))
7
+
8
+ Hash.send :include, Hashie::HashExtensions
9
+
10
+ module Tendril
11
+
12
+ def self.configure
13
+ yield self
14
+ true
15
+ end
16
+
17
+ class << self
18
+ attr_accessor :email, :password, :account_id, :subdomain
19
+ end
20
+
21
+ end
22
+
23
+ require File.join(directory, 'tendril', 'client')
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'rspec'
4
+ require 'vcr_setup'
5
+ require 'tendril'
6
+ require 'active_support'
7
+
8
+ RSpec.configure do |config|
9
+ config.extend VCR::RSpec::Macros
10
+ end
@@ -0,0 +1,45 @@
1
+ require 'spec_helper'
2
+ require 'active_support/core_ext'
3
+
4
+ describe Tendril::Client do
5
+
6
+ context 'pricing' do
7
+ use_vcr_cassette 'pricing'
8
+
9
+ it 'should initialize' do
10
+ @client = Tendril::Client.new(:email => "jason@tendrilinc.com", :password => "password", :subdomain => "dev-program")
11
+ @client.email.should == "jason@tendrilinc.com"
12
+ @client.password.should == "password"
13
+ @client.subdomain.should == "dev-program"
14
+ end
15
+
16
+ it 'should request pricing schedule' do
17
+ @client = Tendril::Client.new(:email => "jason@tendrilinc.com",
18
+ :password => "password",
19
+ :subdomain => "dev-program", :account_id => "Jenkins")
20
+ @pricing = @client.pricing("schedule", :from => "2011-10-09T21:45:08-0500", :to => "2011-10-10T21:45:08-0500", :"external-account-id" => "Jenkins")
21
+ @pricing["effectivePriceRecords"].size.should == 1
22
+ @pricing["@startDate"].should == "2011-09-11T02:45:08Z"
23
+ end
24
+ end
25
+
26
+ context "meter" do
27
+ use_vcr_cassette 'meter'
28
+
29
+ it "should request meter consumption" do
30
+ @client = Tendril::Client.new(:email => "jason@tendrilinc.com",
31
+ :password => "password",
32
+ :subdomain => "dev-program", :account_id => "Jenkins")
33
+ @meter = @client.meter("consumption", :from => "2010-05-09T21:45:08-0500", :to => "2010-10-10T21:45:08-0500", :"external-account-id" => "Jenkins")
34
+ @meter["MeterReading"].size.should == 1
35
+ end
36
+
37
+ it "should request meter read" do
38
+ @client = Tendril::Client.new(:email => "jason@tendrilinc.com",
39
+ :password => "password",
40
+ :subdomain => "dev-program", :account_id => "Jenkins")
41
+ @meter = @client.meter("read", :from => "2010-05-09T21:45:08-0500", :to => "2010-06-09T21:45:08-0500", :"external-account-id" => "Jenkins")
42
+ @meter["MeterReading"].first["Readings"].size.should == 96
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,59 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: https://dev-program.tendrildemo.com:443/api/rest/meter/consumption;to=2010-10-10T21:45:08-0500;from=2010-09-05T21:45:08-0500;external-account-id=Jenkins
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/json
10
+ emsauthtoken:
11
+ - jason@tendrilinc.com:password
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ content-type:
18
+ - application/json
19
+ date:
20
+ - Tue, 11 Oct 2011 02:56:38 GMT
21
+ server:
22
+ - Jetty(7.5.0.RC0)
23
+ vary:
24
+ - Accept-Encoding
25
+ cache-control:
26
+ - no-store
27
+ transfer-encoding:
28
+ - chunked
29
+ body: "{\"MeterReading\":[{\"CustomerAgreement\":{\"mRID\":\"Jenkins\"},\"IntervalBlocks\":[{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-06T02:45:08.000+00:00\",\"value\":1532.948}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.1.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-06T02:45:08.000+00:00\",\"value\":30.316301}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.2.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-06T20:00:00.000+00:00\",\"value\":9.162103}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.3.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-07T02:00:00.000+00:00\",\"value\":31.609316}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.4.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-07T20:00:00.000+00:00\",\"value\":9.170169}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.5.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-08T02:00:00.000+00:00\",\"value\":31.384832}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.6.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-08T20:00:00.000+00:00\",\"value\":9.420104}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.7.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-09T02:00:00.000+00:00\",\"value\":31.969284}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.8.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-09T20:00:00.000+00:00\",\"value\":9.172135}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.9.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-10T02:00:00.000+00:00\",\"value\":32.1097}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.10.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-10T20:00:00.000+00:00\",\"value\":9.489817}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.11.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-11T02:00:00.000+00:00\",\"value\":41.54954}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.12.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-11T20:00:00.000+00:00\",\"value\":11.255912}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.13.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-12T02:00:00.000+00:00\",\"value\":39.53544}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.14.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-12T20:00:00.000+00:00\",\"value\":12.646208}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.15.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-13T02:00:00.000+00:00\",\"value\":30.051315}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.16.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-13T20:00:00.000+00:00\",\"value\":9.361781}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.17.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-14T02:00:00.000+00:00\",\"value\":31.58722}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.18.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-14T20:00:00.000+00:00\",\"value\":9.252847}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.19.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-15T02:00:00.000+00:00\",\"value\":30.794024}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.20.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-15T20:00:00.000+00:00\",\"value\":9.189137}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.21.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-16T02:00:00.000+00:00\",\"value\":31.477345}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.22.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-16T20:00:00.000+00:00\",\"value\":9.237623}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.23.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-17T02:00:00.000+00:00\",\"value\":31.173702}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.24.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-17T20:00:00.000+00:00\",\"value\":9.327587}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.25.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-18T02:00:00.000+00:00\",\"value\":40.792923}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.26.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-18T20:00:00.000+00:00\",\"value\":12.248076}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.27.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-19T02:00:00.000+00:00\",\"value\":38.41112}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.28.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-19T20:00:00.000+00:00\",\"value\":11.282945}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.29.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-20T02:00:00.000+00:00\",\"value\":31.104118}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.30.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-20T20:00:00.000+00:00\",\"value\":9.983817}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.31.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-21T02:00:00.000+00:00\",\"value\":31.60338}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.32.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-21T20:00:00.000+00:00\",\"value\":9.028169}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.33.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-22T02:00:00.000+00:00\",\"value\":31.997541}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.34.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-22T20:00:00.000+00:00\",\"value\":9.103879}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.35.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-23T02:00:00.000+00:00\",\"value\":30.434153}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.36.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-23T20:00:00.000+00:00\",\"value\":9.768589}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.37.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-24T02:00:00.000+00:00\",\"value\":31.078445}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.38.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-24T20:00:00.000+00:00\",\"value\":9.046522}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.39.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-25T02:00:00.000+00:00\",\"value\":39.716732}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.40.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-25T20:00:00.000+00:00\",\"value\":12.317236}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.41.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-26T02:00:00.000+00:00\",\"value\":39.14841}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.42.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-26T20:00:00.000+00:00\",\"value\":10.458718}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.43.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-27T02:00:00.000+00:00\",\"value\":31.679348}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.44.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-27T20:00:00.000+00:00\",\"value\":8.718845}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.45.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-28T02:00:00.000+00:00\",\"value\":31.41038}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.46.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-28T20:00:00.000+00:00\",\"value\":9.00549}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.47.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-29T02:00:00.000+00:00\",\"value\":30.40293}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.48.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-29T20:00:00.000+00:00\",\"value\":8.784683}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.49.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-30T02:00:00.000+00:00\",\"value\":31.241508}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.50.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-09-30T20:00:00.000+00:00\",\"value\":9.495201}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.51.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-01T02:00:00.000+00:00\",\"value\":31.548635}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.52.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-01T20:00:00.000+00:00\",\"value\":9.621365}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.53.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-02T02:00:00.000+00:00\",\"value\":40.41644}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.54.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-02T20:00:00.000+00:00\",\"value\":12.829755}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.55.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-03T02:00:00.000+00:00\",\"value\":39.001312}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.56.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-03T20:00:00.000+00:00\",\"value\":11.805718}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.57.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-04T02:00:00.000+00:00\",\"value\":30.71231}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.58.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-04T20:00:00.000+00:00\",\"value\":8.987172}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.59.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-05T02:00:00.000+00:00\",\"value\":31.52599}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.60.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-05T20:00:00.000+00:00\",\"value\":8.893977}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.61.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-06T02:00:00.000+00:00\",\"value\":30.074055}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.62.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-06T20:00:00.000+00:00\",\"value\":9.409622}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.63.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-07T02:00:00.000+00:00\",\"value\":31.724667}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.64.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-07T20:00:00.000+00:00\",\"value\":9.361429}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.65.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-08T02:00:00.000+00:00\",\"value\":32.049698}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.66.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-08T20:00:00.000+00:00\",\"value\":9.612333}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.67.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-09T02:00:00.000+00:00\",\"value\":41.955795}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.68.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-09T20:00:00.000+00:00\",\"value\":12.933591}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.69.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-10T02:00:00.000+00:00\",\"value\":39.888374}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.70.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-10T20:00:00.000+00:00\",\"value\":11.695884}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.71.224.3.72\"}},{\"IntervalReadings\":[{\"timeStamp\":\"2010-10-11T02:00:00.000+00:00\",\"value\":0.3932728}],\"ReadingType\":{\"@ref\":\"2.1.7.1.0.4.3.72.224.3.72\"}}],\"MeterAsset\":{\"mRID\":\"Jason-Jenkins\"}}],\"ReadingType\":[{\"mRID\":\"2.1.7.1.0.4.3.1.224.3.72\",\"aliasName\":\"total\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":3024000.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.4.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.34.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.57.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.45.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.43.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.16.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.23.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.66.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.20.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.37.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.50.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.13.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.33.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.71.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.3.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.51.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.2.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":62092.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.35.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.59.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.52.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.38.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.42.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.30.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.72.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":2708.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.54.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.21.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.47.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.6.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.22.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.32.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.41.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.7.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.27.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.36.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.25.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.18.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.64.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.14.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.12.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.31.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.58.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.11.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.17.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.67.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.48.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.5.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.61.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.56.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.10.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.28.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.55.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.40.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.69.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.24.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.49.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.62.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.46.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.39.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.44.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.9.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.26.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.8.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.65.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.53.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.63.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.29.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.68.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.15.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.60.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.70.224.3.72\",\"aliasName\":\"A\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":64800.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"},{\"mRID\":\"2.1.7.1.0.4.3.19.224.3.72\",\"aliasName\":\"B\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":21600.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"}]}"
30
+ http_version: "1.1"
31
+ - !ruby/struct:VCR::HTTPInteraction
32
+ request: !ruby/struct:VCR::Request
33
+ method: :get
34
+ uri: https://dev-program.tendrildemo.com:443/api/rest/meter/read;to=2010-09-06T21:45:08-0500;from=2010-09-05T21:45:08-0500;external-account-id=Jenkins
35
+ body:
36
+ headers:
37
+ accept:
38
+ - application/json
39
+ emsauthtoken:
40
+ - jason@tendrilinc.com:password
41
+ response: !ruby/struct:VCR::Response
42
+ status: !ruby/struct:VCR::ResponseStatus
43
+ code: 200
44
+ message: OK
45
+ headers:
46
+ content-type:
47
+ - application/json
48
+ server:
49
+ - Jetty(7.5.0.RC0)
50
+ date:
51
+ - Tue, 11 Oct 2011 02:56:39 GMT
52
+ cache-control:
53
+ - no-store
54
+ vary:
55
+ - Accept-Encoding
56
+ transfer-encoding:
57
+ - chunked
58
+ body: "{\"MeterReading\":[{\"CustomerAgreement\":{\"mRID\":\"Jenkins\"},\"MeterAsset\":{\"mRID\":\"Jason-Jenkins\"},\"Readings\":[{\"timeStamp\":\"2010-09-06T02:55:09.687+00:00\",\"value\":34392.258,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T03:10:09.687+00:00\",\"value\":34392.395,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T03:25:09.687+00:00\",\"value\":34392.547,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T03:40:09.687+00:00\",\"value\":34392.67,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T03:55:09.687+00:00\",\"value\":34392.785,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T04:10:09.687+00:00\",\"value\":34392.934,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T04:25:09.687+00:00\",\"value\":34393.027,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T04:40:09.687+00:00\",\"value\":34393.133,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T04:55:09.687+00:00\",\"value\":34393.234,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T05:10:09.687+00:00\",\"value\":34393.38,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T05:25:09.687+00:00\",\"value\":34393.496,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T05:40:09.687+00:00\",\"value\":34393.6,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T05:55:09.687+00:00\",\"value\":34393.703,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T06:10:09.687+00:00\",\"value\":34394.266,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T06:25:09.687+00:00\",\"value\":34394.81,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T06:40:09.687+00:00\",\"value\":34395.35,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T06:55:09.687+00:00\",\"value\":34395.945,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T07:10:09.687+00:00\",\"value\":34396.496,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T07:25:09.687+00:00\",\"value\":34397.164,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T07:40:09.687+00:00\",\"value\":34397.676,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T07:55:09.687+00:00\",\"value\":34398.324,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T08:10:09.687+00:00\",\"value\":34398.918,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T08:25:09.687+00:00\",\"value\":34399.43,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T08:40:09.687+00:00\",\"value\":34399.945,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T08:55:09.687+00:00\",\"value\":34400.496,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T09:10:09.687+00:00\",\"value\":34400.75,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T09:25:09.687+00:00\",\"value\":34401.117,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T09:40:09.687+00:00\",\"value\":34401.473,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T09:55:09.687+00:00\",\"value\":34401.734,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T10:10:09.687+00:00\",\"value\":34402.09,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T10:25:09.687+00:00\",\"value\":34402.434,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T10:40:09.687+00:00\",\"value\":34402.7,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T10:55:09.687+00:00\",\"value\":34402.965,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T11:10:09.687+00:00\",\"value\":34403.203,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T11:25:09.687+00:00\",\"value\":34403.55,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T11:40:09.687+00:00\",\"value\":34403.914,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T11:55:09.687+00:00\",\"value\":34404.28,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T12:10:09.687+00:00\",\"value\":34404.566,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T12:25:09.687+00:00\",\"value\":34404.93,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T12:40:09.687+00:00\",\"value\":34405.258,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T12:55:09.687+00:00\",\"value\":34405.535,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T13:10:09.687+00:00\",\"value\":34405.832,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T13:25:09.687+00:00\",\"value\":34406.215,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T13:40:09.687+00:00\",\"value\":34406.516,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T13:55:09.687+00:00\",\"value\":34406.82,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T14:10:09.687+00:00\",\"value\":34407.062,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T14:25:09.687+00:00\",\"value\":34407.402,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T14:40:09.687+00:00\",\"value\":34407.79,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T14:55:09.687+00:00\",\"value\":34408.105,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T15:10:09.687+00:00\",\"value\":34408.42,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T15:25:09.687+00:00\",\"value\":34408.742,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T15:40:09.687+00:00\",\"value\":34409.133,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T15:55:09.687+00:00\",\"value\":34409.375,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T16:10:09.687+00:00\",\"value\":34409.66,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T16:25:09.687+00:00\",\"value\":34410.035,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T16:40:09.687+00:00\",\"value\":34410.37,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T16:55:09.687+00:00\",\"value\":34410.65,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T17:10:09.687+00:00\",\"value\":34411.71,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T17:25:09.687+00:00\",\"value\":34412.56,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T17:40:09.687+00:00\",\"value\":34413.332,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T17:55:09.687+00:00\",\"value\":34414.254,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T18:10:09.687+00:00\",\"value\":34415.395,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T18:25:09.687+00:00\",\"value\":34416.465,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T18:40:09.687+00:00\",\"value\":34417.434,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T18:55:09.687+00:00\",\"value\":34418.508,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T19:10:09.687+00:00\",\"value\":34419.41,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T19:25:09.687+00:00\",\"value\":34420.395,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T19:40:09.687+00:00\",\"value\":34421.12,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T19:55:09.687+00:00\",\"value\":34422.273,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T20:10:09.687+00:00\",\"value\":34423.004,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T20:25:09.687+00:00\",\"value\":34423.824,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T20:40:09.687+00:00\",\"value\":34424.81,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T20:55:09.687+00:00\",\"value\":34425.67,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T21:10:09.687+00:00\",\"value\":34426.715,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T21:25:09.687+00:00\",\"value\":34427.59,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T21:40:09.687+00:00\",\"value\":34428.645,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T21:55:09.687+00:00\",\"value\":34429.504,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T22:10:09.687+00:00\",\"value\":34429.652,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T22:25:09.687+00:00\",\"value\":34429.777,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T22:40:09.687+00:00\",\"value\":34429.93,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T22:55:09.687+00:00\",\"value\":34430.082,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T23:10:09.687+00:00\",\"value\":34430.22,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T23:25:09.687+00:00\",\"value\":34430.375,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T23:40:09.687+00:00\",\"value\":34430.5,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-06T23:55:09.687+00:00\",\"value\":34430.625,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T00:10:09.687+00:00\",\"value\":34430.74,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T00:25:09.687+00:00\",\"value\":34430.875,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T00:40:09.687+00:00\",\"value\":34430.992,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T00:55:09.687+00:00\",\"value\":34431.133,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T01:10:09.687+00:00\",\"value\":34431.266,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T01:25:09.687+00:00\",\"value\":34431.402,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T01:40:09.687+00:00\",\"value\":34431.508,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T01:55:09.687+00:00\",\"value\":34431.63,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T02:10:09.687+00:00\",\"value\":34431.76,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T02:25:09.687+00:00\",\"value\":34431.9,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}},{\"timeStamp\":\"2010-09-07T02:40:09.687+00:00\",\"value\":34432.043,\"ReadingQualities\":[{\"quality\":\"1.4.0.0\"}],\"ReadingType\":{\"@ref\":\"2.1.1.1.0.4.0.0.224.3.72\"}}]}],\"ReadingType\":[{\"mRID\":\"2.1.1.1.0.4.0.0.224.3.72\",\"aliasName\":\"Raw\",\"channelNumber\":0,\"defaultQuality\":\"0.0.0\",\"intervalLength\":900.0,\"kind\":\"current\",\"multiplier\":\"k\",\"name\":\"Cumulative\",\"unit\":\"Wh\"}]}"
59
+ http_version: "1.1"
@@ -0,0 +1,146 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: https://dev-program.tendrildemo.com:443/api/rest/pricing/schedule;to=2011-10-10T21:45:08-0500;from=2011-10-09T21:45:08-0500;external-account-id=Jenkins
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/json
10
+ emsauthtoken:
11
+ - jason@tendrilinc.com:password
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ content-type:
18
+ - application/json
19
+ server:
20
+ - Jetty(7.5.0.RC0)
21
+ date:
22
+ - Tue, 11 Oct 2011 02:45:07 GMT
23
+ cache-control:
24
+ - no-store
25
+ vary:
26
+ - Accept-Encoding
27
+ transfer-encoding:
28
+ - chunked
29
+ body: "{\"@accountId\":\"Jenkins\",\"@endDate\":\"2011-10-11T02:45:08Z\",\"@startDate\":\"2011-10-10T02:45:08Z\",\"effectivePriceRecords\":{\"effectivePriceRecord\":[{\"effectiveDate\":\"2011-10-10T02:45:08Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T14:00:00-06:00\",\"id\":1008542860542},{\"effectiveDate\":\"2011-10-10T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-10T20:00:00-06:00\",\"id\":1071590718636},{\"effectiveDate\":\"2011-10-11T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T20:45:08-06:00\",\"id\":1091573260542}]}}"
30
+ http_version: "1.1"
31
+ - !ruby/struct:VCR::HTTPInteraction
32
+ request: !ruby/struct:VCR::Request
33
+ method: :get
34
+ uri: https://dev-program.tendrildemo.com:443/api/rest/pricing/schedule;to=2011-10-10T21:45:17-0500;from=2011-10-09T21:45:17-0500;external-account-id=Jenkins
35
+ body:
36
+ headers:
37
+ accept:
38
+ - application/json
39
+ emsauthtoken:
40
+ - jason@tendrilinc.com:password
41
+ response: !ruby/struct:VCR::Response
42
+ status: !ruby/struct:VCR::ResponseStatus
43
+ code: 200
44
+ message: OK
45
+ headers:
46
+ content-type:
47
+ - application/json
48
+ date:
49
+ - Tue, 11 Oct 2011 02:45:17 GMT
50
+ server:
51
+ - Jetty(7.5.0.RC0)
52
+ vary:
53
+ - Accept-Encoding
54
+ cache-control:
55
+ - no-store
56
+ transfer-encoding:
57
+ - chunked
58
+ body: "{\"@accountId\":\"Jenkins\",\"@endDate\":\"2011-10-11T02:45:17Z\",\"@startDate\":\"2011-10-10T02:45:17Z\",\"effectivePriceRecords\":{\"effectivePriceRecord\":[{\"effectiveDate\":\"2011-10-10T02:45:17Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T14:00:00-06:00\",\"id\":1008542860542},{\"effectiveDate\":\"2011-10-10T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-10T20:00:00-06:00\",\"id\":1071590718636},{\"effectiveDate\":\"2011-10-11T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T20:45:17-06:00\",\"id\":1091573260542}]}}"
59
+ http_version: "1.1"
60
+ - !ruby/struct:VCR::HTTPInteraction
61
+ request: !ruby/struct:VCR::Request
62
+ method: :get
63
+ uri: https://dev-program.tendrildemo.com:443/api/rest/pricing/schedule;to=2011-10-10T21:46:13-0500;from=2011-10-09T21:46:13-0500;external-account-id=Jenkins
64
+ body:
65
+ headers:
66
+ accept:
67
+ - application/json
68
+ emsauthtoken:
69
+ - jason@tendrilinc.com:password
70
+ response: !ruby/struct:VCR::Response
71
+ status: !ruby/struct:VCR::ResponseStatus
72
+ code: 200
73
+ message: OK
74
+ headers:
75
+ content-type:
76
+ - application/json
77
+ server:
78
+ - Jetty(7.5.0.RC0)
79
+ date:
80
+ - Tue, 11 Oct 2011 02:46:12 GMT
81
+ cache-control:
82
+ - no-store
83
+ vary:
84
+ - Accept-Encoding
85
+ transfer-encoding:
86
+ - chunked
87
+ body: "{\"@accountId\":\"Jenkins\",\"@endDate\":\"2011-10-11T02:46:13Z\",\"@startDate\":\"2011-10-10T02:46:13Z\",\"effectivePriceRecords\":{\"effectivePriceRecord\":[{\"effectiveDate\":\"2011-10-10T02:46:13Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T14:00:00-06:00\",\"id\":1008542860542},{\"effectiveDate\":\"2011-10-10T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-10T20:00:00-06:00\",\"id\":1071590718636},{\"effectiveDate\":\"2011-10-11T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T20:46:13-06:00\",\"id\":1091573260542}]}}"
88
+ http_version: "1.1"
89
+ - !ruby/struct:VCR::HTTPInteraction
90
+ request: !ruby/struct:VCR::Request
91
+ method: :get
92
+ uri: https://dev-program.tendrildemo.com:443/api/rest/pricing/schedule;to=2011-10-10T21:46:28-0500;from=2011-10-09T21:46:28-0500;external-account-id=Jenkins
93
+ body:
94
+ headers:
95
+ accept:
96
+ - application/json
97
+ emsauthtoken:
98
+ - jason@tendrilinc.com:password
99
+ response: !ruby/struct:VCR::Response
100
+ status: !ruby/struct:VCR::ResponseStatus
101
+ code: 200
102
+ message: OK
103
+ headers:
104
+ content-type:
105
+ - application/json
106
+ date:
107
+ - Tue, 11 Oct 2011 02:46:27 GMT
108
+ server:
109
+ - Jetty(7.5.0.RC0)
110
+ vary:
111
+ - Accept-Encoding
112
+ cache-control:
113
+ - no-store
114
+ transfer-encoding:
115
+ - chunked
116
+ body: "{\"@accountId\":\"Jenkins\",\"@endDate\":\"2011-10-11T02:46:28Z\",\"@startDate\":\"2011-10-10T02:46:28Z\",\"effectivePriceRecords\":{\"effectivePriceRecord\":[{\"effectiveDate\":\"2011-10-10T02:46:28Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T14:00:00-06:00\",\"id\":1008542860542},{\"effectiveDate\":\"2011-10-10T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-10T20:00:00-06:00\",\"id\":1071590718636},{\"effectiveDate\":\"2011-10-11T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T20:46:28-06:00\",\"id\":1091573260542}]}}"
117
+ http_version: "1.1"
118
+ - !ruby/struct:VCR::HTTPInteraction
119
+ request: !ruby/struct:VCR::Request
120
+ method: :get
121
+ uri: https://dev-program.tendrildemo.com:443/api/rest/pricing/schedule;to=2011-10-10T21:45:08-0500;from=2011-09-10T21:45:08-0500;external-account-id=Jenkins
122
+ body:
123
+ headers:
124
+ accept:
125
+ - application/json
126
+ emsauthtoken:
127
+ - jason@tendrilinc.com:password
128
+ response: !ruby/struct:VCR::Response
129
+ status: !ruby/struct:VCR::ResponseStatus
130
+ code: 200
131
+ message: OK
132
+ headers:
133
+ content-type:
134
+ - application/json
135
+ server:
136
+ - Jetty(7.5.0.RC0)
137
+ date:
138
+ - Tue, 11 Oct 2011 02:47:04 GMT
139
+ cache-control:
140
+ - no-store
141
+ vary:
142
+ - Accept-Encoding
143
+ transfer-encoding:
144
+ - chunked
145
+ body: "{\"@accountId\":\"Jenkins\",\"@endDate\":\"2011-10-11T02:45:08Z\",\"@startDate\":\"2011-09-11T02:45:08Z\",\"effectivePriceRecords\":{\"effectivePriceRecord\":[{\"effectiveDate\":\"2011-09-11T02:45:08Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-11T14:00:00-06:00\",\"id\":1399338739458},{\"effectiveDate\":\"2011-09-11T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-11T20:00:00-06:00\",\"id\":1336290881364},{\"effectiveDate\":\"2011-09-12T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-12T14:00:00-06:00\",\"id\":1316308339458},{\"effectiveDate\":\"2011-09-12T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-12T20:00:00-06:00\",\"id\":1253260481364},{\"effectiveDate\":\"2011-09-13T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-13T14:00:00-06:00\",\"id\":1233277939458},{\"effectiveDate\":\"2011-09-13T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-13T20:00:00-06:00\",\"id\":1170230081364},{\"effectiveDate\":\"2011-09-14T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-14T14:00:00-06:00\",\"id\":1150247539458},{\"effectiveDate\":\"2011-09-14T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-14T20:00:00-06:00\",\"id\":1087199681364},{\"effectiveDate\":\"2011-09-15T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-15T14:00:00-06:00\",\"id\":1067217139458},{\"effectiveDate\":\"2011-09-15T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-15T20:00:00-06:00\",\"id\":1004169281364},{\"effectiveDate\":\"2011-09-16T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-16T14:00:00-06:00\",\"id\":984186739458},{\"effectiveDate\":\"2011-09-16T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-16T20:00:00-06:00\",\"id\":921138881364},{\"effectiveDate\":\"2011-09-17T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-17T14:00:00-06:00\",\"id\":901156339458},{\"effectiveDate\":\"2011-09-17T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-17T20:00:00-06:00\",\"id\":838108481364},{\"effectiveDate\":\"2011-09-18T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-18T14:00:00-06:00\",\"id\":818125939458},{\"effectiveDate\":\"2011-09-18T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-18T20:00:00-06:00\",\"id\":755078081364},{\"effectiveDate\":\"2011-09-19T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-19T14:00:00-06:00\",\"id\":735095539458},{\"effectiveDate\":\"2011-09-19T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-19T20:00:00-06:00\",\"id\":672047681364},{\"effectiveDate\":\"2011-09-20T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-20T14:00:00-06:00\",\"id\":652065139458},{\"effectiveDate\":\"2011-09-20T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-20T20:00:00-06:00\",\"id\":589017281364},{\"effectiveDate\":\"2011-09-21T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-21T14:00:00-06:00\",\"id\":569034739458},{\"effectiveDate\":\"2011-09-21T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-21T20:00:00-06:00\",\"id\":505986881364},{\"effectiveDate\":\"2011-09-22T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-22T14:00:00-06:00\",\"id\":486004339458},{\"effectiveDate\":\"2011-09-22T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-22T20:00:00-06:00\",\"id\":422956481364},{\"effectiveDate\":\"2011-09-23T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-23T14:00:00-06:00\",\"id\":402973939458},{\"effectiveDate\":\"2011-09-23T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-23T20:00:00-06:00\",\"id\":339926081364},{\"effectiveDate\":\"2011-09-24T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-24T14:00:00-06:00\",\"id\":319943539458},{\"effectiveDate\":\"2011-09-24T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-24T20:00:00-06:00\",\"id\":256895681364},{\"effectiveDate\":\"2011-09-25T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-25T14:00:00-06:00\",\"id\":236913139458},{\"effectiveDate\":\"2011-09-25T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-25T20:00:00-06:00\",\"id\":173865281364},{\"effectiveDate\":\"2011-09-26T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-26T14:00:00-06:00\",\"id\":153882739458},{\"effectiveDate\":\"2011-09-26T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-26T20:00:00-06:00\",\"id\":90834881364},{\"effectiveDate\":\"2011-09-27T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-27T14:00:00-06:00\",\"id\":70852339458},{\"effectiveDate\":\"2011-09-27T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-27T20:00:00-06:00\",\"id\":7804481364},{\"effectiveDate\":\"2011-09-28T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-28T14:00:00-06:00\",\"id\":12178060542},{\"effectiveDate\":\"2011-09-28T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-28T20:00:00-06:00\",\"id\":75225918636},{\"effectiveDate\":\"2011-09-29T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-29T14:00:00-06:00\",\"id\":95208460542},{\"effectiveDate\":\"2011-09-29T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-29T20:00:00-06:00\",\"id\":158256318636},{\"effectiveDate\":\"2011-09-30T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-09-30T14:00:00-06:00\",\"id\":178238860542},{\"effectiveDate\":\"2011-09-30T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-09-30T20:00:00-06:00\",\"id\":241286718636},{\"effectiveDate\":\"2011-10-01T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-01T14:00:00-06:00\",\"id\":261269260542},{\"effectiveDate\":\"2011-10-01T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-01T20:00:00-06:00\",\"id\":324317118636},{\"effectiveDate\":\"2011-10-02T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-02T14:00:00-06:00\",\"id\":344299660542},{\"effectiveDate\":\"2011-10-02T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-02T20:00:00-06:00\",\"id\":407347518636},{\"effectiveDate\":\"2011-10-03T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-03T14:00:00-06:00\",\"id\":427330060542},{\"effectiveDate\":\"2011-10-03T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-03T20:00:00-06:00\",\"id\":490377918636},{\"effectiveDate\":\"2011-10-04T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-04T14:00:00-06:00\",\"id\":510360460542},{\"effectiveDate\":\"2011-10-04T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-04T20:00:00-06:00\",\"id\":573408318636},{\"effectiveDate\":\"2011-10-05T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-05T14:00:00-06:00\",\"id\":593390860542},{\"effectiveDate\":\"2011-10-05T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-05T20:00:00-06:00\",\"id\":656438718636},{\"effectiveDate\":\"2011-10-06T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-06T14:00:00-06:00\",\"id\":676421260542},{\"effectiveDate\":\"2011-10-06T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-06T20:00:00-06:00\",\"id\":739469118636},{\"effectiveDate\":\"2011-10-07T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-07T14:00:00-06:00\",\"id\":759451660542},{\"effectiveDate\":\"2011-10-07T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-07T20:00:00-06:00\",\"id\":822499518636},{\"effectiveDate\":\"2011-10-08T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-08T14:00:00-06:00\",\"id\":842482060542},{\"effectiveDate\":\"2011-10-08T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-08T20:00:00-06:00\",\"id\":905529918636},{\"effectiveDate\":\"2011-10-09T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-09T14:00:00-06:00\",\"id\":925512460542},{\"effectiveDate\":\"2011-10-09T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-09T20:00:00-06:00\",\"id\":988560318636},{\"effectiveDate\":\"2011-10-10T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T14:00:00-06:00\",\"id\":1008542860542},{\"effectiveDate\":\"2011-10-10T20:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"B\",\"rateLabel\":\"Rate B\",\"energyPrice\":0.34000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":2,\"registerIndex\":2,\"numberOfRates\":3,\"peak\":true,\"endDate\":\"2011-10-10T20:00:00-06:00\",\"id\":1071590718636},{\"effectiveDate\":\"2011-10-11T02:00:00Z\",\"programName\":\"Savers Plan\",\"programDescription\":\"This is the Savers Plan pricing program\",\"programTariffUrl\":\"http://tariffs.tendriltree.com/\",\"scheduleName\":\"PENDING!\",\"rateKey\":\"A\",\"rateLabel\":\"Rate A\",\"energyPrice\":0.08000,\"deliveryCharge\":0.00000,\"accountId\":\"Jenkins\",\"priceIndex\":1,\"registerIndex\":1,\"numberOfRates\":3,\"peak\":false,\"endDate\":\"2011-10-10T20:45:08-06:00\",\"id\":1091573260542}]}}"
146
+ http_version: "1.1"
data/spec/vcr_setup.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'vcr'
2
+
3
+ VCR.config do |c|
4
+ c.cassette_library_dir = 'spec/vcr_cassettes'
5
+ c.stub_with :webmock
6
+ c.default_cassette_options = { :record => :new_episodes }
7
+ end
data/tendril.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "tendril/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "tendril"
7
+ s.version = Tendril::VERSION
8
+ s.authors = ["Johnny Khai Nguyen"]
9
+ s.email = ["johnnyn@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{Ruby wrapper for the Tendril API}
12
+ s.description = %q{Use this to access the Tendril API in your Ruby application}
13
+
14
+ s.rubyforge_project = "tendril"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency 'active_support'
22
+ s.add_dependency 'httparty'
23
+ s.add_dependency 'hashie'
24
+ s.add_dependency 'json'
25
+ s.add_development_dependency 'rspec'
26
+ s.add_development_dependency 'webmock'
27
+ s.add_development_dependency 'vcr'
28
+ s.add_development_dependency 'i18n'
29
+
30
+ # specify any dependencies here; for example:
31
+ # s.add_development_dependency "rspec"
32
+ # s.add_runtime_dependency "rest-client"
33
+ end
metadata ADDED
@@ -0,0 +1,194 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tendril
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Johnny Khai Nguyen
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-10-10 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: active_support
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: httparty
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :runtime
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: hashie
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: json
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
74
+ version: "0"
75
+ type: :runtime
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ name: rspec
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ hash: 3
86
+ segments:
87
+ - 0
88
+ version: "0"
89
+ type: :development
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
92
+ name: webmock
93
+ prerelease: false
94
+ requirement: &id006 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ hash: 3
100
+ segments:
101
+ - 0
102
+ version: "0"
103
+ type: :development
104
+ version_requirements: *id006
105
+ - !ruby/object:Gem::Dependency
106
+ name: vcr
107
+ prerelease: false
108
+ requirement: &id007 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ hash: 3
114
+ segments:
115
+ - 0
116
+ version: "0"
117
+ type: :development
118
+ version_requirements: *id007
119
+ - !ruby/object:Gem::Dependency
120
+ name: i18n
121
+ prerelease: false
122
+ requirement: &id008 !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ hash: 3
128
+ segments:
129
+ - 0
130
+ version: "0"
131
+ type: :development
132
+ version_requirements: *id008
133
+ description: Use this to access the Tendril API in your Ruby application
134
+ email:
135
+ - johnnyn@gmail.com
136
+ executables: []
137
+
138
+ extensions: []
139
+
140
+ extra_rdoc_files: []
141
+
142
+ files:
143
+ - .gitignore
144
+ - Gemfile
145
+ - Rakefile
146
+ - lib/tendril.rb
147
+ - lib/tendril/client.rb
148
+ - lib/tendril/version.rb
149
+ - spec/spec_helper.rb
150
+ - spec/tendril/client_spec.rb
151
+ - spec/vcr_cassettes/meter.yml
152
+ - spec/vcr_cassettes/pricing.yml
153
+ - spec/vcr_setup.rb
154
+ - tendril.gemspec
155
+ has_rdoc: true
156
+ homepage: ""
157
+ licenses: []
158
+
159
+ post_install_message:
160
+ rdoc_options: []
161
+
162
+ require_paths:
163
+ - lib
164
+ required_ruby_version: !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ hash: 3
170
+ segments:
171
+ - 0
172
+ version: "0"
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ none: false
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ hash: 3
179
+ segments:
180
+ - 0
181
+ version: "0"
182
+ requirements: []
183
+
184
+ rubyforge_project: tendril
185
+ rubygems_version: 1.6.2
186
+ signing_key:
187
+ specification_version: 3
188
+ summary: Ruby wrapper for the Tendril API
189
+ test_files:
190
+ - spec/spec_helper.rb
191
+ - spec/tendril/client_spec.rb
192
+ - spec/vcr_cassettes/meter.yml
193
+ - spec/vcr_cassettes/pricing.yml
194
+ - spec/vcr_setup.rb