POST api/v1/ocpp/charger-connect
Request Information
URI Parameters
None.
Body Parameters
OcppChargerConnectRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| chargerId | string |
None. |
|
| tokenId | string |
None. |
|
| serverIpAddress | string |
None. |
|
| serverRestApiPort | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "2b1ae105-ce6a-4d31-8845-4570003b9316",
"chargerId": "sample string 2",
"tokenId": "sample string 3",
"serverIpAddress": "sample string 4",
"serverRestApiPort": 5
}
application/xml, text/xml
Sample:
<OcppChargerConnectRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <chargerId>sample string 2</chargerId> <id>2b1ae105-ce6a-4d31-8845-4570003b9316</id> <serverIpAddress>sample string 4</serverIpAddress> <serverRestApiPort>5</serverRestApiPort> <tokenId>sample string 3</tokenId> </OcppChargerConnectRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OcppStatusResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| chargerId | string |
None. |
|
| connectorId | integer |
None. |
|
| errorCode | string |
None. |
|
| status | string |
None. |
|
| info | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "dafa779b-b747-431e-8357-d6c68ce00ab1",
"chargerId": "sample string 2",
"connectorId": 3,
"errorCode": "sample string 4",
"status": "sample string 5",
"info": "sample string 6"
}
application/xml, text/xml
Sample:
<OcppStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <chargerId>sample string 2</chargerId> <connectorId>3</connectorId> <errorCode>sample string 4</errorCode> <id>dafa779b-b747-431e-8357-d6c68ce00ab1</id> <info>sample string 6</info> <status>sample string 5</status> </OcppStatusResponse>