# Route4Me

> Read optimized routes, orders and the Route4Me activity feed.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/route4me

## Actions

### Get optimization

Get optimization.

**Inputs**

- Optimization problem ID (`optimization_problem_id`, text, required): Optimization problem ID.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {
    "optimization_problem_id": "example"
  }
}
```

### Get order by ID

Get order by ID.

**Inputs**

- Order ID (`order_id`, number, required): Order ID.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {}
}
```

### Get route

Get route.

**Inputs**

- Route (`route_id`, text, required): Route ID.
- Notes (`notes`, true/false): Notes.
- Original (`original`, true/false): Original.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {
    "optimization_problem_id": "example",
    "route_id": "example",
    "route_name": "example"
  }
}
```

### Get route path points

Get the recorded path points for a Route4Me route.

**Inputs**

- Route (`route_id`, text, required): Route ID.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {
    "optimization_problem_id": "example",
    "route_id": "example",
    "route_name": "example"
  }
}
```

### Get route stop

Get route stop.

**Inputs**

- Route (`route_id`, text, required): Route ID.
- Route destination ID (`route_destination_id`, number, required): Route destination ID.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {
    "address": "example",
    "route_destination_id": 1
  }
}
```

### List activities

List activities.

**Inputs**

- Route (`route_id`, text): Route ID.
- Activity type (`activity_type`, text): Activity type.
- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {
    "activities": []
  }
}
```

### List optimizations

List optimizations.

**Inputs**

- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {
    "optimizations": []
  }
}
```

### List orders

List orders.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Route4Me.

**Example output**

```json
{
  "data": {
    "results": []
  }
}
```

### List routes

List routes.

**Inputs**

- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset.

**Outputs**

- `data` (list): The response from Route4Me.

**Example output**

```json
{
  "data": []
}
```
