I want to have the example of full parameter of tour API

in the doc API is not clear. may I know how to set parameters:

ready : earliest time the location may be visited (minutes, greater than 0).
due : latest time the location must be visited (minutes, greater than 0).
before : index number of the location that is the pickup point for this location.
after : index number of the location that is the delivery point for this location.

Does this is version 2?

These are restrictions that can be set for each location individually. These are available in the API V1 too.

On the other hand, parameters are set for the route as a total, e.g. the vehicle type. These are in the API V2 only.

On the usage of restrictions, there are quite a few topics on this forum, see:
https://support.routexl.com/search?q=restrictions%20category:7