Skip to content

mvilchis/rp_get_location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhook

Normalize name estados, municipios

And get lat and lon base on corner

The webhook expose three directions:

  • edo: Return correct state name. Parameters:

    • nombre : State name

    /edo/?nombre=@flow.response1

  • mun: Search municipio base on state. Parameters:

    • estado: Number of state, returned it in edo query
    • nombre : Municipio name

    /mun/?estado=@contact.rp_state_number&nombre=@flow.response2

  • corner:Return lat and long base on two streets and municipio. Parameters:

    • street_a: First street
    • street_b: Second street
    • municipio: Municipio name

    /corner/?street_a=@flow.response3&street_b=@flow.response4&municipio=@contact.rp_municipio

  • country: Return correct country name. Parameters:

    • nombre : Country name
    • lng : One of [spa","eng","hol","por"]

    /country/?nombre=@flow.response1&lng=spa

Releases

No releases published

Packages

No packages published