Applicable Date

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

ElementDescription
daysAlways included
Integer
A mask representing the days of the week as an 8-bit integer, which can be one of the following values:• 1 – Sunday
• 2 – Monday
• 4 – Tuesday
• 8 – Wednesday
• 16 – Thursday
• 32 – Friday
• 64 – Saturday
You can derive combinations of days by adding the values together, for example:
• 62 (2+4+8+16+32) refers to Monday, Tuesday, Wednesday, Thursday, Friday
• 127 (1+2+4+8+16+32+64) refers to Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
<ul>
timeRangeNot always included
List of timeRanges
The time window, If both start and end elements are not in the response, then the applicable time window is valid for 24 hours.

Did this page help you?