POST api/v1/ocpp/authorization
Request Information
URI Parameters
None.
Body Parameters
OcppAuthorizationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| clientId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "0f737bb3-2403-4c32-b7d7-d78e0882d483",
"clientId": "b7ca6a0e-737d-450c-989c-d375899fe888"
}
application/xml, text/xml
Sample:
<OcppAuthorizationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <clientId>b7ca6a0e-737d-450c-989c-d375899fe888</clientId> <id>0f737bb3-2403-4c32-b7d7-d78e0882d483</id> </OcppAuthorizationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OcppAuthorizationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| tokenId | globally unique identifier |
None. |
|
| result | string |
None. |
|
| errorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "3a673b2c-4301-4f36-9063-6cd69268e035",
"tokenId": "e3abe5e4-6a18-49c7-bf4a-6cdfad18c40a",
"result": "sample string 3",
"errorMessage": "sample string 4"
}
application/xml, text/xml
Sample:
<OcppAuthorizationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <errorMessage>sample string 4</errorMessage> <id>3a673b2c-4301-4f36-9063-6cd69268e035</id> <result>sample string 3</result> <tokenId>e3abe5e4-6a18-49c7-bf4a-6cdfad18c40a</tokenId> </OcppAuthorizationResponse>