GetCityStateProvinceInternational - 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

GetCityStateProvinceInternational returns a city and state/province for a given input postal code and country.

Resource URL

https://OnDemandServer/soap/GetCityStateProvinceInternational

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:get="http://www.pb.com/spectrum/services/GetCityStateProvinceInternational">
	<soapenv:Header/>
	<soapenv:Body>
		<get:GetCityStateProvinceInternationalRequest>
			<!--Optional:-->
			<get:Input>
				<get:Row>
					<!--Optional:-->
					<get:PostalCode>95380</get:PostalCode>
					<!--Optional:-->
					<get:Country>FRA</get:Country>
					<!--Optional:-->
					<get:user_fields>
						<get:user_field>
							<get:name>?</get:name>
							<get:value>?</get:value>
						</get:user_field>
					</get:user_fields>
				</get:Row>
			</get:Input>
		</get:GetCityStateProvinceInternationalRequest>
	</soapenv:Body>
</soapenv:Envelope>

This would be the response:

<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
	<soap:Body>
		<ns3:GetCityStateProvinceInternationalResponse
			xmlns:ns2="http://spectrum.pb.com/"
			xmlns:ns3="http://www.pb.com/spectrum/services/GetCityStateProvinceInternational">
			<ns3:Output>
				<ns3:Row>
					<ns3:ProcessedBy>INTS</ns3:ProcessedBy>
					<ns3:City>ÉPIAIS-LÈS-LOUVRES</ns3:City>
					<ns3:StateProvince>VAL-D'OISE</ns3:StateProvince>
					<ns3:PostalCode>95380</ns3:PostalCode>
					<ns3:Country>FRA</ns3:Country>
					<ns3:user_fields>
						<ns3:user_field>
							<ns3:name>?</ns3:name>
							<ns3:value>?</ns3:value>
						</ns3:user_field>
					</ns3:user_fields>
				</ns3:Row>
			</ns3:Output>
		</ns3:GetCityStateProvinceInternationalResponse>
	</soap:Body>
</soap:Envelope>