# 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`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://afi-labs.gitbook.io/afi-routing-engine/-LtOZ1a-Ritq-iWagVx-/pdp-endpoint/visits-fleet-output.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
