# Percels

## This retrieves all list of parcels information

> This retrieves all list of parcels information

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcelsResponse200":{"type":"object","properties":{"page":{"type":"number"},"limit":{"type":"number"},"total":{"type":"number"},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}},"required":["page","limit","total","results"]}}},"paths":{"/parcels":{"get":{"summary":"This retrieves all list of parcels information","description":"This retrieves all list of parcels information","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcelsResponse200"}}}}}}}}}
```

## POST /parcels

> <http://localhost:4000/drivers/state/{state}>

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"POSTparcelsRequest":{"type":"object","properties":{"weight":{"type":"number"},"description":{"type":"string"},"deliveryId":{"type":"number"},"destinationHubId":{"type":"number"}},"required":["weight","description","deliveryId","destinationHubId"]},"POSTparcelsResponse200":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}},"paths":{"/parcels":{"post":{"summary":"http://localhost:4000/drivers/state/{state}","tags":["Percels"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/POSTparcelsRequest"}}}},"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/POSTparcelsResponse200"}}}}}}}}}
```

## This retrieves a particular parcels information

> This retrieves a particular parcels information

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcels%7Bid%7DResponse200":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}},"paths":{"/parcels/%7Bid%7D":{"get":{"summary":"This retrieves a particular parcels information","description":"This retrieves a particular parcels information","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcels%7Bid%7DResponse200"}}}}}}}}}
```

## DELETE /parcels/%7Bid%7D

> DELETE /parcels/%7Bid%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"DELETEparcels%7Bid%7DResponse200":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}},"paths":{"/parcels/%7Bid%7D":{"delete":{"summary":"DELETE /parcels/%7Bid%7D","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DELETEparcels%7Bid%7DResponse200"}}}}}}}}}
```

## PATCH /parcels/%7Bid%7D

> PATCH /parcels/%7Bid%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PATCHparcels%7Bid%7DRequest":{"type":"object","properties":{"weight":{"type":"number"},"description":{"type":"string"},"deliveryId":{"type":"number"},"destinationHubId":{"type":"number"}},"required":["weight","description","deliveryId","destinationHubId"]},"PATCHparcels%7Bid%7DResponse200":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}},"paths":{"/parcels/%7Bid%7D":{"patch":{"summary":"PATCH /parcels/%7Bid%7D","tags":["Percels"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PATCHparcels%7Bid%7DRequest"}}}},"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PATCHparcels%7Bid%7DResponse200"}}}}}}}}}
```

## GET /parcels/description/%7Bdescription%7D

> GET /parcels/description/%7Bdescription%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcelsdescription%7Bdescription%7DResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}}},"paths":{"/parcels/description/%7Bdescription%7D":{"get":{"summary":"GET /parcels/description/%7Bdescription%7D","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcelsdescription%7Bdescription%7DResponse200"}}}}}}}}}
```

## GET /parcels/weight/min/%7Bmin%7D/max/%7Bmax%7D

> GET /parcels/weight/min/%7Bmin%7D/max/%7Bmax%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcelsweightmin%7Bmin%7Dmax%7Bmax%7DResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}}},"paths":{"/parcels/weight/min/%7Bmin%7D/max/%7Bmax%7D":{"get":{"summary":"GET /parcels/weight/min/%7Bmin%7D/max/%7Bmax%7D","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcelsweightmin%7Bmin%7Dmax%7Bmax%7DResponse200"}}}}}}}}}
```

## GET /parcels/weight/min/%7Bmin%7D

> GET /parcels/weight/min/%7Bmin%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcelsweightmin%7Bmin%7DResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}}},"paths":{"/parcels/weight/min/%7Bmin%7D":{"get":{"summary":"GET /parcels/weight/min/%7Bmin%7D","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcelsweightmin%7Bmin%7DResponse200"}}}}}}}}}
```

## GET /parcels/weight/max/%7Bmax%7D

> GET /parcels/weight/max/%7Bmax%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcelsweightmax%7Bmax%7DResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}}},"paths":{"/parcels/weight/max/%7Bmax%7D":{"get":{"summary":"GET /parcels/weight/max/%7Bmax%7D","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcelsweightmax%7Bmax%7DResponse200"}}}}}}}}}
```

## GET /parcels/delivery/%7BdeliveryId%7D

> GET /parcels/delivery/%7BdeliveryId%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcelsdelivery%7BdeliveryId%7DResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}}},"paths":{"/parcels/delivery/%7BdeliveryId%7D":{"get":{"summary":"GET /parcels/delivery/%7BdeliveryId%7D","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcelsdelivery%7BdeliveryId%7DResponse200"}}}}}}}}}
```

## GET /parcels/hub/%7BhubId%7D

> GET /parcels/hub/%7BhubId%7D

```json
{"openapi":"3.1.0","info":{"title":"Generated API Specification","version":"1.0.0"},"servers":[{"url":"http://localhost:4000","description":"API Server"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GETparcelshub%7BhubId%7DResponse200":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"weight":{"type":"number"},"description":{"type":"string"},"destinationHubId":{"type":"number"},"deliveryId":{"type":"number"}},"required":["id","weight","description","destinationHubId","deliveryId"]}}}},"paths":{"/parcels/hub/%7BhubId%7D":{"get":{"summary":"GET /parcels/hub/%7BhubId%7D","tags":["Percels"],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GETparcelshub%7BhubId%7DResponse200"}}}}}}}}}
```


---

# 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://samuel-8.gitbook.io/samuel-docs/percels.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.
