This topic documents the
cost response data type supported by the On-Street Parking API resources.
cost defines the following attributes:
|type||Always included |
Cost Type (String)
The type of parking cost can be one of the following:
|amount||Always included |
The parking price in the specified or local currency.
|duration||Always included |
ISO-8601 Duration (String)
The maximum stay (duration) for a specific cost, according to the ISO-8601. For example, "PT2H" represents a duration of 2 hours.
|applicableTo||Not always included |
List of Applicable To (String)
Information on all entities that this cost adheres to. The available types are consistent with Price applicableTo.
|applicableOn||Not always included |
List of Applicable On (String)
Information on all situations that this cost adheres to. The available types are consistent with Price applicableOn.