Reference for https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/poi?center={CENTERLNGLAT}®ion={REGION}&radius={RADIUS}&radiusUnits={RADIUSUNITS}&poiCategories={POICATEGORIES}&nameFilter={NAMEFILTER}&getPoiIDs={GETPOIIDS}&country={COUNTRY}&countryAbbrevType={COUNTRYABBREVTYPE}&dataset={DATASET}&maxResults={MAXRESULTS}
Url: https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/poi?center={CENTERLNGLAT}®ion={REGION}&radius={RADIUS}&radiusUnits={RADIUSUNITS}&poiCategories={POICATEGORIES}&nameFilter={NAMEFILTER}&getPoiIDs={GETPOIIDS}&country={COUNTRY}&countryAbbrevType={COUNTRYABBREVTYPE}&dataset={DATASET}&maxResults={MAXRESULTS}
HTTP Method: GET
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
Response | Json | Example |
The following is an example response Xml body:
<ArrayOfRadiusSearchMatch xmlns="http://pcmiler.alk.com/APIs/v1.0"> <RadiusSearchMatch> <DistanceFromCenter> <Value>1.26743233E+15</Value> <DistanceUnits>Miles</DistanceUnits> </DistanceFromCenter> <POICategory>String content</POICategory> <POILocation> <Address> <StreetAddress>String content</StreetAddress> <City>String content</City> <State>String content</State> <Zip>String content</Zip> <County>String content</County> <Country>String content</Country> <SPLC>String content</SPLC> <CountryPostalFilter>US</CountryPostalFilter> <AbbreviationFormat>FIPS</AbbreviationFormat> <StateName>String content</StateName> <StateAbbreviation>String content</StateAbbreviation> <CountryAbbreviation>String content</CountryAbbreviation> </Address> <!--Valid elements of type: GPSPoint--> <Coords i:type="GPSPoint" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Lat>String content</Lat> <Lon>String content</Lon> <Speed>1.26743233E+15</Speed> <Heading>1.26743233E+15</Heading> <Timestamp>2147483647</Timestamp> </Coords> <Region>Unknown</Region> <Label>String content</Label> <PlaceName>String content</PlaceName> <PlaceId>String content</PlaceId> </POILocation> <Info> <KeyValuePairOfstringstring xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <key>String content</key> <value>String content</value> </KeyValuePairOfstringstring> <KeyValuePairOfstringstring xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <key>String content</key> <value>String content</value> </KeyValuePairOfstringstring> </Info> <PoiID>4294967295</PoiID> <SetID>4294967295</SetID> <PersistentID>4294967295</PersistentID> <ProviderID>4294967295</ProviderID> </RadiusSearchMatch> <RadiusSearchMatch> <DistanceFromCenter> <Value>1.26743233E+15</Value> <DistanceUnits>Miles</DistanceUnits> </DistanceFromCenter> <POICategory>String content</POICategory> <POILocation> <Address> <StreetAddress>String content</StreetAddress> <City>String content</City> <State>String content</State> <Zip>String content</Zip> <County>String content</County> <Country>String content</Country> <SPLC>String content</SPLC> <CountryPostalFilter>US</CountryPostalFilter> <AbbreviationFormat>FIPS</AbbreviationFormat> <StateName>String content</StateName> <StateAbbreviation>String content</StateAbbreviation> <CountryAbbreviation>String content</CountryAbbreviation> </Address> <!--Valid elements of type: GPSPoint--> <Coords i:type="GPSPoint" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Lat>String content</Lat> <Lon>String content</Lon> <Speed>1.26743233E+15</Speed> <Heading>1.26743233E+15</Heading> <Timestamp>2147483647</Timestamp> </Coords> <Region>Unknown</Region> <Label>String content</Label> <PlaceName>String content</PlaceName> <PlaceId>String content</PlaceId> </POILocation> <Info> <KeyValuePairOfstringstring xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <key>String content</key> <value>String content</value> </KeyValuePairOfstringstring> <KeyValuePairOfstringstring xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <key>String content</key> <value>String content</value> </KeyValuePairOfstringstring> </Info> <PoiID>4294967295</PoiID> <SetID>4294967295</SetID> <PersistentID>4294967295</PersistentID> <ProviderID>4294967295</ProviderID> </RadiusSearchMatch> </ArrayOfRadiusSearchMatch>
The following is an example response Json body:
[{ "DistanceFromCenter":{ "Value":1.26743233E+15, "DistanceUnits":0 }, "POICategory":"String content", "POILocation":{ "Address":{ "StreetAddress":"String content", "City":"String content", "State":"String content", "Zip":"String content", "County":"String content", "Country":"String content", "SPLC":"String content", "CountryPostalFilter":0, "AbbreviationFormat":0, "StateName":"String content", "StateAbbreviation":"String content", "CountryAbbreviation":"String content" }, "Coords":{ "Lat":"String content", "Lon":"String content", "Speed":1.26743233E+15, "Heading":1.26743233E+15, "Timestamp":2147483647 }, "Region":0, "Label":"String content", "PlaceName":"String content", "PlaceId":"String content" }, "Info":[{ "key":"String content", "value":"String content" }], "PoiID":4294967295, "SetID":4294967295, "PersistentID":4294967295, "ProviderID":4294967295 }]
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://pcmiler.alk.com/APIs/v1.0" elementFormDefault="qualified" targetNamespace="http://pcmiler.alk.com/APIs/v1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /> <xs:complexType name="ArrayOfRadiusSearchMatch"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="RadiusSearchMatch" nillable="true" type="tns:RadiusSearchMatch" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfRadiusSearchMatch" nillable="true" type="tns:ArrayOfRadiusSearchMatch" /> <xs:complexType name="RadiusSearchMatch"> <xs:sequence> <xs:element minOccurs="0" name="DistanceFromCenter" nillable="true" type="tns:Distance" /> <xs:element minOccurs="0" name="POICategory" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="POILocation" nillable="true" type="tns:Location" /> <xs:element minOccurs="0" name="Info" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" type="q1:ArrayOfKeyValuePairOfstringstring" /> <xs:element minOccurs="0" name="PoiID" nillable="true" type="xs:unsignedInt" /> <xs:element minOccurs="0" name="SetID" nillable="true" type="xs:unsignedInt" /> <xs:element minOccurs="0" name="PersistentID" nillable="true" type="xs:unsignedInt" /> <xs:element minOccurs="0" name="ProviderID" nillable="true" type="xs:unsignedInt"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:element name="RadiusSearchMatch" nillable="true" type="tns:RadiusSearchMatch" /> <xs:complexType name="Distance"> <xs:sequence> <xs:element minOccurs="0" name="Value" type="xs:double" /> <xs:element minOccurs="0" name="DistanceUnits" type="tns:DistanceUnits" /> </xs:sequence> </xs:complexType> <xs:element name="Distance" nillable="true" type="tns:Distance" /> <xs:simpleType name="DistanceUnits"> <xs:restriction base="xs:string"> <xs:enumeration value="Miles" /> <xs:enumeration value="Kilometers" /> </xs:restriction> </xs:simpleType> <xs:element name="DistanceUnits" nillable="true" type="tns:DistanceUnits" /> <xs:complexType name="Location"> <xs:sequence> <xs:element minOccurs="0" name="Address" nillable="true" type="tns:Address" /> <xs:element minOccurs="0" name="Coords" nillable="true" type="tns:Coordinates" /> <xs:element minOccurs="0" name="Region" type="tns:DataRegion" /> <xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PlaceName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PlaceId" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:element name="Location" nillable="true" type="tns:Location" /> <xs:complexType name="Address"> <xs:sequence> <xs:element minOccurs="0" name="StreetAddress" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="County" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SPLC" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CountryPostalFilter" type="tns:PostCodeType" /> <xs:element minOccurs="0" name="AbbreviationFormat" type="tns:CountryAbbreviationType" /> <xs:element minOccurs="0" name="StateName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="StateAbbreviation" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CountryAbbreviation" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Address" nillable="true" type="tns:Address" /> <xs:simpleType name="PostCodeType"> <xs:restriction base="xs:string"> <xs:enumeration value="US" /> <xs:enumeration value="Mexico" /> <xs:enumeration value="Both" /> </xs:restriction> </xs:simpleType> <xs:element name="PostCodeType" nillable="true" type="tns:PostCodeType" /> <xs:simpleType name="CountryAbbreviationType"> <xs:restriction base="xs:string"> <xs:enumeration value="FIPS" /> <xs:enumeration value="ISO2" /> <xs:enumeration value="ISO3" /> <xs:enumeration value="GENC2" /> <xs:enumeration value="GENC3" /> </xs:restriction> </xs:simpleType> <xs:element name="CountryAbbreviationType" nillable="true" type="tns:CountryAbbreviationType" /> <xs:complexType name="Coordinates"> <xs:sequence> <xs:element minOccurs="0" name="Lat" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Lon" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Coordinates" nillable="true" type="tns:Coordinates" /> <xs:complexType name="GPSPoint"> <xs:complexContent mixed="false"> <xs:extension base="tns:Coordinates"> <xs:sequence> <xs:element minOccurs="0" name="Speed" nillable="true" type="xs:double" /> <xs:element minOccurs="0" name="Heading" nillable="true" type="xs:double" /> <xs:element minOccurs="0" name="Timestamp" nillable="true" type="xs:int" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="GPSPoint" nillable="true" type="tns:GPSPoint" /> <xs:simpleType name="DataRegion"> <xs:restriction base="xs:string"> <xs:enumeration value="Unknown" /> <xs:enumeration value="AF" /> <xs:enumeration value="AS" /> <xs:enumeration value="EU" /> <xs:enumeration value="NA" /> <xs:enumeration value="OC" /> <xs:enumeration value="SA" /> <xs:enumeration value="ME" /> <xs:enumeration value="MX" /> </xs:restriction> </xs:simpleType> <xs:element name="DataRegion" nillable="true" type="tns:DataRegion" /> </xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="anyType" nillable="true" type="xs:anyType" /> <xs:element name="anyURI" nillable="true" type="xs:anyURI" /> <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /> <xs:element name="boolean" nillable="true" type="xs:boolean" /> <xs:element name="byte" nillable="true" type="xs:byte" /> <xs:element name="dateTime" nillable="true" type="xs:dateTime" /> <xs:element name="decimal" nillable="true" type="xs:decimal" /> <xs:element name="double" nillable="true" type="xs:double" /> <xs:element name="float" nillable="true" type="xs:float" /> <xs:element name="int" nillable="true" type="xs:int" /> <xs:element name="long" nillable="true" type="xs:long" /> <xs:element name="QName" nillable="true" type="xs:QName" /> <xs:element name="short" nillable="true" type="xs:short" /> <xs:element name="string" nillable="true" type="xs:string" /> <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /> <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /> <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /> <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /> <xs:element name="char" nillable="true" type="tns:char" /> <xs:simpleType name="char"> <xs:restriction base="xs:int" /> </xs:simpleType> <xs:element name="duration" nillable="true" type="tns:duration" /> <xs:simpleType name="duration"> <xs:restriction base="xs:duration"> <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /> <xs:minInclusive value="-P10675199DT2H48M5.4775808S" /> <xs:maxInclusive value="P10675199DT2H48M5.4775807S" /> </xs:restriction> </xs:simpleType> <xs:element name="guid" nillable="true" type="tns:guid" /> <xs:simpleType name="guid"> <xs:restriction base="xs:string"> <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /> </xs:restriction> </xs:simpleType> <xs:attribute name="FactoryType" type="xs:QName" /> <xs:attribute name="Id" type="xs:ID" /> <xs:attribute name="Ref" type="xs:IDREF" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/System.Collections.Generic" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System.Collections.Generic" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> <xs:complexType name="ArrayOfKeyValuePairOfstringstring"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValuePairOfstringstring" type="tns:KeyValuePairOfstringstring" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfKeyValuePairOfstringstring" nillable="true" type="tns:ArrayOfKeyValuePairOfstringstring" /> <xs:complexType name="KeyValuePairOfstringstring"> <xs:annotation> <xs:appinfo> <GenericType Name="KeyValuePairOf{0}{1}{#}" Namespace="http://schemas.datacontract.org/2004/07/System.Collections.Generic" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"> <GenericParameter Name="string" Namespace="http://www.w3.org/2001/XMLSchema" /> <GenericParameter Name="string" Namespace="http://www.w3.org/2001/XMLSchema" /> </GenericType> <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType> </xs:appinfo> </xs:annotation> <xs:sequence> <xs:element name="key" nillable="true" type="xs:string" /> <xs:element name="value" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="KeyValuePairOfstringstring" nillable="true" type="tns:KeyValuePairOfstringstring" /> </xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema"> <tns:element name="schema"> <tns:complexType /> </tns:element> </tns:schema>