Guides
Guides

Cost

This topic documents the cost response data type supported by the On-Street Parking API resources. cost defines the following attributes:

ElementDescription
typeAlways included
Cost Type (String)
The type of parking cost can be one of the following:• NONE
• ADDITIONAL
• FLAT_RATE
• MINIMUM
• MAXIMUM
amountAlways included
Number
The parking price in the specified or local currency.
durationAlways 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.
applicableToNot always included
List of Applicable To (String)
Information on all entities that this cost adheres to. The available types are consistent with Price applicableTo.
applicableOnNot always included
List of Applicable On (String)
Information on all situations that this cost adheres to. The available types are consistent with Price applicableOn.