# CVRestrictions Class Reference

[Commercial Vehicle Information](group___commercial_vehicle.html)

![+](closed.png) Inheritance diagram for CVRestrictions:

![](class_c_v_restrictions.png)

| Column | Column | Column |
| --- | --- | --- |
 | Public Member Functions |  | 
 | [CVRestrictionData](class_c_v_restriction_data.html)[] | [GetCommercialVehicleRestrictions](class_c_v_restrictions.html#a4313b63665cd9bf184dcb8cc6af26126) (string AccessCode) | 
 |  |  | 
 | [CVRestrictionDataWithId](class_c_v_restriction_data_with_id.html)[] | [GetCommercialVehicleRestrictionsWithId](class_c_v_restrictions.html#a302f4894559a2e6af77a7a5f90fcc9db) (string AccessCode) | 
 |  |  | 


## Detailed Description

Coverage [Area](class_area.html "List of map areas available for traffic alert queries"): Statewide. Provides list of restrictions for commercial vehicles.

## Member Function Documentation

## [◆](#a4313b63665cd9bf184dcb8cc6af26126)GetCommercialVehicleRestrictions()

| Column | Column | Column | Column | Column | Column | Column |
| --- | --- | --- | --- | --- | --- | --- |
 | [CVRestrictionData](class_c_v_restriction_data.html)[] CVRestrictions.GetCommercialVehicleRestrictions | ( | string | *AccessCode* | ) |  | 


Get a complete list of all current commercial vehicle restrictions on WA State highways.

**Parameters:**

| Parameter | Description |
| --- | --- |
| AccessCode | Your Traveler API Access Code. |


**Returns:** [CVRestrictionData](class_c_v_restriction_data.html "Represents a Commercial Vehicle Restriction")[]


## [◆](#a302f4894559a2e6af77a7a5f90fcc9db)GetCommercialVehicleRestrictionsWithId()

| Column | Column | Column | Column | Column | Column | Column |
| --- | --- | --- | --- | --- | --- | --- |
 | [CVRestrictionDataWithId](class_c_v_restriction_data_with_id.html)[] CVRestrictions.GetCommercialVehicleRestrictionsWithId | ( | string | *AccessCode* | ) |  | 


Get a complete list of all current commercial vehicle restrictions on WA State highways. Dataset includes an unique identifier.

**Parameters:**

| Parameter | Description |
| --- | --- |
| AccessCode | Your Traveler API Access Code. |


**Returns:** [CVRestrictionDataWithId](class_c_v_restriction_data_with_id.html "Represents a Commercial Vehicle Restriction, includes an unique identifier")[]


* [CVRestrictions](class_c_v_restrictions.html)
* Generated by [![doxygen](doxygen.svg)](https://www.doxygen.org/index.html) 1.9.5

