---
agentTools:
  projectIndex: https://docs.edrv.io/llms.txt
---

# /v1.1/chargestations/{id}/attach_simulator

Attach a simulator to the chargestation

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "eDRV API",
    "version": "v1.1",
    "description": "edrv.io API Documentation",
    "contact": {
      "name": "eDRV",
      "url": "https://edrv.io",
      "email": "support@edrv.io"
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "paths": {
    "/v1.1/chargestations/{id}/attach_simulator": {
      "get": {
        "operationId": "attachSimulator",
        "description": "Attach a simulator to the chargestation",
        "tags": [
          "Charge Stations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The charge station id that needs to be attached to a simulator",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a success message",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "result": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "A failure response"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "//api.edrv.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://auth.edrv.io/authorize",
            "scopes": {}
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 97,
      "1": 225,
      "2": 98,
      "3": 122,
      "4": 47,
      "5": 2,
      "6": 237,
      "7": 203,
      "8": 210,
      "9": 128,
      "10": 101,
      "11": 166
    }
  }
}
```