Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jormun]: Update deeplink placeholders in odt_information #4296

Merged
merged 9 commits into from
Aug 19, 2024

Conversation

kadhikari
Copy link
Contributor

@kadhikari kadhikari commented Aug 6, 2024

Predefined placeholders :

  • "departure_datetime"
  • "from_name"
  • "from_coord_lat"
  • "from_coord_lon"
  • "to_name"
  • "to_coord_lat"
  • "to_coord_lon"

Value of any placeholder present in deep-link but absent in predefined placeholders will be replaced by 'N/A'

Json example of object odt_informations:
"odt_informations": { "name": "avec_réservation", "url": "", "conditions": "Du lundi au vendredi de 9h à 18h", "phone": "00 00 00 00 00", "deeplink": "https://domaine.de.padam/search?departure-address=Petit%20Paris&destination-address=Gare%20de%20Brétigny&requested-departure-time=20240731T103600&territory=coeur_essonne&", "applies_on": [ "FROM", "TO" ] }

For more details: https://navitia.atlassian.net/browse/NAV-3240

@kadhikari kadhikari requested review from xlqian, azime, datanel, adrien3d, wassimbenaissa, stifoon and SGrenet and removed request for xlqian August 7, 2024 07:28
Copy link

sonarcloud bot commented Aug 7, 2024

@azime azime merged commit 91934ea into dev Aug 19, 2024
8 of 9 checks passed
@azime azime deleted the manage_odt_information branch August 19, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants