File: vehicle_action.charging-start.rst

package info (click to toggle)
python-renault-api 0.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,696 kB
  • sloc: python: 7,734; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
actions/charging-start
''''''''''''''''''''''

.. rst-class:: endpoint

Base url:
   ``/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/actions/charging-start``

Sample payload:
   Start charge:

   .. code-block:: JavaScript

      {
         "data": {
            "type": "ChargingStart",
            "attributes": {"action": "start"}
         }
      }

   Stop charge:

   .. code-block:: JavaScript

      {
         "data": {
            "type": "ChargingStart",
            "attributes": {"action": "stop"}
         }
      }


   Please check the `Contributor Guide`_ to provide extra samples.