Hi,
if your first request works, then you’re already halfway there.
What you need to change: in the openrouteservice/src/main/resources/app.config, you will have to change the openstreetmap file to the area you want to do routing in. This is probably the South American file, which you can download from e.g. http://download.geofabrik.de/
This will build the openrouteservice for the specified area. Be aware that building the whole graph for SA will need a large amount of RAM, depening on the profiles you choose. For building just the car profile, I’d recommend at least 10GB, no guarantees.
Cheers