Reference for https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/poiSets?setId={SETID}&poiId={POIID}&persistentId={PERSISTENTID}&dataset={DATASET}&providerId={PROVIDERID}
Url: https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/poiSets?setId={SETID}&poiId={POIID}&persistentId={PERSISTENTID}&dataset={DATASET}&providerId={PROVIDERID}
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:
<POIInfo xmlns="http://pcmiler.alk.com/APIs/v1.0">
<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>
<PhoneNumber>String content</PhoneNumber>
<Misc>String content</Misc>
<Amenities>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
</Amenities>
<FuelPrices>
<POIFuelPriceInfo>
<Currency>String content</Currency>
<Grade>String content</Grade>
<Price>1.26743233E+15</Price>
</POIFuelPriceInfo>
<POIFuelPriceInfo>
<Currency>String content</Currency>
<Grade>String content</Grade>
<Price>1.26743233E+15</Price>
</POIFuelPriceInfo>
</FuelPrices>
<PersistentID>4294967295</PersistentID>
<ReportedInfo>
<AverageRating>1.26743233E+15</AverageRating>
<NumberOfReviews>2147483647</NumberOfReviews>
<ParkingStatus>
<ProviderParkingStatus>
<NumberOfSpacesAvailable>2147483647</NumberOfSpacesAvailable>
<Capacity>2147483647</Capacity>
<LastUpdated>9223372036854775807</LastUpdated>
</ProviderParkingStatus>
<UserParkingStatus>
<UserReportedParkingAvailability>
<ParkingStatus>String content</ParkingStatus>
<LastUpdated>9223372036854775807</LastUpdated>
</UserReportedParkingAvailability>
<UserReportedParkingAvailability>
<ParkingStatus>String content</ParkingStatus>
<LastUpdated>9223372036854775807</LastUpdated>
</UserReportedParkingAvailability>
</UserParkingStatus>
</ParkingStatus>
</ReportedInfo>
<HighwayAddress>String content</HighwayAddress>
<ProviderID>4294967295</ProviderID>
</POIInfo>
The following is an example response Json body:
{
"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",
"PhoneNumber":"String content",
"Misc":"String content",
"Amenities":["String content"],
"FuelPrices":[{
"Currency":"String content",
"Grade":"String content",
"Price":1.26743233E+15
}],
"PersistentID":4294967295,
"ReportedInfo":{
"AverageRating":1.26743233E+15,
"NumberOfReviews":2147483647,
"ParkingStatus":{
"ProviderParkingStatus":{
"NumberOfSpacesAvailable":2147483647,
"Capacity":2147483647,
"LastUpdated":9223372036854775807
},
"UserParkingStatus":[{
"ParkingStatus":"String content",
"LastUpdated":9223372036854775807
}]
}
},
"HighwayAddress":"String content",
"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.microsoft.com/2003/10/Serialization/Arrays" />
<xs:complexType name="POIInfo">
<xs:complexContent mixed="false">
<xs:extension base="tns:Location">
<xs:sequence>
<xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Misc" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Amenities" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
<xs:element minOccurs="0" name="FuelPrices" nillable="true" type="tns:ArrayOfPOIFuelPriceInfo" />
<xs:element minOccurs="0" name="PersistentID" nillable="true" type="xs:unsignedInt" />
<xs:element minOccurs="0" name="ReportedInfo" nillable="true" type="tns:POIReportedInfo" />
<xs:element minOccurs="0" name="HighwayAddress" nillable="true" type="xs:string" />
<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:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="POIInfo" nillable="true" type="tns:POIInfo" />
<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:complexType name="ArrayOfPOIFuelPriceInfo">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="POIFuelPriceInfo" nillable="true" type="tns:POIFuelPriceInfo" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfPOIFuelPriceInfo" nillable="true" type="tns:ArrayOfPOIFuelPriceInfo" />
<xs:complexType name="POIFuelPriceInfo">
<xs:sequence>
<xs:element minOccurs="0" name="Currency" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Grade" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Price" type="xs:double" />
</xs:sequence>
</xs:complexType>
<xs:element name="POIFuelPriceInfo" nillable="true" type="tns:POIFuelPriceInfo" />
<xs:complexType name="POIReportedInfo">
<xs:sequence>
<xs:element minOccurs="0" name="AverageRating" type="xs:double" />
<xs:element minOccurs="0" name="NumberOfReviews" type="xs:int" />
<xs:element minOccurs="0" name="ParkingStatus" nillable="true" type="tns:ParkingAvailability" />
</xs:sequence>
</xs:complexType>
<xs:element name="POIReportedInfo" nillable="true" type="tns:POIReportedInfo" />
<xs:complexType name="ParkingAvailability">
<xs:sequence>
<xs:element minOccurs="0" name="ProviderParkingStatus" nillable="true" type="tns:ProviderReportedParkingAvailability" />
<xs:element minOccurs="0" name="UserParkingStatus" nillable="true" type="tns:ArrayOfUserReportedParkingAvailability" />
</xs:sequence>
</xs:complexType>
<xs:element name="ParkingAvailability" nillable="true" type="tns:ParkingAvailability" />
<xs:complexType name="ProviderReportedParkingAvailability">
<xs:sequence>
<xs:element minOccurs="0" name="NumberOfSpacesAvailable" type="xs:int" />
<xs:element minOccurs="0" name="Capacity" type="xs:int" />
<xs:element minOccurs="0" name="LastUpdated" type="xs:long" />
</xs:sequence>
</xs:complexType>
<xs:element name="ProviderReportedParkingAvailability" nillable="true" type="tns:ProviderReportedParkingAvailability" />
<xs:complexType name="ArrayOfUserReportedParkingAvailability">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="UserReportedParkingAvailability" nillable="true" type="tns:UserReportedParkingAvailability" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfUserReportedParkingAvailability" nillable="true" type="tns:ArrayOfUserReportedParkingAvailability" />
<xs:complexType name="UserReportedParkingAvailability">
<xs:sequence>
<xs:element minOccurs="0" name="ParkingStatus" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="LastUpdated" type="xs:long" />
</xs:sequence>
</xs:complexType>
<xs:element name="UserReportedParkingAvailability" nillable="true" type="tns:UserReportedParkingAvailability" />
</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.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ArrayOfstring">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</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>