WireCenterCode

WireCenterCode takes either a latitude/longitude or address and returns the code of the wire center that services the location's phone line. This service only works with US locations.

Resource URL

https://OnDemandServer/soap/WireCenterCode

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:wir="http://www.pb.com/spectrum/services/WireCenterCode">
   <soapenv:Header/>
   <soapenv:Body>
      <wir:WireCenterCodeRequest>
         <wir:Input>
            <wir:Row>
               <wir:AddressLine1>3001 Summer St</wir:AddressLine1>
               <wir:City>Stamford</wir:City>
               <wir:StateProvince>CT</wir:StateProvince>
            </wir:Row>
         </wir:Input>
      </wir:WireCenterCodeRequest>
   </soapenv:Body>
</soapenv:Envelope>

This would be the response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns3:WireCenterCodeResponse xmlns:ns2="http://spectrum.pb.com/" xmlns:ns3="http://www.pb.com/spectrum/services/WireCenterCode">
         <ns3:Output>
            <ns3:Row>
               <ns3:WC_Code>SMFRCT01</ns3:WC_Code>
               <ns3:Status/>
               <ns3:Status.Code/>
               <ns3:Status.Description/>
               <ns3:Confidence>89</ns3:Confidence>
               <ns3:ProcessedBy>KGL</ns3:ProcessedBy>
               <ns3:StreetDataType>POINT DATA</ns3:StreetDataType>
               <ns3:LocationCode>AP02</ns3:LocationCode>
               <ns3:MatchCode>S90</ns3:MatchCode>
               <ns3:AdditionalInputData/>
               <ns3:AddressLine1>3001 Summer St</ns3:AddressLine1>
               <ns3:AddressLine2/>
               <ns3:City>Stamford</ns3:City>
               <ns3:Country>United States of America</ns3:Country>
               <ns3:FirmName>Stamford Square</ns3:FirmName>
               <ns3:LastLine>Stamford, CT  06905-4317</ns3:LastLine>
               <ns3:PostalCode>06905-4317</ns3:PostalCode>
               <ns3:PostalCode.Base>06905</ns3:PostalCode.Base>
               <ns3:PostalCode.AddOn>4317</ns3:PostalCode.AddOn>
               <ns3:RRHC/>
               <ns3:StateProvince>CT</ns3:StateProvince>
               <ns3:USUrbanName/>
               <ns3:Latitude>41.070904</ns3:Latitude>
               <ns3:Longitude>-73.548668</ns3:Longitude>
               <ns3:StreetSide>L</ns3:StreetSide>
               <ns3:user_fields/>
            </ns3:Row>
         </ns3:Output>
      </ns3:WireCenterCodeResponse>
   </soap:Body>
</soap:Envelope>