> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/b/beeline-vms.md).

# Beeline VMS

Beeline VMS is a vendor management system for contingent workers. OctoXLabs reads the workers of your Beeline client from the Worker Export API and stores them as users.

## Use cases

* List contingent workers and their locations.

```
Adapters = beeline-vms AND Location = *
```

## Before you begin

### Network

| Source              | Destination                                                                                                             | Port | Protocol |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | integrations.auth.beeline.com and edge.beeline.com (usa), integrations.eu-auth.beeline.com and edge-eu.beeline.com (eu) | 443  | HTTPS    |

### Required permissions

The source does not list specific permissions. Use an account that can read the data listed under Fields fetched.

## Create credentials in Beeline VMS

{% stepper %}
{% step %}

### Get the API client

Ask Beeline for the OAuth2 **Client ID** and **Client Secret** of the API client for your integration.
{% endstep %}

{% step %}

### Note the client name

The client name is part of the API path `/worker/{client name}/workers/export`.
{% endstep %}

{% step %}

### Choose the region

Use `usa` or `eu`, the region where your Beeline VMS client is hosted.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                     |
| ------------- | -------- | ------- | ------- | --------------------------------------------------------------- |
| Region        | Yes      | String  | usa     | `usa` or `eu`.                                                  |
| Client Name   | Yes      | String  |         | Name of the Beeline client, used in the export path.            |
| Client ID     | Yes      | String  |         | OAuth2 client ID.                                               |
| Client Secret | Yes      | String  |         | OAuth2 client secret.                                           |
| Proxy         | No       | String  |         | Proxy as `host:port`. The connector uses it for HTTP and HTTPS. |
| Timeout       | No       | Integer | 30      | Seconds to wait for API responses.                              |

## Troubleshooting

| Error message                            | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Missing or invalid authentication token. | The token response had no access\_token.                                                                                               | Check Region, Client ID and Client Secret.                                                           |
| Status Code: `, URL, Method`             | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

{% hint style="info" %}
Available starting from version 6.9.1.
{% endhint %}
