> For the complete documentation index, see [llms.txt](https://afi-labs.gitbook.io/afi-routing-engine/-LtOZ1a-Ritq-iWagVx-/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://afi-labs.gitbook.io/afi-routing-engine/-LtOZ1a-Ritq-iWagVx-/pdp-endpoint/visits-fleet-output.md).

# Visits/Fleet/Output

The **visits** object for `/pdp-long` remains exactly the same as that for `/vrp-long`, with two exceptions. Instead of a single `location` object, each `visit` has a `pickup` and `dropoff`object containing their own `location` objects and `start`, `end` and `duration` parameters. Additionally, there is an optional `time_limit` parameter that specifies the maximum in vehicle time (in minutes) that a job can take.

{% code title="JSON" %}

```javascript
{
	"order_1": {
		"load": 1,
		"time_limit": 30,
		"pickup": {
			"location": {
				"name": "3780 Arbutus",
				"lat": 49.2474624,
				"lng": -123.1532338
			},
			"start": "08:00",
			"end": "09:00",
			"duration": 10
		},
		"dropoff": {
			"location": {
				"name": "6800 Cambie",
				"lat": 49.227107,
				"lng": -123.1163085
			},
			"start": "08:00",
			"end": "09:00",
			"duration": 10
		}
	}
}
```

{% endcode %}

The `fleet` object and `output` for `/pdp-long` remains exactly the same as that for `/vrp-long`.
