This example app demonstrates the following features:
- Get a certain customer from the agenda.
Check how to update customer data in Update Customer example, to display on the map in Add Customer example or to create an order and use it in an optimization, see the Add Full Optimization example.
When you run the example app, the customer will be returned.
- Create a
ProgressListener, avrp::Serviceand avrp::Customer. - Call the
getCustomer()method from thevrp::Serviceusing thevrp::Customerfrom 1.), the ID of the customer that you want to retrieve and theProgressListener. - Once the operation completes, the
vrp::Customerfrom 1.) will be populated.