--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://api.genability.com:80/rest/public/territories?appId=ValidAppID&appKey=ValidAppKey&lseId=734 body: headers: accept: - application/json; charset=utf-8 user-agent: - Genability API Ruby Gem accept-encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: server: - Apache-Coyote/1.1 content-type: - application/json;charset=utf-8 transfer-encoding: - chunked date: - Wed, 26 Oct 2011 06:45:02 GMT body: "{\"status\":\"success\",\"count\":11,\"type\":\"Territory\",\"results\":[{\"territoryId\":807,\"lseId\":734,\"parentTerritoryId\":null,\"territoryName\":\"Service area for CA\",\"usageType\":\"SERVICE\",\"itemTypes\":\"COUNTY\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3534,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region P\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3535,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region Q\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3536,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region R\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3537,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region S\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3538,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region T\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3539,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region V\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3540,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region W\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3541,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region X\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3542,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region Y\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false},{\"territoryId\":3543,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region Z\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false}]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: http://api.genability.com:80/rest/public/territories?appId=ValidAppID&appKey=ValidAppKey&containsItemType=ZIPCODE&containsItemValue=94115&lseId=734&masterTariffId=522 body: headers: accept: - application/json; charset=utf-8 user-agent: - Genability API Ruby Gem accept-encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: server: - Apache-Coyote/1.1 content-type: - application/json;charset=utf-8 transfer-encoding: - chunked date: - Wed, 26 Oct 2011 06:45:02 GMT body: "{\"status\":\"success\",\"count\":1,\"type\":\"Territory\",\"results\":[{\"territoryId\":3538,\"lseId\":734,\"parentTerritoryId\":807,\"territoryName\":\"Baseline Region T\",\"usageType\":\"TARIFF\",\"itemTypes\":\"ZIPCODE\",\"items\":null,\"deregRes\":false,\"deregCandi\":false}]}" http_version: "1.1"