Skip to content

Add reference data dates to response #348

@BK01

Description

@BK01

Current state:
The BC Route Planner response does not include a reference data timestamp.

Test case: Generic route request to display reference dates.
https://router.api.gov.bc.ca/directions.json?points=-123.70794%2C48.77869%2C-123.53785%2C48.38200

Proposed future state:
Add 2x new reference dates to the BC Route Planner (BCRP) response using the same ISO standard as GBA to allows for vintage comparison between BCRP and GBA.

Format example - ISO 8601 - ‘2020-01-25T08:00:01Z’

Reference date (1): Represents the date when the reference data was last refreshed. Exact element name to be discussed (e.g. dataProcessingTimestamp)
Reference date (2): The ITN vintage. The name of the element should be genericized to not include 'ITN' in case of future name change (e.g. roadNetworkTimestamp).

The 2x new date elements could be placed directly below the version element as seen in the Geocoder response.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions