FindRateCenter - Spectrum_OnDemand - Latest

Spectrum OnDemand Web Services (SOAP)

Product type
Software
Portfolio
Verify
Product family
Product
Spectrum OnDemand
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (SOAP)
First publish date
2006

FindRateCenter takes an address and returns the rate center for the location. A rate center is a geographic area used by telephone companies for billing and other purposes. This service only works with U.S. locations.

Resource URL

https://OnDemandServer/soap/FindRateCenter

For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.

Example

The following shows a SOAP request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fin="http://www.pb.com/spectrum/services/FindRateCenter">
   <soapenv:Header/>
   <soapenv:Body>
      <fin:FindRateCenterRequest>
         <fin:Input>
            <fin:Row>
               <fin:AddressLine1>3001 Summer St</fin:AddressLine1>
               <fin:City>Stamford</fin:City>
               <fin:StateProvince>CT</fin:StateProvince>
            </fin:Row>
         </fin:Input>
      </fin:FindRateCenterRequest>
   </soapenv:Body>
</soapenv:Envelope>

This would be the response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns3:FindRateCenterResponse xmlns:ns2="http://spectrum.pb.com/" xmlns:ns3="http://www.pb.com/spectrum/services/FindRateCenter">
         <ns3:Output>
            <ns3:Row>
               <ns3:Status/>
               <ns3:Status.Code/>
               <ns3:Status.Description/>
               <ns3:Confidence>85</ns3:Confidence>
               <ns3:LocationCode>AS0</ns3:LocationCode>
               <ns3:MatchCode>S90</ns3:MatchCode>
               <ns3:AdditionalInputData/>
               <ns3:AddressLine1>3001 Summer St</ns3:AddressLine1>
               <ns3:AddressLine2/>
               <ns3:City>Stamford</ns3:City>
               <ns3:LastLine>Stamford, CT  06905-4317</ns3:LastLine>
               <ns3:Latitude>41.071067</ns3:Latitude>
               <ns3:Longitude>-73.549161</ns3:Longitude>
               <ns3:RateCenterName>STAMFORD</ns3:RateCenterName>
               <ns3:RateCenterAbbr>STAMFORD</ns3:RateCenterAbbr>
               <ns3:RateCenterOCName>SOUTHERN NEW ENGLAND TELEPHONE CO.</ns3:RateCenterOCName>
               <ns3:RateCenterID>04897000138800</ns3:RateCenterID>
               <ns3:RateCenterStatus>P</ns3:RateCenterStatus>
               <ns3:HouseNumber>3001</ns3:HouseNumber>
               <ns3:PrefixDirection/>
               <ns3:StreetName>Summer</ns3:StreetName>
               <ns3:StreetType>St</ns3:StreetType>
               <ns3:PostfixDirection/>
               <ns3:UnitType/>
               <ns3:UnitNumber/>
               <ns3:Zip10>06905-4317</ns3:Zip10>
               <ns3:County>Fairfield County</ns3:County>
               <ns3:RateCenterConfidence>100</ns3:RateCenterConfidence>
               <ns3:State>CT</ns3:State>
               <ns3:CountyFIPS>09001</ns3:CountyFIPS>
               <ns3:PostalCode>06905</ns3:PostalCode>
               <ns3:StateProvince>CT</ns3:StateProvince>
               <ns3:user_fields/>
            </ns3:Row>
         </ns3:Output>
      </ns3:FindRateCenterResponse>
   </soap:Body>
</soap:Envelope>