Reference for https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/vehicleRestrictions/box?bbox={BBOX}&units={UNITS}&dataset={DATASET}&requestid={REQUESTID}&language={LANGUAGE}
Url: https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/vehicleRestrictions/box?bbox={BBOX}&units={UNITS}&dataset={DATASET}&requestid={REQUESTID}&language={LANGUAGE}
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:
<LinkRestrictionGEOJsonResponse xmlns="http://pcmiler.alk.com/APIs/v1.0">
<requestId>String content</requestId>
<units>English</units>
<featureCollection>
<type>String content</type>
<features>
<LinkRestrictionGeoJSONFeature>
<type>String content</type>
<geometry>
<type>String content</type>
<coordinates>
<double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
<double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
</coordinates>
</geometry>
<properties>
<!--Valid elements of type: DimensionRestrictionGeoJSONProperty, GeneralRestrictionGeoJSONProperty, HazmatRestrictionGeoJSONProperty-->
<AGeoJSONLinkRestriction i:type="DimensionRestrictionGeoJSONProperty" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<category>String content</category>
<descriptions>
<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>
</descriptions>
<axleload>4294967295</axleload>
<height>4294967295</height>
<length>4294967295</length>
<trailerForbidden>true</trailerForbidden>
<weight>4294967295</weight>
<width>4294967295</width>
</AGeoJSONLinkRestriction>
<!--Valid elements of type: DimensionRestrictionGeoJSONProperty, GeneralRestrictionGeoJSONProperty, HazmatRestrictionGeoJSONProperty-->
<AGeoJSONLinkRestriction i:type="DimensionRestrictionGeoJSONProperty" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<category>String content</category>
<descriptions>
<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>
</descriptions>
<axleload>4294967295</axleload>
<height>4294967295</height>
<length>4294967295</length>
<trailerForbidden>true</trailerForbidden>
<weight>4294967295</weight>
<width>4294967295</width>
</AGeoJSONLinkRestriction>
</properties>
</LinkRestrictionGeoJSONFeature>
<LinkRestrictionGeoJSONFeature>
<type>String content</type>
<geometry>
<type>String content</type>
<coordinates>
<double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
<double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
</coordinates>
</geometry>
<properties>
<!--Valid elements of type: DimensionRestrictionGeoJSONProperty, GeneralRestrictionGeoJSONProperty, HazmatRestrictionGeoJSONProperty-->
<AGeoJSONLinkRestriction i:type="DimensionRestrictionGeoJSONProperty" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<category>String content</category>
<descriptions>
<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>
</descriptions>
<axleload>4294967295</axleload>
<height>4294967295</height>
<length>4294967295</length>
<trailerForbidden>true</trailerForbidden>
<weight>4294967295</weight>
<width>4294967295</width>
</AGeoJSONLinkRestriction>
<!--Valid elements of type: DimensionRestrictionGeoJSONProperty, GeneralRestrictionGeoJSONProperty, HazmatRestrictionGeoJSONProperty-->
<AGeoJSONLinkRestriction i:type="DimensionRestrictionGeoJSONProperty" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<category>String content</category>
<descriptions>
<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>
</descriptions>
<axleload>4294967295</axleload>
<height>4294967295</height>
<length>4294967295</length>
<trailerForbidden>true</trailerForbidden>
<weight>4294967295</weight>
<width>4294967295</width>
</AGeoJSONLinkRestriction>
</properties>
</LinkRestrictionGeoJSONFeature>
</features>
</featureCollection>
</LinkRestrictionGEOJsonResponse>
The following is an example response Json body:
{
"requestId":"String content",
"units":0,
"featureCollection":{
"type":"String content",
"features":[{
"type":"String content",
"geometry":{
"type":"String content",
"coordinates":[1.26743233E+15]
},
"properties":[{
"category":"String content",
"descriptions":["String content"],
"axleload":4294967295,
"height":4294967295,
"length":4294967295,
"trailerForbidden":true,
"weight":4294967295,
"width":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="LinkRestrictionGEOJsonResponse">
<xs:sequence>
<xs:element minOccurs="0" name="requestId" 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:element minOccurs="0" name="units" type="tns:VehicleDimUnits" />
<xs:element minOccurs="0" name="featureCollection" nillable="true" type="tns:GeoJsonCollectionOfLinkRestrictionGeoJSONFeatureR_P_Sv8sTz" />
</xs:sequence>
</xs:complexType>
<xs:element name="LinkRestrictionGEOJsonResponse" nillable="true" type="tns:LinkRestrictionGEOJsonResponse" />
<xs:simpleType name="VehicleDimUnits">
<xs:restriction base="xs:string">
<xs:enumeration value="English" />
<xs:enumeration value="Metric" />
</xs:restriction>
</xs:simpleType>
<xs:element name="VehicleDimUnits" nillable="true" type="tns:VehicleDimUnits" />
<xs:complexType name="GeoJsonCollectionOfLinkRestrictionGeoJSONFeatureR_P_Sv8sTz">
<xs:annotation>
<xs:appinfo>
<GenericType Name="GeoJsonCollectionOf{0}{#}" Namespace="http://pcmiler.alk.com/APIs/v1.0" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
<GenericParameter Name="LinkRestrictionGeoJSONFeature" Namespace="http://pcmiler.alk.com/APIs/v1.0" />
</GenericType>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="features" nillable="true" type="tns:ArrayOfLinkRestrictionGeoJSONFeature" />
</xs:sequence>
</xs:complexType>
<xs:element name="GeoJsonCollectionOfLinkRestrictionGeoJSONFeatureR_P_Sv8sTz" nillable="true" type="tns:GeoJsonCollectionOfLinkRestrictionGeoJSONFeatureR_P_Sv8sTz" />
<xs:complexType name="ArrayOfLinkRestrictionGeoJSONFeature">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="LinkRestrictionGeoJSONFeature" nillable="true" type="tns:LinkRestrictionGeoJSONFeature" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfLinkRestrictionGeoJSONFeature" nillable="true" type="tns:ArrayOfLinkRestrictionGeoJSONFeature" />
<xs:complexType name="LinkRestrictionGeoJSONFeature">
<xs:sequence>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="geometry" nillable="true" type="tns:Point" />
<xs:element minOccurs="0" name="properties" nillable="true" type="tns:ArrayOfAGeoJSONLinkRestriction" />
</xs:sequence>
</xs:complexType>
<xs:element name="LinkRestrictionGeoJSONFeature" nillable="true" type="tns:LinkRestrictionGeoJSONFeature" />
<xs:complexType name="Point">
<xs:sequence>
<xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="coordinates" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfdouble" />
</xs:sequence>
</xs:complexType>
<xs:element name="Point" nillable="true" type="tns:Point" />
<xs:complexType name="ArrayOfAGeoJSONLinkRestriction">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="AGeoJSONLinkRestriction" nillable="true" type="tns:AGeoJSONLinkRestriction" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfAGeoJSONLinkRestriction" nillable="true" type="tns:ArrayOfAGeoJSONLinkRestriction" />
<xs:complexType name="AGeoJSONLinkRestriction">
<xs:sequence>
<xs:element minOccurs="0" name="category" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="descriptions" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
<xs:element name="AGeoJSONLinkRestriction" nillable="true" type="tns:AGeoJSONLinkRestriction" />
<xs:complexType name="HazmatRestrictionGeoJSONProperty">
<xs:complexContent mixed="false">
<xs:extension base="tns:AGeoJSONLinkRestriction">
<xs:sequence>
<xs:element minOccurs="0" name="hazmatTypes" nillable="true" type="tns:ArrayOfHazMatType">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="tunnelTypes" nillable="true" type="tns:ArrayOfTunnelCategory">
<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="HazmatRestrictionGeoJSONProperty" nillable="true" type="tns:HazmatRestrictionGeoJSONProperty" />
<xs:complexType name="ArrayOfHazMatType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="HazMatType" type="tns:HazMatType" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfHazMatType" nillable="true" type="tns:ArrayOfHazMatType" />
<xs:simpleType name="HazMatType">
<xs:restriction base="xs:string">
<xs:enumeration value="None" />
<xs:enumeration value="General" />
<xs:enumeration value="Caustic" />
<xs:enumeration value="Explosives" />
<xs:enumeration value="Flammable" />
<xs:enumeration value="Inhalants" />
<xs:enumeration value="Radioactive" />
<xs:enumeration value="HarmfulToWater" />
<xs:enumeration value="Tunnel" />
</xs:restriction>
</xs:simpleType>
<xs:element name="HazMatType" nillable="true" type="tns:HazMatType" />
<xs:complexType name="ArrayOfTunnelCategory">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="TunnelCategory" type="tns:TunnelCategory" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfTunnelCategory" nillable="true" type="tns:ArrayOfTunnelCategory" />
<xs:simpleType name="TunnelCategory">
<xs:restriction base="xs:string">
<xs:enumeration value="None" />
<xs:enumeration value="TunnelBCDE" />
<xs:enumeration value="TunnelCDE" />
<xs:enumeration value="TunnelDE" />
<xs:enumeration value="TunnelE" />
</xs:restriction>
</xs:simpleType>
<xs:element name="TunnelCategory" nillable="true" type="tns:TunnelCategory" />
<xs:complexType name="DimensionRestrictionGeoJSONProperty">
<xs:complexContent mixed="false">
<xs:extension base="tns:AGeoJSONLinkRestriction">
<xs:sequence>
<xs:element minOccurs="0" name="axleload" 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:element minOccurs="0" name="height" 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:element minOccurs="0" name="length" 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:element minOccurs="0" name="trailerForbidden" nillable="true" type="xs:boolean">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="weight" 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:element minOccurs="0" name="width" 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="DimensionRestrictionGeoJSONProperty" nillable="true" type="tns:DimensionRestrictionGeoJSONProperty" />
<xs:complexType name="GeneralRestrictionGeoJSONProperty">
<xs:complexContent mixed="false">
<xs:extension base="tns:AGeoJSONLinkRestriction">
<xs:sequence>
<xs:element minOccurs="0" name="autoAllowed" nillable="true" type="xs:boolean">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="deliveryTrucksOnly" nillable="true" type="xs:boolean">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="truckRestricted" nillable="true" type="xs:boolean">
<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="GeneralRestrictionGeoJSONProperty" nillable="true" type="tns:GeneralRestrictionGeoJSONProperty" />
</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="ArrayOfdouble">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="double" type="xs:double" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfdouble" nillable="true" type="tns:ArrayOfdouble" />
<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>